We have a pretty large section on popups on the wiki:

http://wiki.openqa.org/display/WTR/Pop+Ups

Lots of different types of popups are addressed.

Hope this helps!

-Tiffany

On Nov 24, 10:33 am, xguarder <shams...@gmail.com> wrote:
> Thanks for the reply. I actually reinstalled 186-26, and now the
> click_no_wait method is working now.
> What are some of the common variations on popup implementations
> though?
>
> On Nov 24, 12:19 pm, Tiffany Fodor <tcfo...@comcast.net> wrote:
>
> > Hi!
>
> > There are many different solutions because there are many different
> > implementations of popups.  Unfortunately, there is no sure-fire way
> > to deal with them.  I would suggest working with the developer to
> > learn more about how the popup you're dealing with was implemented.
> > This will help you pick the best solution.  If that's not possible,
> > fire up an irb session and try the various solutions we've posted
> > until you find the one that works for you.
>
> > I'm not sure why click_no_wait is undefined for you - can you post
> > your code to help us troubleshoot?
>
> > -Tiffany
>
> > On Nov 24, 9:19 am, xguarder <shams...@gmail.com> wrote:
>
> > > Hello, I have scoured various sources online for all the ways people
> > > have come up with for handling popups (using Watir on IE7).
>
> > > Many of these solutions involve the click_no_wait method, which is
> > > supposedly functional if you have Ruby 186-26, which I do. However,
> > > that method comes up as undefined anytime I try it.
>
> > > All I am trying to do is to delete an item (by clicking on an image
> > > link), then a popup asking "are you sure?" appears, with "OK" and
> > > "Cancel" buttons.
>
> > > Is there an absolute surefire way of being able to just click OK?
>
> > > Unfortunately, all the info I have tried from different sources online
> > > have me just running in circles now.
>
> > > Thanks in advance!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to