Forum Discussion
Hi,
A list of possible cause of the problem can be found here: https://support.smartbear.com/testcomplete/docs/testing-with/running/handling-errors/object-not-found/cannot-obtain-window.html
Are we able to identify an object within the pop up?
Best,
Matt
- cagan4 years agoOccasional Contributor
Hi,
The error is not important to me because it is not an error for me. Because of TestComplete cannot find the related variable it takes error but i wonder how can i handle to don't take an error. I also tried TRY-CATCH but it still idenfied being as an error.
- mattb4 years agoStaff
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- cagan4 years agoOccasional Contributor
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.
Related Content
- 5 years ago
- 6 years ago
Recent Discussions
- 17 hours ago