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.
Command to close security alert messages
Hi,
There is an "Export excel" image in my application, by clicking the image file download popup window appears with "open","save","cancel" actions. While recording the scripts for this image it is created as "_click(_image("Export Excel"))";
While playbacked the script after _click(_image("Export Excel")) this script, security alert popup message appeared on the top of the window as "To help protect your security, Internet Explorer blocked this site from downloading files to your computer. Click here for options" in IE browser.
Success message is appeared in sahi controller window. But File Download popup scripts and its actions related scripts are not generated.Application stops at security alert message after clicking on export excel image.
Is there any command to close the Security alert messages for IE.
There is an "Export excel" image in my application, by clicking the image file download popup window appears with "open","save","cancel" actions. While recording the scripts for this image it is created as "_click(_image("Export Excel"))";
While playbacked the script after _click(_image("Export Excel")) this script, security alert popup message appeared on the top of the window as "To help protect your security, Internet Explorer blocked this site from downloading files to your computer. Click here for options" in IE browser.
Success message is appeared in sahi controller window. But File Download popup scripts and its actions related scripts are not generated.Application stops at security alert message after clicking on export excel image.
Is there any command to close the Security alert messages for IE.
Comments
I solved the issue of Pop Up security warning.
Now by clicking the Export excel image Popup window is opened with "Open","Save","Cancel" actions.
By clicking on Open button excel sheet should open with list of names.
By clicking on Save button directory should open to save the file.
By clicking Cancel button should close the Popup window.
The scripts generated while clicking on these options are:
_click(_image("Export Excel"));
_click(_cell(_table("ec_table"), 6, 4));
_click(_image("Export Excel"));
_click(_image("Export Excel"));
_click(_image("Export Excel"));(After this script Popup window appeared) and get stucked without any further actions.
And after clicking on Open button in that Popup window the following script is played back
_click(_cell(_table("ec_table"), 6, 4));
After clicking on save button following script is played backed
_click(_image("Export Excel"));
After clicking on Cancel button following script is played backed.
_click(_image("Export Excel"));
But the script is not automatically played backed on Popup window actions. Is there any other option for this?