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.
No visibility of why sahi doesn't work and nasty exceptions (linux)
I've installed the latest sahi (v35_20110719) and tried to run it on my linux machine. The dashboard comes up and starts Firefox fine.
I then configured our company's proxy server as 'external proxy server' and sahi asked me to restart it. Fine. But when I closed sahi I noticed an exception on the command line: :java.io.IOException: Cannot run program "/home/mp/.lib/sahi/tools/proxy_config.exe": java.io.IOException: error=13, Permission denied".
Oops! Why does sahi try to execute a windows binary on my linux system?
So I started it up again, launched Firefox from sahi, entered a start url and got: 'SAHI_ERROR'. Ok I thought, just look in the sahi logs. But they were empty!
Back on the command line I saw another nasty exception: "java.lang.ClassNotFoundException: THE_URL_I_GAVE_IT".
Oops again! Why does sahi try to instantiate a class with the URL I just gave it?
Note: this this forum doesn't allow me to post urls, so I had to change it to THE_URL_I_GAVE_IT ;(
We could reproduce this behaviour on another machine, running ubuntu 11.04 and xubuntu 11.04 set up with Java 1.6 and standard Firefox 5.
Michael Pollmeier
I then configured our company's proxy server as 'external proxy server' and sahi asked me to restart it. Fine. But when I closed sahi I noticed an exception on the command line: :java.io.IOException: Cannot run program "/home/mp/.lib/sahi/tools/proxy_config.exe": java.io.IOException: error=13, Permission denied".
Oops! Why does sahi try to execute a windows binary on my linux system?
So I started it up again, launched Firefox from sahi, entered a start url and got: 'SAHI_ERROR'. Ok I thought, just look in the sahi logs. But they were empty!
Back on the command line I saw another nasty exception: "java.lang.ClassNotFoundException: THE_URL_I_GAVE_IT".
Oops again! Why does sahi try to instantiate a class with the URL I just gave it?
Note: this this forum doesn't allow me to post urls, so I had to change it to THE_URL_I_GAVE_IT ;(
We could reproduce this behaviour on another machine, running ubuntu 11.04 and xubuntu 11.04 set up with Java 1.6 and standard Firefox 5.
Michael Pollmeier
Comments
Thanks for reporting this. This will be fixed in the next release.
Regards
Sumitra
The proxy_config.exe errror is a bug, but is harmless. You can ignore the error.
The reason you got SAHI_ERROR is because the url was given without the http:// at the start.
Give the full URL with http:// and it should work. (I think we have already handled this and the fix should be available in the next release.)
Regards,
Narayan