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.
Popup troubles
I have a question about popup handling. I have a link to google that is supposed to open a new window. When recording, it seems to work fine and records this:
_assertNotNull(_link("Google"));
_click(_link("Google"));
_popup("PA_-1")._assertNotNull(_image("Google"));
However, the _click(_link("Google")); line does not open the popup and the script fails due to the SahiNotMyWindow exception.
Thoughts?
Thanks.
_assertNotNull(_link("Google"));
_click(_link("Google"));
_popup("PA_-1")._assertNotNull(_image("Google"));
However, the _click(_link("Google")); line does not open the popup and the script fails due to the SahiNotMyWindow exception.
Thoughts?
Thanks.