Forum Discussion
I wonder if it is failing because the pop up is not in focus.
If we add a setfocus method to the parent level of the tested object, that may help force TestComplete to identify the parent level, and therefore the child object.
Example scripts can be found here: https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/window-and-process/setfocus-method-window-object.html
Hi, is there anyting like that if a pop-up opens then click OK button, else just write a informative log and don't do anything. Because of popup object is set, TestComplete see it being as error.
- mattb3 years agoStaff
I would also see what settings on the current project properties to handle unexpected windows. Check within current project properties, and then playback.
https://support.smartbear.com/testcomplete/docs/working-with/managing-projects/properties/playback.html
https://support.smartbear.com/testcomplete/docs/testing-with/running/handling-errors/unexpected-windows.htmlMaybe we are deleting the window before we can interact with it.
Related Content
Recent Discussions
- 10 hours agoasantev2
- 20 hours agotorus
- 4 days agoSM1
- 4 days agocharifhamza