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.
Sometimes Sahiscript execution hangs,we need to click again play/step
Some times Sahi script execution may hang, we need to click again play/step button to continue the script execution.
1)Reasons for this problem.
2) how can I resolve it.
Thanks in advance.
arjun.
1)Reasons for this problem.
2) how can I resolve it.
Thanks in advance.
arjun.
Comments
This used to happen at times because of some browser plugins.
Is it on some particular script, or does it happen on any script?
What browser are you using and what version of Sahi?
Do you have any extensions/plugins on the browser? Can you try after disabling them?
Are you by any chance moving across domains?
Also check if there are any firewalls/antivirus blocking the application. Verify by running after turning off firewalls/antivirus.
Regards,
Narayan
Thank you for quick response.
This problem happens for some scripts .
i am using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729).
Sahi version : sahi_20091130
i am trying what you have replied .
Thank you.
arjun.
I have similar problem . Script hangs when run through testrunner in firefox. The scripts were running fine and all of a sudden it has stopped working after i had installed chrome and tried to configure the certificate issues for the IE8.
The exception that i see is
14-Apr-2011 16:28:00 net.sf.sahi.ssl.SSLHelper getKeyManagerFactoryForRemoteFetc
h
INFO: No SSL Client Cert specified
14-Apr-2011 16:28:00 net.sf.sahi.command.CommandExecuter execute
WARNING: commandClass = >net.sf.sahi.command.Suite< commandMethod = >start<
14-Apr-2011 16:28:00 net.sf.sahi.command.CommandExecuter execute
WARNING: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.sf.sahi.command.CommandExecuter.execute(CommandExecuter.java:55)
at net.sf.sahi.LocalRequestProcessor.handleDyn(LocalRequestProcessor.jav
a:67)
at net.sf.sahi.LocalRequestProcessor.getLocalResponse(LocalRequestProces
sor.java:40)
at net.sf.sahi.ProxyProcessor.processLocally(ProxyProcessor.java:186)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:86)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at net.sf.sahi.command.Suite.startPreconfiguredBrowser(Suite.java:64)
at net.sf.sahi.command.Suite.start(Suite.java:38)
... 12 more
Any help / advice on getting this going is much appreciated.
Thanks.
As Sahi is just hanging on Firefox , i tried on IE 8 , Chrome . In both of these browsers i am experiencing certificate issues.
IE8 - Certificate issue gets fixed once you install teh certificate , afterwards it always keeps giving 'content blocked due to security ...'. SO not able to test on IE 8.
Chrome - Certificate issue , no idea how to fix this.
So, now i am in a position where i can not run SAHI tests on any browser .
Any inputs to get this movng is much appreciated.
thanks.