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
WebTest@...
http://lists.canoo.com/mailman/listinfo/webtest