[Wtr-general] modal dialogs in IE 7.0
Cain, Mark
Mark_Cain at RL.gov
Thu Oct 26 10:01:44 EDT 2006
Dara, I had the same problem, when I started using IE7 a few months ago,
and I am pretty sure I know exactly what is wrong. MS changed the
popups title bar text in IE7 from 'Microsoft Internet Explorer' to
'Windows Internet Explorer'. So in watir\WinCLicker.rb you will need to
change lines 113 and 144:
OLD:
clickWindowsButton("Microsoft Internet Explorer" , button )
NEW:
clickWindowsButton("Windows Internet Explorer" , button )
Hope this helps,
--Mark
-----Original Message-----
From: wtr-general-bounces at rubyforge.org
[mailto:wtr-general-bounces at rubyforge.org] On Behalf Of Lillis, Dara
Sent: Thursday, October 26, 2006 12:48 AM
To: wtr-general at rubyforge.org
Subject: [Wtr-general] modal dialogs in IE 7.0
I'm testing IE 7.0. I have run into one problem with modal dialogs. A
test that runs fine in IE 6.0, clicking on a modal dialog, hangs in IE
7.0.
Here's the offending code:
browser.link(:text, 'DELETE').click_no_wait
dialog = Watir::Dialog.new
dialog.exists?
dialog.button('ok').click
browser.wait
Sorry but I don't have html to post, the html is extremely complex and I
can't figure out a simple example.
This code works fine with IE 6.0, just hangs (no error message or
anything) with IE 7.0
Anyone run into this, or got suggestions?
Thanks,
-Dara
_______________________________________________
Wtr-general mailing list
Wtr-general at rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
More information about the Wtr-general
mailing list