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.
Does Sahi scritp work on Windows and MAC?
Hi,
I have written script in Sahi on Windows Environment which works on IE / Chrome / FF / Safari and scripting used is Javascript.
I would like to know if i can use the same script to execute in MAC? If i can how
If not then is there any workaround?
I have written script in Sahi on Windows Environment which works on IE / Chrome / FF / Safari and scripting used is Javascript.
I would like to know if i can use the same script to execute in MAC? If i can how
If not then is there any workaround?
This discussion has been closed.
Comments
Sahi is independent of OS.
Yes, you can execute the scripts recorded in windows environment on MAC. It is just the normal way how you execute on windows machine.
Regards
Sumitra
Do you have any configuration guidelines for MAC. I was going through some of the MAC specific topic, but they were not very specific. I am doing the POC between Windows and MAC (Same script execution.)
The forum talks about Ruby for the MAC and not seen JavaScript for MAC, not really sure if JavaScript script will work on MAC with Ruby. I might be sounding dumb on my question, but answer will help me in going in right direction
The question really is does the Java Script work with Ruby?
Kindly have a look at:
http://sahi.co.in/forums/viewtopic.php?id=36
http://sahi.co.in/forums/viewtopic.php?id=2101
http://sahi.co.in/w/ruby and also http://sahi.co.in/w/java
Regards
Sumitra
I was able to configure the MAC Environment with the above provided link.
Some observations:
I see the dashboard with "Twist - Sahi Controller"
Accessor Spy / Recorded Steps (TABS)
Unlike in Windows:
Record / Playback / Info / New (TABS)
Script Directory / Script Name etc.,
Not sure if this is as expected or i messes up in configuration. Either of the way it is a bit confusing and not able to get a way with execution of scripts.
Can you please help me.
Yes, the dashboard with "Twist - Sahi Controller" is used when you wanted to record the script in java mode.
Could you please navigate to <sahi-home>/config/sahi.properties and check if the
"controller.mode= sahi" at line no.: 131. If its java then change it to Sahi, Restart Sahi.
Regards
Sumitra
If we start the "dashboard.sh" from Location "\Sahi\bin" then the Dashboard is opening.
If we run the "Sahi.sh" from Location "Sahi\bin" then it is only opening the file in command prompt not the "Dashboard".
Thought this info might of use for other Users
Yes i had "Ruby" at line No.:131, changed back to Sahi and it worked.
("controller.mode= sahi" at line no.: 131. If its java then change it to Sahi, Restart Sahi.)