It works :)

Thanks for the help


Jassi Akkal

--- [EMAIL PROTECTED] wrote:

> 
> 
> 
> 
> 
> Here is how we handle this type of situation.
> 
>       Access the pop up:
>             @ie.link(:text, "Your Text").click
>       Attaches the Pop UP
>             sleep 10
>             ie2 = IE.attach(:title, "Your Pop Up
> Title")
>       Toggles radio button
>             ie2.radio(:id, "Your Radio button
> ID").set
>       Closes the Pop Up
>             ie2.image(:src ,
> /ps_save_button.gif/).click
> 
> Good luck!
> 
> Carl
> 
> 
> Carl L. Shaulis
> Convergys - Senior Analyst
> 
> 
> 
> 
> 
> 
>                                                     
>                       
>              Jassi Akkal                            
>                       
>              <[EMAIL PROTECTED]                      
>                       
>              m>                                     
>                    To 
>              Sent by:                 
> [email protected]           
>              wtr-general-bounc                      
>                    cc 
>              [EMAIL PROTECTED]                       
>                       
>                                                     
>               Subject 
>                                        [Wtr-general]
> popup issue           
>              05/18/2006 07:35                       
>                       
>              PM                                     
>                       
>                                                     
>                       
>                                                     
>                       
>              Please respond to                      
>                       
>              [EMAIL PROTECTED]                      
>                       
>                  orge.org                           
>                       
>                                                     
>                       
>                                                     
>                       
> 
> 
> 
> 
> 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
> 
> 
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
> 


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