18 January 2026:


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.

Popups opening their own individual controller windows during playback

kyoobkyoob Members
edited April 2013 in Sahi Pro
I'm testing a list of links using Sahi Pro, and each link opens a popup window in which I have to assert that a few elements are available. I'm able to use _closeWindow to get rid of each popup, but I've noticed that every time a new popup loads, it opens a new Sahi controller window to execute the script within that popup. These controller windows do not close when the popups close. Before long there are so many open controller windows that test execution freezes.

Is there a way to close these controller windows programatically? Or to prevent a new one from accompanying each popup in the first place?

Answers

  • kyoobkyoob Members
    This can be avoided by running scripts as embedded in test suites from the command line.
Sign In or Register to comment.