Forum Discussion
TanyaYatskovska
SmartBear Alumni (Retired)
Hi 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_chin
9 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?
Related Content
Recent Discussions
- 4 hours agosimonaferrara
- 13 hours agoSubhraDas
- 2 days agotramuntana