Can't you start two start clickers at once? Will they both try to access the first pop up and if found close it?
So what i am suggesting is this: ff.startClicker("ok") $ff.startClicker("ok") $ff.image(:name, /elete/).click Wont this work Angrez? I had a similar situation for IE, and i used the Auto IT script to handle popup by calling them in separate threads but both invoked at the same time. -- Pallavi. On Mon, Nov 16, 2009 at 3:17 PM, Angrez Singh <ang...@gmail.com> wrote: > It would be bit tricky to handle the second pop up. I'll try here at my end > and if possible will come up with some solution, but as of now it might not > be possible. > > Thanks, > Angrez > > > On Mon, Nov 16, 2009 at 1:14 PM, Shlomit Gazit > <shlomitpatr...@gmail.com>wrote: > >> >> Anybody?? >> >> On Nov 13, 4:43 pm, Shlomit Gazit <shlomitpatr...@gmail.com> wrote: >> > Hello, >> > >> > I am trying to handlepopupswithfirewatir. >> > My scenario is clicking on delete button, a popup confirmation will >> > open and I should click "ok". After that a second popup will open and >> > I should write the reason and click "ok". >> > >> > So far I was able to click on the delete button and the second popup >> > will appear but not closed (the first popup is not appearing, but I >> > assume it is by design). >> > >> > How can I close the second popup? >> > >> > Myfirewatircode is: >> > >> > $ff.startClicker("ok") >> > $ff.image(:name, /elete/).click >> > $ff.startClicker("ok") >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---