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.
Sahi | How to handle security alerts
Hi,
When you try accessing a secure (https) site, there comes a security popup.
Sahi doesnt record/recognise that popup window. Is there a way to handle it & move on with testing/recoding?
Thanks.
SG
When you try accessing a secure (https) site, there comes a security popup.
Sahi doesnt record/recognise that popup window. Is there a way to handle it & move on with testing/recoding?
Thanks.
SG
Comments
Which browser are you using? You will need to accept/install Sahi's certificate permanently for the popup to go away.
If you are talking about warnings when moving between http and https you should turn those alerts off using your browser options or settings.
Narayan
Thanks for your reply!
Yes I'm talking 'bout security alerts one gets while switching b/w http & https.
1) I'm using IE & which settings exactly in IE would turn off the alerts?
2) As I get it, switching those alerts off with IE settings is one work around. I'd still like Sahi to handle those on its own because (I assume) sometimes accessing secure sites over SSL (requiring to present certificates) makes it inevitable to handle such alerts using the tool. Is there a way we can make Sahi handle those, even if that means handling them programmatically?
3) Also, if you could please tell me if Sahi would be able to recognise & handle javascript alerts?
Thanks much for the help!
~ SG
"Warn if changing between secure and not secure mode" option should be unchecked
2) The above kind of alerts cannot be handled by Sahi right now since Sahi is unable to access browser internals. If you are talking about certificate errors which come up, note that you will need to accept those certificates permanently (Firefox) or install them (IE).
3) Sahi handles javascript alerts. Have a look at http://sahi.co.in/w/_lastalert