[Webtest] TypeError: Cannot find function iterateNext (R1649)
Robert Bodziony
Robert Bodziony" <robert.bodziony@gmail.com
Tue, 15 Jan 2008 15:22:11 +0100
------=_Part_14633_18053335.1200406931100
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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>
------=_Part_14633_18053335.1200406931100
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
hi <br> ive got problem with latests build (1649) :(<br><br>here is what i see as error for Firefox:... <br>JavaScript error loading page
<a href="http://www-xray.ast.cam.ac.uk/~jgraham/mozilla/xpath-tutorial.html">http://www-xray.ast.cam.ac.uk/~jgraham/mozilla/xpath-tutorial.html</a>:
TypeError: Cannot find function iterateNext. (script in
<a href="http://www-xray.ast.cam.ac.uk/~jgraham/mozilla/xpath-tutorial.html">http://www-xray.ast.cam.ac.uk/~jgraham/mozilla/xpath-tutorial.html</a> from
(14, 34) to (0, 0)#17)<br>....<br>"<br> For IE ive got other error<br> I've attached sample demo to catch this issue<br> Regards,<br> Ronbert<br><br><br><project name="demo.IterateNext" default="test">
<br><br> <import file="../definitions.xml" /><br><br> <target name="test" depends="wt.defineMacros"><br><br> <webtest name="check IterateNext - firefox">
<br> <config><br> <header name="User-Agent" value="Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:<a href="http://1.8.1.3">1.8.1.3</a>) Gecko/20070309 Firefox/2.0.0.3"/>
<br> </config><br> <invoke url="<a href="http://www-xray.ast.cam.ac.uk/~jgraham/mozilla/xpath-tutorial.html">http://www-xray.ast.cam.ac.uk/~jgraham/mozilla/xpath-tutorial.html</a>" />
<br> <sleep seconds="10"/><br> <clickButton xpath="//form[1]/button"/><br> <sleep seconds="10"/><br> </webtest><br> <webtest name="check IterateNext - ie">
<br> <config><br> <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;
<a href="http://bsalsa.com">http://bsalsa.com</a>) ; .NET CLR 1.1.4322; .NET CLR 2.0.50727; FDM)" /><br> </config><br> <invoke url="<a href="http://www-xray.ast.cam.ac.uk/~jgraham/mozilla/xpath-tutorial.html">
http://www-xray.ast.cam.ac.uk/~jgraham/mozilla/xpath-tutorial.html</a>" /><br> <sleep seconds="10"/><br> <clickButton xpath="//form[1]/button"/><br> <sleep seconds="10"/>
<br> </webtest><br><br><br><br><br> </target><br></project><br>
------=_Part_14633_18053335.1200406931100--