Hello,
I am using the R_1709 build and I have a very short test which fails using
webtest, but it never fails in any of the browsers I could possibly try:
<invoke description="invoke login page"
url="http://www.leapfile.com" />
<clickLink label="Account Login" />
<setInputField name="userID" value="[EMAIL PROTECTED]" />
<setInputField name="password" value="pokus10062008101117" />
<clickButton label="Login" />
<retry maxcount="30">
<sleep description="it is typically wise to include a sleep"
seconds="1"/>
<verifyText description="textual verification" text="New
Transfer" />
</retry>
<clickLink label="New Transfer"/>
<setInputField name="contactList" value="[EMAIL PROTECTED]"/>
<clickButton
xpath="//html//body//div[1]//table[2]//tr//td//table//tr[3]//td[2]//input"/>
The faikure is reported as this:
JavaScript error loading page
https://exchange.leapfile.com/fts/app/send5/Start.jsp: TypeError: Cannot
set property "value" of undefined to "saveAsDraft" (script in
https://exchange.leapfile.com/fts/app/send5/Start.jsp from (63, 54) to (0,
0)#376)
Could please someone advice how to handle this situation? (I cannot modify
the code at the moment) .. is there still any way how webtest could handle
this knowing that all the recent browsers (IE6,IE7,FF2,Opera) do not even
report a javascript issue and the page works fine ...?
Many thanks,
--
Karel Soupal
http://www.ework.cz
Software Testing Services and Solutions
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest