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.
Automatically open the browsers from sahi script
I need to invoke the sahi controller to do a playback of the script which I have.
Can the script be invoked from a command line. Is there a way to avoid the step of opening the controller and starting the script?
meaning I want to do something like this:
cmd: start runsahiscript.sah
on execution of this command the browser should open with the url specified in the script file.
Please suggest
Can the script be invoked from a command line. Is there a way to avoid the step of opening the controller and starting the script?
meaning I want to do something like this:
cmd: start runsahiscript.sah
on execution of this command the browser should open with the url specified in the script file.
Please suggest
Best Answer
-
Hi,
It says that demo.suite failed.
Did the tests run in the first place?
If yes, can you check the logs and let us know which test failed in demo.suite?
Regards,
Pratyush
Answers
Please have a look at the following link:
Regards
suiteName = scripts/demo/demo.suite
base = http://sahi.co.in/demo/
sahiHost = localhost
port = 9999
threads = 5
browserType = ie
this.isSingleSession == true
Added shutdown hook.
http://localhost:9999/_s_/dyn/Suite_start?suite=scripts/demo/demo.suite&base
=http%3A%2F%2Fsahi.co.in%2Fdemo%2F&threads=5&sahisid=sahi_b113f1030ce250466a086f
50e23aeadd839d&browserType=ie&useSingleSession=true&html=
FAILURE
Shutting down ...
Can I close this discussion then?
Regards,
Pratyush