The button "B1" does not open a modal dialog. That is a _javascript_
alert box. For those, you need WinClicker.
Lonny Eachus
==========
Hi
I still can't get this to work.
If I run the following code, Ruby returns the error message 'Unable to
attach to Modal Window nil after 10.5 seconds'
Watir::IE::attach_timeout = 10
ie = Watir::IE::new
ie.goto("http://www.echoecho.com/_javascript_4.htm")
ie.button(:name, "B1").click_no_wait
modal = ie.modal_dialog
What am I doing wrong?
Thanks
|
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general