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 scripts do not run on some machines
Hi,
I had recorded my scripts on a Windows XP machine and they run fine on that machine. ( browser used : IE 7 )
If I run the same script on a Windows 2003 machine the tests do not run ( I tried with IE6 and then IE7 also )
The html result page has the following error :
The browser just hangs with the following URL in the Address Bar.
http://sahi.example.com/_s_/dyn/Player_auto?file=E%3A%5Cwork%5Cscripts%5Cbug.sah&startUrl=http%3A%2F%2Fsomesite.com%3A8180%2F&sahisid=sahi_1251123401078sahix170x
This same issue was faced by my team member who was running the same test on IE 6 on Windows XP.
Any idea what could be causing this issue ?
thanks,
Hari
I had recorded my scripts on a Windows XP machine and they run fine on that machine. ( browser used : IE 7 )
If I run the same script on a Windows 2003 machine the tests do not run ( I tried with IE6 and then IE7 also )
The html result page has the following error :
JSERROR Script did not start within 5 minutes at Aug 24, 2009 7:51:59 PM
The browser just hangs with the following URL in the Address Bar.
http://sahi.example.com/_s_/dyn/Player_auto?file=E%3A%5Cwork%5Cscripts%5Cbug.sah&startUrl=http%3A%2F%2Fsomesite.com%3A8180%2F&sahisid=sahi_1251123401078sahix170x
This same issue was faced by my team member who was running the same test on IE 6 on Windows XP.
Any idea what could be causing this issue ?
thanks,
Hari
Comments
While IE appeared hung , I checked in Tools > Internet Options > Connections > LAN Settings.
It was set to localhost:9999
btw I do not use toggle_IE_proxy.exe.
I created two reg files, one which sets and enables the proxy in IE by changing the settings directly in the registry and another which changes the settings to no proxy.
This was to achieve no-manual intervention to run the tests.
Could you also try setting the proxy before the tests manually, removing the invocation of registry based toggling and see what happens?
Looks like http://sahi.example.com/_s_/dyn/Player_auto never reaches the proxy.
sahi.log seems to have a lot of repeating requests.
I will be able to try refreshing only tomorrow.
I will let you know the results tomorrow morning.
There is no error in the Sahi console.
I set the proxy manually in IE and removed the lines in the ant script that do the same.
There is no difference in behaviour.
The text seen in the Sahi console is
Please also note that the exact same code ( without any changes ) worked fine in a different Windows XP machine.
Good idea! Could you please post the details so I can use this approach too?
Thanks in advance.
I create these reg files on the fly during each test run using the following ant snippet :
h t t p://serverfault.com/questions/34940/how-do-i-configure-proxy-settings-for-local-system/34943#34943
Hope this helps anyone trying to run Sahi as a Windows service (e.g. from a CI server such as Hudson; surely I'm not the only person to try this...)