Hi Amhed, I meant that htmlunit-2.6-SNAPSHOT.jar appears to be a pure java package of com.gargoylesoftware.htmlunit, rather than composited, nested jars.
Spenser -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: Wednesday, 17 June 2009 5:17 PM To: Ahmed Ashour Cc: [email protected]; webtest @ gate4 . canoo . com Subject: Re: Re: [Webtest] com.gargoylesoftware.htmlunit.ScriptException Hi Amhed, There are all class files inside htmlunit-2.6-SNAPSHOT, or java source inside htmlunit-2.6-SNAPSHOT-sources, but no jars; am I downloading the right files? Regards, Spenser > Ahmed Ashour <[email protected]> wrote: > > Hi Spenser, > > Rename the .jar to .zip, extract all .jars inside the '/lib' folder, > and put them in your webtest project "/lib" folder. > > > Yours, > Ahmed---- > Blog: http://asashour.blogspot.com > > ________________________________ > From: "[email protected]" <[email protected]> > To: Ahmed Ashour <[email protected]>; "webtest @ gate4 . canoo . com" > <[email protected]> > Sent: Wednesday, June 17, 2009 9:35:33 AM > Subject: RE: [Webtest] com.gargoylesoftware.htmlunit.ScriptException > [SEC=UNCLASSIFIED] > > Previously I sent through my work email that was not what I registered > into webtest maillist, which may cause permission issue, my apologies! > > I am re-sending it again. > > Spenser > > > Spenser Kao <[email protected]> wrote: > > > > Correction: The binary htmlunit-2.6-SNAPSHOT.jar, rather than > > htmlunit-2.6-SNAPSHOT-sources.jar, should be the one to be downloaded > > and placed into right directory. > > > > Spenser > > > > ________________________________ > > From: Spenser Kao > > Sent: Wednesday, 17 June 2009 4:05 PM > > To: 'Ahmed Ashour'; [email protected] > > Cc: Spenser Kao > > Subject: RE: [Webtest] com.gargoylesoftware.htmlunit.ScriptException > > [SEC=UNCLASSIFIED] > > > > Hi Ahmed, > > > > Thanks for the clue. > > > > I just downloaded the latest htmlunit-2.6-SNAPSHOT-sources.jar from > the > > link you pointed to. > > One novice question: should I just drop it into webtest/lib? Or is > there > > something I should be aware of for the patch installation? > > > > Regards, > > > > Spenser > > > > ________________________________ > > From: Ahmed Ashour [mailto:[email protected]] > > Sent: Wednesday, 17 June 2009 12:12 AM > > To: [email protected]; Spenser Kao > > Subject: Re: [Webtest] com.gargoylesoftware.htmlunit.ScriptException > > > > Hi Spenser, > > > > Actually, Marc has fixed this yesterday in latest 2.6 snapshot, you > get > > it it from http://build.canoo.com/htmlunit/artifacts > > > > Yours, > > Ahmed > > ---- > > Blog: http://asashour.blogspot.com > > ________________________________ > > From: Spenser Kao <[email protected]> > > To: [email protected] > > Sent: Tuesday, June 16, 2009 3:33:09 PM > > Subject: [Webtest] com.gargoylesoftware.htmlunit.ScriptException > > > > Hi WebTest Gurus, > > > > I regarded myself as an experienced ANT / JUnit / XMLUnit user, but I > > found I am struggling with WebTest. > > > > Since a week ago, I've started playing with WebTest latest build 1766 > > and 3.0. When I executed a simple googleWebTest.xml as shown below: > > <invoke url="http://www.google.com/ncr" description="Go to Google (in > > English)"/> > > <verifyTitle text="Google" /> > > <setInputField name="q" value="WebTest" /> > > <clickButton label="I'm Feeling Lucky" /> > > <verifyTitle text="Canoo WebTest" /> > > > > Pointed to location of the very first "Invoke" step, I immediate > > received following error message > > JavaScript error loading page http://www.google.com/: Wrapped > > com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find > > function inRange in object [object]. > > > > By looking into the maillist, a similar error has been reported around > > April this year, some suggested using HtmlUnit-2.5, does it work? If > > yes, where do I download HtmlUnit-2.5? > > > > Best Regards, > > > > Spenser Kao > > > > > > _______________________________________________ > > WebTest mailing list > > [email protected]<mailto:[email protected]> > > http://lists.canoo.com/mailman/listinfo/webtest > > > > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

