18 January 2026:


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.

Navigate to a webpage using the login credentials from command line

vijaikmvijaikm Members
edited June 2014 in Sahi - Open Source
Can sahi script take the command line arguments, I want to do run something like mysah.sah http://gmail.com "chrome" "tim" "pass"

What should be there in mysah.sah to read the command line arguments

is there something similar to the below in SAHI?

public static void Main(string[] args) {
for(int i = 0; i < args.Length; i++)
{
Console.WriteLine("Arg[{0}] = [{1}]", i, args);
}
}


Best Answer

Sign In or Register to comment.