18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
check popup doesn't exists ?
I want to check that the popup doesn't opens after a linkclick.
I tried this
if(_exists(_popup("404 Not Found")))
if(_isvisible(_popup("404 Not Found")))
without success
I tried this
if(_exists(_popup("404 Not Found")))
if(_isvisible(_popup("404 Not Found")))
without success
Comments
You can use:
_assertNotExists(_popup("404 Not Found"));
Regards
Sumitra
this doesn't work for me.
I get this error message
Could you please have a look at: http://sahi.co.in/forums/viewtopic.php?id=3307
Check if this solves your issue.
Regards
Sumitra
no success with a longer script.max_cycles_for_page_load value.
It throws still the exception.
I just want to check if there is no popup with the title 404 Not Found.
Is there no easy way to check this ?
Could you try the following code:
Regards
Sumitra
I hope this should work where in you can check if an element is present on the popup.
Regards
Sumitra