[ http://webtest-community.canoo.com/jira/browse/WT-377?page=all ]
     
Marc Guillemot closed WT-377:
-----------------------------

    Fix Version: Future versions
     Resolution: Fixed
      Assign To: Marc Guillemot

iterateNext is now implemented since some time in HtmlUnit.

> JavaScript  error ...TypeError: Cannot find function iterateNext
> ----------------------------------------------------------------
>
>          Key: WT-377
>          URL: http://webtest-community.canoo.com/jira/browse/WT-377
>      Project: WebTest
>         Type: Bug

>     Reporter: Robert Bodziony
>     Assignee: Marc Guillemot
>      Fix For: Future versions

>
> hi
>  ive got problem with latests build (1649) :(
> here is what i see as error for Firefox:...
> JavaScript error loading page 
> http://www-xray.ast.cam.ac.uk/~jgraham/mozilla/xpath-tutorial.html: 
> TypeError: Cannot find function iterateNext. (script in 
> http://www-xray.ast.cam.ac.uk/~jgraham/mozilla/xpath-tutorial.html from (14, 
> 34) to (0, 0)#17)
> ....
> "
>  For IE ive got other error
>  I've attached sample demo to catch this issue
>  Regards,
>  Ronbert
> <project name="demo.IterateNext" default="test">
>     <import file="../definitions.xml" />
>     <target name="test" depends="wt.defineMacros">
>         <webtest name="check IterateNext - firefox">
>             <config>
>                 <header name="User-Agent" value="Mozilla/5.0 (Windows; U; 
> Windows NT 5.1; pl; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3"/>
>             </config>
>             <invoke 
> url="http://www-xray.ast.cam.ac.uk/~jgraham/mozilla/xpath-tutorial.html"; />
>             <sleep seconds="10"/>
>             <clickButton xpath="//form[1]/button"/>
>             <sleep seconds="10"/>
>         </webtest>
>         <webtest name="check IterateNext - ie">
>             <config>
>                 <header name="User-Agent" value="Mozilla/4.0 (compatible; 
> MSIE 6.0; Windows NT 5.1; SV1; User-agent: Mozilla/4.0 (compatible; MSIE 6.0; 
> Windows NT 5.1; SV1; http://bsalsa.com) ; .NET CLR 1.1.4322; .NET CLR 
> 2.0.50727; FDM)" />
>             </config>
>             <invoke url=" 
> http://www-xray.ast.cam.ac.uk/~jgraham/mozilla/xpath-tutorial.html"; />
>             <sleep seconds="10"/>
>             <clickButton xpath="//form[1]/button"/>
>             <sleep seconds="10"/>
>         </webtest>
>     </target>
> </project>

-- 
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
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to