[wtr-general] Re: Undefined method 'javascript_dialog' using Watir 4.0.2/Ruby 1.9.3

2013-01-18 Thread Jarmo Pertman
As Dan mentioned - use the JavaScript dialogs API. Use the #alert method (http://rubydoc.info/github/watir/watir-classic/Watir/Container:alert) and then appropriate Alert (http://rubydoc.info/github/watir/watir-classic/Watir/Alert) methods. Jarmo Pertman - IT does really matter -

[wtr-general] Re: Undefined method 'javascript_dialog' using Watir 4.0.2/Ruby 1.9.3

2013-01-18 Thread captin
Thank you gents. The Watir::Alert objects are exactly what I needed. Only downside is that I have to switch to watir-classic from the standard watir, since I'm testing primarily in IE. So far there aren't any side effects. *fingers crossed* And thanks for your continued help. This is one of

[wtr-general] Re: Undefined method 'javascript_dialog' using Watir 4.0.2/Ruby 1.9.3

2013-01-17 Thread Dan
There's a better way to do it now. Check this out: http://watirwebdriver.com/javascript-dialogs/ On Thursday, January 17, 2013 5:54:10 PM UTC-5, captin wrote: I've searched all over this user group and the web and can't find an answer to my issue. I'm attempting to use the