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 script is not running from Command line
Hi
I am running my Sahi script from command line but it fails within minute. It first launch launched browser then enter URL and then stopped. It didn't go to script. I am using following script in command line
$.../bin testrunner testname.sah https://www.google.com/ firefox
I am running my Sahi script from command line but it fails within minute. It first launch launched browser then enter URL and then stopped. It didn't go to script. I am using following script in command line
$.../bin testrunner testname.sah https://www.google.com/ firefox
Answers
and please post the error massages from your console/from the logs
regards
wormi
Rupesh - were you able to get fix to your probelm?
Btw - I script I created is simply recorded using controller and works well when I play using controller
http://sahipro.com/forums/discussion/7985/sahi-how-to-play-a-recorded-script-using-commandline#Item_1
This is working fine now. The issue was with the SSL the way i was accepting it..
I followed below steps for testing gmail and my test url and its working fine now...
1. click "firefox" in the sahi dashboard
2. click the link "SSL Manager"
3. copy each domain marked with a red dot, into a tab, prefixed by "https://", hit enter, accept security risk mumbo jumbo.
UPDATE 20130320: these are the domains that need to be accepted for gmail:
sahi.example.com
mail.google.com
ssl.google-analytics.com
accounts.google.com
sahi.example.com
accounts.youtube.com
gmail.com
4. go back to the default page: http://sahi.example.com/_s_/dyn/Driver_initialized (or close the ff window and reopen it) and open the sahi controller
5. choose your script and run again.
one useful link which helped me..
http://nickhumphreyit.blogspot.sg/2013/03/sahi-how-to-test-gmail.html