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 on Mac OS X?
has anyone run Sahi on Mac OS X?
Comments
With some changes Sahi Controller starts on MAC OS X. I am a new user of MAC OS, but I'll try to explain the entire installation process.
1. Ensure that Java is installed. Open a New Terminal Window, type "java -version", without quotes. The command must return something like this:
2. Extract Sahi archive into PLACES\<your user name>. Note: extract the nightly build from http://sahi.co.in/static/sahi_20090210.zip
3. Modify the sahi.sh file, manually give the variable class paths:
- do not forget to modify "your user name" with your MAC user name.
3. Start Firefox Browser. Setup the Proxy address: instead of localhost type 127.0.0.1.
- Manually Proxy Configuration:
HTTP Proxy: 127.0.0.1; Port: 9999
SSL Proxy: 127.0.0.1; Port: 9999
SOCKS v5 - checked
4. Open Terminal Window. Go to Sahi\bin. Type:
- "Sahi started. Listening on port:9999 ... " appears.
5. Open a web page on Firefox Browser. To bring up the Sahi Controller press the ALT key and double click on the page -> Sahi Controller shows up.
Now you can record or playback your Sahi scripts.
Note: Sahi Controller stops when a secured web page is opened. More details at: http://sahi.co.in/forums/viewtopic.php?id=670
Regards,
Mihai
Also,
"2. Extract Sahi archive into PLACES\<your user name>. "
Does this mean I should create the "PLACES" directory, and a directory beneath that with user name? There is no PLACE directory on this Mac. There IS a users directory which has a directory with the user name.
Thanks in advance. My boss is really screaming for this to be done on the Mac. :-)
You can unzip it anywhere. It need not be PLACES/<your user name>. That is just an example.
What version of Sahi are you using? If you are using one of the older versions, you would see a OutOfMemoryException being thrown on the Sahi console. If you do, download the latest version and try.
Regards,
Narayan
Thank you for getting back to me. I'm using Sahi 2010-11-03.
I have created the "PLACES" directory, and a directory beneath that with user name, unzipped there, and modified the sahi.sh file. Once the proxy settings are made, nothing ever shows within the browser (just a blank page) and the controller will NOT open.
I have deleted that install, unzipped it into the default USERS/username directory, and modified the sahi.sh file. Still, once the proxy settings are made, nothing ever shows within the browser and the controller will NOT open.
Would it be possible to give a more detailed installation procedure for Macs as you have for Windows machines?
Many thanks once again,
Tony S.