HI Bill,

Thanks for your quick and long reply.
As you suggested, I used Autoit. Send() method to fulfill my purpose
and now I am able to handle popups in all browsers using Autiit.
I have designed my framework in such a way that, one script would work
for all the browsers. I am trying to avoid so many if-else comparisons
and separate code snippets for different browsers. Obviously my target
is optimized code. If I use startClicker() I need to call it before
the popup occurred in the application and every time i need to take
care about it in my business script separately if i want work with
firefox. So startClicker doest not serve my purpose. Please let me
know your comments. - Thanks!


On Jul 18, 5:35 am, Bill Agee <billa...@gmail.com> wrote:
> I just realized after checking the FireWatir 1.6.2 source that the
> startClicker method is probably the easiest way to do what you need to
> do...do you have some more detail about why startClicker was not working in
> your situation?  It might be possible to make it work...
> Thanks
> Bill
> On Fri, Jul 17, 2009 at 11:13 AM, sHiVa <krapa.ph...@gmail.com> wrote:
> > Hi
> > I am trying to write a single function to handle popups in all
> > browsers. My idea is identify popup windows using its titles. I used
> > Autoit for achieving this but failed to handle popups in firefox. I am
> > unable to identify popups using title property.
> > As angrez said i tried to use startClicker method but this method
> > required to call before clicking a button. using startClicker does not
> > serve my purpose.
> > I am using the following code for handling a popup in google
> > preference page from firefox browser.:
> > require 'win32ole'
> > begin
> >  autoit = WIN32OLE.new('AutoItX3.Control')
> >  loop do
> >   autoit.ControlClick('The page athttp://www.google.co.insays:','',
> > '&OK')
> >   sleep(5)
> >  end
> > rescue Exception => e
> >  puts e
> > end
> > Please guide me how to identify popups using autoit in firefox.
> > Thanks in advance
> > Regards
> > Siva- Hide quoted text -
> - Show quoted text -
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to