already done: http://jira.openqa.org/browse/WTR-115
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charley Baker Sent: Wednesday, November 08, 2006 4:09 PM To: [email protected] Subject: Re: [Wtr-general] modal dialogs in IE 7.0 Hi Dara, Could you make sure to add this to the defect list in Jira so that we can keep track of it? http://jira.openqa.org/browse/WTR Thanks, Charley On 11/8/06, Lillis, Dara <[EMAIL PROTECTED]> wrote: > [sorry for the long delay, I cleverly sent the last email just before > going on vacation] > > I am using dialog rather than winClicker, but it was fairly obvious > from your example what change I needed to make. line 32 of > watir\dialog.rb > > OLD > unless name_pattern =~ autoit.WinGetText("Microsoft Internet > Explorer", > "") > > NEW > unless name_pattern =~ autoit.WinGetText("Windows Internet Explorer", > "") > > My code works now. I would assume that to be correctly updated for IE > 7.0 all instances of "Microsoft Internet Explorer" in dialog.rb (there > are 4) should be updated to read "Windows Internet Explorer", but it > works if you only change the one I mention above. > > Thanks, > > -Dara > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Cain, Mark > Sent: Thursday, October 26, 2006 10:02 AM > To: [email protected] > Subject: Re: [Wtr-general] modal dialogs in IE 7.0 > > 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: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Lillis, Dara > Sent: Thursday, October 26, 2006 12:48 AM > To: [email protected] > 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 > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-general > _______________________________________________ > Wtr-general mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-general > _______________________________________________ > Wtr-general mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-general > _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
