[Webtest] Upgrade to htmlunit 2.2
Soula, William" <email@example.com
Mon, 18 Aug 2008 10:30:19 -0500
Content-Type: text/plain; charset="us-ascii"
I have attached an example that I think demonstrates this, the page is kind=
a large, sorry. I tried to attach the js files but they are too large. I =
will send the one that is failing in 2.2 in a follow up email. Using the a=
ttached file if you invoke the page and click the Save button you get the f=
nyTest.html: Wrapped java.io.FileNotFoundException: \administration\applica=
tionConfig.do (The system cannot find the path specified) (script in file:/=
WebTest Head/tests/companyTest.html from (443, 34) to (0, 0)#459)
nyTest.html: TypeError: Cannot set property "returnValue" of null to "true"=
pm-03/administration/applicationConfig.do: TypeError: Cannot set property "=
returnValue" of null to "true" (http://qa-opm-03/js/validations.js#925)
So the errors with htmlunit 2.2 are similar when using the server versus lo=
cally, but are drastically different than 2.1, as 2.1 succeeds on the serve=
r and fails locally because I don't have the redirected to page locally.
Does this help to find the problem in HtmlUnit-2.2?
P.S. FYI here is the code I was using:
<invoke url=3D"/WebTest Head/tests/companyTest.html"/> <clickButton label=
Content-Type: text/html; name="test.html"
Content-Disposition: attachment; filename="test.html"; size=507;
creation-date="Wed, 30 Apr 2008 10:37:48 GMT";
modification-date="Fri, 15 Aug 2008 12:41:01 GMT"