;-)
we did talk about it a little bit. Heres some suggestions:
overwrite the javascript alert method, so it displays a 'modal' div in a
light box, like google calendars. ( selenium does something like this)
get your web designers/developers to stop using alerts - they are a really
unpleasant user experience
Paul
On Fri, Nov 28, 2008 at 7:48 AM, Dave McNulla <[EMAIL PROTECTED]> wrote:
>
>
> On Nov 26, 6:42 pm, Dave McNulla <[EMAIL PROTECTED]> wrote:
> > On Nov 26, 1:00 am, Jarod Zhu <[EMAIL PROTECTED]> wrote:
> >
> > > I am using firewatir-1.6.2 to make a web automation tool in my
> > > project.
> > > I come to the problem that I can't click the javascript popup "OK"
> > > button successfully.
> >
> > > I use the code like this:
> > >
> ***************************************************************************
> ***********
> > > browser.startClicker('ok', 20)
> > > browser.button(:id, 'confirm').click # pop the javascript window
> > >
> ***************************************************************************
> ***********
> > > Actually, the code above make the javascript popup nerver appear, but
> > > the popup "OK" button is not clicked. So it just make the the
> > > javascript popup disabled.
> >
> > > Anyone here know how to handle javascript popups with
> >
> > The general answer is don't use the javascript popups.
> >
> > I'd like to hear Paul Rodgers discuss alternatives to them in the
> > podcast on Friday.
> >
> > Thanks in advance
> > Dave
>
> oops. I meant Paul Rogers, the one that isn't in 'bad company'.
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---