[wtr-general] Re: IE7 Popup handling

2009-03-02 Thread Abhishek Kulkarni
h. Something is wrong I did not receive any error but unable to click OK button. I am doing it in the following way ... My.rb - require 'win32/process' require 'watir' ie=Watir::IE.new link = ie.goto(link) @pid = Process.create( :app_na

[wtr-general] Re: IE7 Popup handling

2009-03-02 Thread kiran yajamanyam
Yes u can run this script in Ruby. Let me know if you face any issue while executing this code. Regards, Krian Y On Mon, Mar 2, 2009 at 4:40 PM, Abhishek Kulkarni < kulkarni.abhishe...@gmail.com> wrote: > Hi Kiran, > > Thanks for your quick response. > > I want to handle this Pop up using Watir

[wtr-general] Re: IE7 Popup handling

2009-03-02 Thread Abhishek Kulkarni
Hi Kiran, Thanks for your quick response. I want to handle this Pop up using Watir only. Can I run this script in Ruby? Thanks Abhishek On Mon, Mar 2, 2009 at 3:51 PM, kiran yajamanyam wrote: > > Hi Abhishek, > > Please try this below piece of code. Need to install Autoit software. > > def che

[wtr-general] Re: IE7 Popup handling

2009-03-02 Thread kiran yajamanyam
Hi Abhishek, Please try this below piece of code. Need to install Autoit software. def check_for_popups autoit = WIN32OLE.new('AutoItX3.Control') autoit.Opt("WinTitleMatchMode", 3) puts "Launched the global pop-up handler" loop do # Look for window with given title. Give up