Forum Discussion
I have a similar issue with the login object within Edge Browser that seems to appear everytime the browser gets updated and then the only thing that helps is:
1. Update Testcomplete
2. Make a function that first tries to find the button e.g. in your case that would be "Exit":
- if the button exists (meaning Testcomplete can interact with the button): Button.ClickButton()
- else: On the window object of that popup: Try to use .keys() to interact with the popup. You could try instead of clicking on the Exit button to close the popup with: PopUpWindow.Keys("[Esc]");
This is maybe not the best solution but i could not think of another way to solve this problem. Maybe it'll help you
- tvklovesu3 years agoFrequent Contributor
Hi DanNad, Thanks for your reply, but the solution you mentioned didn't help me. It's not identify the window as a popup. But I was able to fix the issue with a different method by using Close().
Aliases.wndChrome_WidgetWin_1.Close(). This closed the pop-up and able to continue next. This is still not a permanent fix I am looking for but can move on. Please let me know if anyone comes across how to identify the object in the popup alert
Related Content
- 10 years ago
Recent Discussions
- 16 hours ago
- 16 hours ago
- 4 days ago