[wtr-general] Re: Watir - Problem with pop up in IE9
It seems to be some different popup when you read the texts. I'm suspecting that in IE9 this is not a regular JavaScript confirm popup. Jarmo Pertman - IT does really matter - http://itreallymatters.net On Thursday, October 11, 2012 5:31:11 AM UTC+3, Paul wrote: https://lh4.googleusercontent.com/-MTUdBOfenBs/UHYvWQx8_CI/AAc/kI-LT-cE9PQ/s1600/IMG_11102012_151226.png For some reason my images of the popups did not save, attaching instead. On Thursday, 11 October 2012 15:26:08 UTC+13, Paul wrote: Hi, we have this popup in IE 8 and browser.alert.ok will work well. In IE9 the popup has changed to this: browser.alert.exists? true browser.alert.close - minimises the popup browser.alert.ok - nothing I have tried some suggestions from the web like overriding the javascript, sending keystrokes ('l' as in alt + l) and various other things. Does anyone have a solution? I am using ruby 1.9.2 and watir-classic 3.2.0. I don't want to move to webdriver as it does not have attach(). Regards -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: Watir - Problem with pop up in IE9
I use rautomation and it works fine for the popup with the same title. I am on Ruby 1.9.2 and watir-classic 3.2.2 and IE9 too. webpage_popup_title=Message from webpage popup= RAutomation::Window.new(:title = webpage_popup_title, :adapter = :autoit) popup.WinWait(webpage_popup_title,'',20) if (popup.exists? ==true) popup.send_keys('{ENTER}') end On Thursday, October 11, 2012 6:58:44 AM UTC-4, Jarmo Pertman wrote: It seems to be some different popup when you read the texts. I'm suspecting that in IE9 this is not a regular JavaScript confirm popup. Jarmo Pertman - IT does really matter - http://itreallymatters.net On Thursday, October 11, 2012 5:31:11 AM UTC+3, Paul wrote: https://lh4.googleusercontent.com/-MTUdBOfenBs/UHYvWQx8_CI/AAc/kI-LT-cE9PQ/s1600/IMG_11102012_151226.png For some reason my images of the popups did not save, attaching instead. On Thursday, 11 October 2012 15:26:08 UTC+13, Paul wrote: Hi, we have this popup in IE 8 and browser.alert.ok will work well. In IE9 the popup has changed to this: browser.alert.exists? true browser.alert.close - minimises the popup browser.alert.ok - nothing I have tried some suggestions from the web like overriding the javascript, sending keystrokes ('l' as in alt + l) and various other things. Does anyone have a solution? I am using ruby 1.9.2 and watir-classic 3.2.0. I don't want to move to webdriver as it does not have attach(). Regards -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: Watir - Problem with pop up in IE9
https://lh4.googleusercontent.com/-MTUdBOfenBs/UHYvWQx8_CI/AAc/kI-LT-cE9PQ/s1600/IMG_11102012_151226.png For some reason my images of the popups did not save, attaching instead. On Thursday, 11 October 2012 15:26:08 UTC+13, Paul wrote: Hi, we have this popup in IE 8 and browser.alert.ok will work well. In IE9 the popup has changed to this: browser.alert.exists? true browser.alert.close - minimises the popup browser.alert.ok - nothing I have tried some suggestions from the web like overriding the javascript, sending keystrokes ('l' as in alt + l) and various other things. Does anyone have a solution? I am using ruby 1.9.2 and watir-classic 3.2.0. I don't want to move to webdriver as it does not have attach(). Regards -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com attachment: IE8popup.png