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.
security testing
Hi All,
I want to test that a particular link on my page leads to a https page. How do I write a script to test this?
Thanks in advance for the help
Regards,
Sahi_A
I want to test that a particular link on my page leads to a https page. How do I write a script to test this?
Thanks in advance for the help
Regards,
Sahi_A
Answers
When clicked on the link, it opens a new browser window? can u focus on it get the window URL.
_set($httpsurl, windows.location.href).
Or
Get the atrtibute of that link- _getAttribute(_link(""),"href") and navigate to that URL using _navigateTO and verify the page.
Hope this helps.
Regards,
Bhavitha