Hi Angrez, What I'm seeing is the pop dialog, which is a download dialog is not clicked on i.e. it is not dismisses.
If I understand the code correctly you say what you want to happen to the dialog first and then click on the link which popups the dialog and then your first action happens, correct? I different I see is in the example the JavaScript dialog box come down out of the browser and the popup handler works. My dialog is free floating modal dialog. Any suggestions? Thanks. Brad On Sep 25, 1:24 am, Angrez Singh <ang...@gmail.com> wrote: > What behaviour are you seeing? As per the pop up handling in Firewatir. Pop > up will not show but whatever action you have written for OK or CANCEL > button will happen. > > Thanks, > Angrez > > On Thu, Sep 24, 2009 at 8:48 PM, Brad <bradask...@gmail.com> wrote: > > > I saw another thread about handling popups in FireWatir, but I didn't > > see a resolution. > > > Please see the dialog box I'm trying to handle > >http://sites.google.com/site/watirattachments/ > > > because if this is suppose to work...it isn't > > > @browser.startClicker("Cancel") > > @browser.button(:caption, "Agree and Download").click > > > I looked at the unittests and see that it works for the second image > > on this page > >http://sites.google.com/site/watirattachments/ > > > Thanks for any help. > > > Brad --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---