I am clicking on an image using

require 'watir'
include Watir

ie=Watir::IE.start("c:\test.htm")

ie.image(:id,'3').click

When the image is clicked it opens a javascript input box asking to enter some 
value, and click on either OK or Cancel button.

I am unable to enter value in it also not able to click on either of the 
button, this stops my code, I have to enter value in the input box manually 
then click on either of the button.

Please help me how to enter value in the javascript input box and then click on 
either of the button.

Thanks


                
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to