[wtr-general] Re: how to handle javascript popups problem with firewatir

2008-12-18 Thread Wilson Xu

You can use autoITx lib to handle Javascript pop-up window in the
Firefox.

On Nov 29, 8:10 am, Paul Rogers paul.rog...@shaw.ca wrote:
 ;-)

 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 mcnu...@gmail.com wrote:

  On Nov 26, 6:42 pm, Dave McNulla mcnu...@gmail.com wrote:
   On Nov 26, 1:00 am, Jarod Zhu zhujie2003i...@gmail.com 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 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
-~--~~~~--~~--~--~---



[wtr-general] Re: how to handle javascript popups problem with firewatir

2008-11-28 Thread Dave McNulla


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 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: how to handle javascript popups problem with firewatir

2008-11-28 Thread Paul Rogers
;-)

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 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: how to handle javascript popups problem with firewatir

2008-11-26 Thread Dave McNulla



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
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---