I want to invoke a modal dialog window and navigate through its buttons, radio buttons, and lists. I am using watir 1.5.1081. The object that launches it is described as follows:

 

Active Element: [TD], Frame: [fraBanner], Index: [29]

 <TD>

 <IMG height=30 src="" width=69>

 <IMG height=30 src="" width=97></TD>

 

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?

 

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

 

Dave

 

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

Reply via email to