
|
If you were logged in you would be able to see more operations.
|
|
WebTest
Created: 10/Aug/05 20:07:07
Updated: 11/Aug/05 15:12:27
|
|
| Affects Version/s: |
1.6
|
| Fix Version/s: |
None
|
|
|
Environment:
|
build574, Ant 1.6.5, JDK 1.4.2, OS X
|
|
When testing my Struts application with client-side validation enabled, I get the following error:
Exception raised: com.canoo.webtest.engine.StepExecutionException: Unexpected exception caught: com.gargoylesoftware.htmlunit.ScriptException: getAttributeNode is not a function., Step: ClickButton at /Users/mraible/Work/appfuse/test/web/web-tests.xml:178: with (label="Signup", stepId="<unknown>", stepType="clickbutton")com.canoo.webtest.engine.StepExecutionException: Unexpected exception caught: com.gargoylesoftware.htmlunit.ScriptException: getAttributeNode is not a function., Step: ClickButton at /Users/mraible/Work/appfuse/test/web/web-tests.xml:178: with (label="Signup", stepId="<unknown>", stepType="clickbutton")
at com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:399)
at com.canoo.webtest.steps.request.Target.protectedGoto(Target.java:110)
at com.canoo.webtest.steps.request.ClickButton.gotoTarget(ClickButton.java:236)
But getAttributeNode() seems to be a valid function:
http://www.mozilla.org/docs/dom/domref/dom_el_ref40.html
|
You should open the issue by htmlunit.
I don't know if we should keep this issue for webtest opened as long as it is not fixed in htmlunit and the new jar is provided or close it as invalid because it concerns htmlunit.
The version you used is too old: this is fixed in current version.
|
|