Hi,

I am testing web based application using watir where
when i select on the button it opens popup windows.

I am using attach method that allows me to access the
control on new window.
Once I am at the popup window i want to select the
radio button.

My code is

1e.image(:id, "btnCreateContract").click
ie.image(:id, "btnChooser").click

test_site2 = Watir::IE.attach(:url, 'http://abc.com')

i have assigned new window to variable(test_site2)
where i think i can be wrong.

Please help to define the new window and how i can
read the radio button once i am at the new window

Thanks

Jassi Akkal

jassi akkal
[EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to