Hello!

I'm trying to create a WebTest script that clicks on a "Sign In" button that
uses "onClick".  Here's the code for that button:
# 

I've tried to use clickElement but the expected page does not load and I get
an error that says: "Wrong document title found!" since the subsequent
"verifyTitle" check fails.  Here's my code:
<clickElement description="click the Sign In button" 
        xpath="//a[contains(@onclick, 'document.logon.submit')]"/> 
<verifyTitle text="Shopping Cart"/>

WebTest reports that the element is clicked but the expected page fails on
my check. What am I doing wrong?

Thanks for your help!

Brau.
-- 
View this message in context: 
http://www.nabble.com/Cannot-click-on-a-button-using-clickElement-tp20924082p20924082.html
Sent from the WebTest mailing list archive at Nabble.com.

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to