Forum Discussion
TanyaYatskovska
Alumni
10 years agoHi Samantha_chin,
I’ve found out that TestComplete 11.20 is unable to record actions over the objects located on a confirmation dialog in Edge indeed. I’ve reported this behavior to our R&D team.
However, I see that TestComplete displays those objects in the Objects Browser:
In this case, you can modify your test by adding the code to click the button you need. For example:
function Test1()
{
var page;
// obtain your test page
page = Aliases.browser.Page("http://www.w3schools.com/jsref/met_win_confirm.asp")
page.Confirm.Button("OK").Click();
}
- samantha_chin10 years agoOccasional Contributor
Hi Tanya,
I can't find button OK in object browser (not the same as your screenshot) and I have tried your code it did not manage to find the page to trigger OK button. Maybe because I'm using Windows 10?