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.
Closure of child window
Hi,
My issue is that i want to close the pop up window. I select a option from main window to open a file in separate new window. After opening the separate window I want to close this window but not able to do so. Pls help.
My issue is that i want to close the pop up window. I select a option from main window to open a file in separate new window. After opening the separate window I want to close this window but not able to do so. Pls help.
This discussion has been closed.
Comments
Could you please Ctrl+Hover on the new window and check if you are able to identify the elements on it. If so then try using:
_popup("Popup window name")._closeWindow();
Instead you can download the file using Sahi.
For more details: http://sahi.co.in/w/handle-file-downloads
Regards
Sumitra
I have little confusion regarding browser window and popup window. Could you pls make me understand what exact difference between them so that we can easily recognize them.
A browser window is a tool used to view websites on the internet. It acts as a "window" to the world wide web. (otherwise known as the internet) .
A popup window is a window which is opened from a parent window(browser window). The popup window is nothing but the child window.
In Sahi, the elements on the popup window are been identified with _popup("popup window name") prefixed with it.
Regards
Sumitra