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.
How to get System HostName using Sahi Script
Hi
I'm new to Sahi, i would like to know how to get the system HostName using Sahi Script
Thanks in Advance,
Regards,
Balasubramani
I'm new to Sahi, i would like to know how to get the system HostName using Sahi Script
Thanks in Advance,
Regards,
Balasubramani
Comments
You can use:
var $hostName = Packages.java.net.InetAddress.getLocalHost().getHostName();
_alert($hostName);
Regards
Sumitra