[Webtest] [webtest][JIRA] Created: (WT-77) getAttributeNode is not supported

Matt Raible (JIRA) webtest@lists.canoo.com
Wed, 10 Aug 2005 20:08:24 +0200 (CEST)


getAttributeNode is not supported
---------------------------------

         Key: WT-77
         URL: http://webtest-community.canoo.com/jira/browse/WT-77
     Project: WebTest
        Type: Bug
    Versions: 1.6    
 Environment: build574, Ant 1.6.5, JDK 1.4.2, OS X
    Reporter: Matt Raible


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

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira