[wtr-general] Re: Capturing Java Script Errors

2009-10-11 Thread Bret Pettichord

Marlon MxM wrote:
 have you tried the solutions listed here 
 http://wiki.openqa.org/display/WTR/Pop+Ups?
Mostly that consists of variations on using AutoIt.

I'm looking for more creative approaches.

E.g. as regards this dialog:
http://wiki.openqa.org/display/WTR/Security+Information

I got rid of this simply by changing the security setting of the browser 
(manually) to stop displaying this window.

I know that there must be some hook that is available to trap the 
javascript errors. If you have Visual Studio installed, instead of 
getting this dialog, the visual studio debugger is started up. So there 
is a hook there.

I was thinking it would be cool to hook in our own code to that hook, 
and was wondering if any one had already done this.

Bret

-- 
Bret Pettichord
Lead Developer, Watir, www.watir.com
Blog, www.io.com/~wazmo/blog
Twitter, www.twitter.com/bpettichord


--~--~-~--~~~---~--~~
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: Summary wiki page

2009-10-11 Thread Alister Scott

 Also, I _really_ like the fact that now I can link to specific
 page when answering questions at watir-general.

We can achieve the same effect with anchors.

Cheers,
Alister
--~--~-~--~~~---~--~~
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: Difference b/w Click_no_wait and .Click!

2009-10-11 Thread Pallavi Sharma
Hi
We have installed ruby 1.86-26 only, but whats exactly difference between
these two methods?

Please let me know.

On Fri, Oct 9, 2009 at 8:56 PM, Charley Baker charley.ba...@gmail.comwrote:

 The one major reason that click! would work and not click_no_wait is if
 you've installed from the ruby one click installer 1.8.6.27 rc2. Try the
 previous version 1.8.6.26.

 -c


 On Thu, Oct 8, 2009 at 11:06 PM, Pallavi Sharma 
 write2pall...@gmail.comwrote:

 Hi

 Can anyone here tell me what are the differences between Click! and
 click_no_wait for both watir and firewatir


 I have a scenario in which click_no_wait is failing but .click! is
 working?

 What could be the reason?

 Can i use safely .click! instead of click_no_wait even for pop ups??


 Thanks

 Pallavi.




 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---