Hi Al,

I am using below code in my scripts. My script  has so many sendkey
operations. So i am using "bring_to_front" function to activate the
application. But its not working and it doesn't throw any error. So
please give me any other options are available in Watir like  WSH's
"AppActivate" .


    @ie = Watir::IE.new
    @ie.goto $url
    @ie.maximize
    @ie.bring_to_front

    @ie.text_field(:id,"txtUserName").set user_id
    @ie.text_field(:id,"txtPassword").set password
    @ie.button(:id,"btnSubmit").click

Thanks,

Prince3105
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to