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
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
kiranyajaman...@gmail.comwrote:
Hi Abhishek,
Please try this below piece of code. Need to install Autoit
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 = Specified-URL
ie.goto(link)
@pid = Process.create(