David Munns wrote: > > Based on what I see in the watir unit tests, I have tried: > > ie.modal_dialog( :title, /Modal Dialog Partial Title/ ) => result is a > watir timeout, even when I set timeout value at 60s > > It appears that the window is never found this way. Any suggestions? > ie.modal_dialog() > > Once the modal dialog window is launched, if I want to click the “OK” > button, is this the correct way? > > ie.button( :value, “OK” ).click >
No. This: ie.modal_dialog.button(:value, 'OK').click Bret _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general