Go to the page with 'Yes' button.
Click 'View > Source' in IE.

If you can find something like this: <input type="submit" value="Yes" > 
then this will click it: ie.button(:value,'Yes').click

If your button is JavaScript pop up, then go here for help:
http://rubyforge.org/pipermail/wtr-general/2005-May/001676.html

Zeljko
________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dmytro
Sent: Sunday, July 31, 2005 7:30 AM
To: [email protected]
Subject: [Wtr-general] press 'Yes' using Watir


Does any one know how to press 'Yes' button on the window using Watir 1.3?

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to