JavaScript error testing ICEfaces application
---------------------------------------------
Key: WT-544
URL:
http://webtest-community.canoo.com/jira/browse/WT-544 Project: WebTest
Type: Bug
Versions: 3.0
Environment: ICEfaces 1.8.2, WebTest 3.0
Reporter: Kennard Consulting
Hi guys.
First, thanks for a great product in WebTest. It has really helped me thoroughly test my applications!
I get the following error when trying to WebTest my ICEfaces application...
net.sourceforge.htmlunit.corejs.javascript.JavaScriptException: TypeError: Cannot read property "length" from undefined (
http://localhost:8080/penguincolony-faces/xmlhttp/1256079339140/icefaces-d2d.js#4)
I have a small reproducible test case for this. Please download the Metawidget source distribution from
http://metawidget.org. In its 'test/build.xml' Ant script, run the target 'test-faces-penguincolony'. The test should pass, but only because there is a small hack in the WebTest script.
If you go into the WebTest script and remove the hack, that is the 4 lines:
<!-- Begin hack until WebTest JavaScript support improves -->
<clickButton label="Back"/>
<clickLink xpath="/html/body/div[@id='content']/form/table/tbody/tr[2]/td[3]/a"/>
<!-- End hack until WebTest JavaScript support improves -->
...then you should see the error I am referring to.
Regards,
Richard.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://webtest-community.canoo.com/jira/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira_______________________________________________
WebTest mailing list
WebTest@...
http://lists.canoo.com/mailman/listinfo/webtest