Startup Issues
Here are a few issues that you may face while starting up.
Browsers do not show up on the Sahi Dashboard
Section titled “Browsers do not show up on the Sahi Dashboard”Symptom: The Sahi Dashboard does not show all the browsers available on the machine.
Cause: Browser configuration is part of the browser_types.xml. If the <path> value indicates an incorrect path for a browserType, it will not be displayed on the Dashboard.
Resolution: Please do the following steps.
- Click on Configure from the Dashboard.
- In browser_types.xml, correct the of the browsers of interest (like firefox and chrome). Set it to the full file path of the browser exe file.
- Press Save.
- Restart Sahi Pro
- You should start seeing the browsers now.
Browser does not load Application page
Section titled “Browser does not load Application page”Symptom: The application fails to load. Sahi shows an error page indicating that it cannot connect to the application url. However, sahi.example.com page gets displayed correctly.
Cause:
- It is possible that the application does not load from a browser outside of Sahi too, in which case there is a problem with the application itself.
- If application loads outside of Sahi, it is likely that to connect to the internet, a proxy server is being used. Sahi needs to be able to connect to this proxy server.
Resolution:
-
Check if the application loads from a browser outside of Sahi. If no, then the application is down. Fix the application.
-
Check if a proxy server is used to connect to the internet outside of Sahi. If yes, Sahi needs to connect to this proxy server in order to connect to the internet.
-
If the external proxy server is fixed, refer to Fixed Proxy
-
If a configuration proxy.pac script is being used, refer to Proxy AutoConfig Script
-
Browser does not load page in local network when fixed external proxy is configured
Section titled “Browser does not load page in local network when fixed external proxy is configured”Symptom: Sahi connects to a fixed external proxy server. The browser can connect to external websites, but it does not load a website in the local network.
Cause: The website in the local network should be bypassed by the external proxy but is not being done so.
Resolution: Do the following.
-
Edit
userdata\config\userdata.properties. -
Add the website domain to
ext.http.both.proxy.bypass_hostslike soext.http.both.proxy.bypass_hosts=localhost|127.0.0.1|*.internaldomain.com|*.yourdomain.com.Save the file
-
Restart Sahi server, clear browser cache and check again.
Elements on a page are not recognized on an IE browser
Section titled “Elements on a page are not recognized on an IE browser”Symptom:
- Recorder is not able to record elements on a page
- A script recorded on another browser does not run correctly. Elements are not recognized.
- Logs show that a valid step could not be completed in 150 seconds.
Resolution:
- Are you testing your scripts in IE against a localhost/127.0.0.1 url? If so,
- Please change localhost to your machine name and run the test. localhost url will not work with IE.
- If machine name does not work, try with the IP address of your machine.
- If it still does not work, close all IE browser instances, clear your IE browser cache once, and try again.
- If it still does not work, check if you are able to execute demo scripts on your IE browser. Try and run sahitests/clickCombo.sah against http://sahi.co.in/demo/. Note the “/” at the end. Contact support@sahi.co.in with details.

