Hi Bret Is there a way in watir I can fetch the warning message which appears in the status bar of IE during a JS error?
Can that be a solution for this issue? Please let me know. Thanks Pallavi. On Mon, Oct 12, 2009 at 8:45 AM, Bret Pettichord <[email protected]>wrote: > > 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 [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 -~----------~----~----~----~------~----~------~--~---
