yuva
26 days agoNew Contributor
How to recognize a popup
The web application The test complete tool's popup recognition feature.
The test script fails if POPUP exists, even though I tried using an OCR picture.
The web application The test complete tool's popup recognition feature.
The test script fails if POPUP exists, even though I tried using an OCR picture.
It is not clear to me what you mean, I assume your web application sometimes can have a popup window and your test will fail as such popup should not exist and is interfering.
If so, you need to check if such popup exist and deal with it before proceeding with your test.
What sort of popup is it? Is it something that unexpectedly appears, or appears during various actions? Either way, this should be able to help you https://support.smartbear.com/testcomplete/docs/testing-with/running/handling-errors/unexpected-windows.html and https://support.smartbear.com/testcomplete/docs/reference/events/onunexpectedwindow.html