Ask a Question

How to Check if Popup window is active or not

mazhar555
Contributor

How to Check if Popup window is active or not

HI, I am testing a web application and want to check if Popup window is active then perform certain actions otherwise perform nothing. Do i need to check the Object property if it is true or false? If yes then how?
-
Muhammad Mazhar Mahmood
Certified Software Tester (CSTE)
3 REPLIES 3


Hi Muhammad,





You can check whether the window exists on the screen before performing some actions. Please refer to the "Checking Whether an Object Exists" article for more information.
--
Dmitry Nikolaev

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
mazhar555
Contributor

Thanks, but what i want, system should not wait for the Object if it is not there and execute the Else statement, in my case it waits for few seconds and at end it fails the test as Object is  not available.
-
Muhammad Mazhar Mahmood
Certified Software Tester (CSTE)

Hi Muhammad,


Could you please zip your entire project suite folder along with the log of the failed test execution and send us the archive via our Contact Support form?


Best regards,
Alexey

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: