Forum Discussion
rlounsbury
14 years agoOccasional Contributor
Robert
I tried your suggestion but it didn't fare any better. I have confirmed (multiple times) that there is only one instance of the dialog at the time of testing. A coworker looked at it and when we changed it to the following code it works with IE 6 on XP but still does NOT work with IE 9 on Win 7
I tried your suggestion but it didn't fare any better. I have confirmed (multiple times) that there is only one instance of the dialog at the time of testing. A coworker looked at it and when we changed it to the following code it works with IE 6 on XP but still does NOT work with IE 9 on Win 7
Delay(500);
//var confirmDlg = Aliases.iexplore.WaitAliasChild("dlgMessageFromWebPage", 60000)
var confirmDlg = iexplore.Find(["WndCaption", "WndClass"], ["OK", "Button"], 10);
if (confirmDlg.Exists) {
confirmDlg.Click();
} else {
Log.Error("Could not find the Confirmation dialog");
}
So it appears that this is being introduced by either IE 9 or Win 7. Do you have any similarly configured systems you can test against?
Thank you,
Ron L
Related Content
- 11 years ago
Recent Discussions
- 29 minutes ago
- 2 hours ago