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/AAAAAAAAAAc/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. [email protected] http://groups.google.com/group/watir-general [email protected]
