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.
While running the sahi suite,we have some problems with uneven results
Presently we are using sahi version of Build: 2008-08-31.
We are facing few problems when we run suites for our maintenance project. But when running Independently those works fine. With that we are getting more manual work for every release.
We have setting-up sahi through build scripts(Eclipse), we are following all conditions stated in this forums.
Today I saw this log in sahi prompt like:
======================================================
java.lang.NullPointerException
at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:119)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:78)
at java.lang.Thread.run(Unknown Source)
*** Forcefully terminating script.
No response from browser within expected time (180 seconds).
======================================================
This is happening for most of the scripts were failing. Can anyone solve me out from this Issue.
We are facing few problems when we run suites for our maintenance project. But when running Independently those works fine. With that we are getting more manual work for every release.
We have setting-up sahi through build scripts(Eclipse), we are following all conditions stated in this forums.
Today I saw this log in sahi prompt like:
======================================================
java.lang.NullPointerException
at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:119)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:78)
at java.lang.Thread.run(Unknown Source)
*** Forcefully terminating script.
No response from browser within expected time (180 seconds).
======================================================
This is happening for most of the scripts were failing. Can anyone solve me out from this Issue.
Comments
Please use with the latest build and check.
Regards,
Narayan
Every time when we used to run the suite, we always update the code and compile and then we start the suite running.
The above error occurred with latest build only
I meant latest build of Sahi! You are using a 2008 build! 2 and half years of improvements have gone into Sahi after that!
Regards,
Narayan
I have used various versions of sahi (2010-11-03 & 2011-03-14) and also sahi pro(2011-03-03).
We are not able to run the scripts, list of issues are
NOTE: These all issues work with sahi build : 2008-08-31
1) File Upload :
statement used within workspace :
==============================================================
_setFile(_file("previewQuestionBean.pdetBean.resume.fileUploadForm.file"), "");
_setFile(_file("previewQuestionBean.pdetBean.resume.fileUploadForm.file"), "..\\..\\src\\test\\sahi\\file_imports\\pr_2932.csv");
==============================================================
2) Clicking on radio buttons is also not happened
==============================================================
_click(_radio("previewQuestionBean.pdetBean.pdPhone1.contactPriority"));
==============================================================
3) Clicking on objects
==============================================================
_click(_image("plus0"));
_click(_image("plus1"));
_click(_image("plus2"));
==============================================================
I tried with both the versions of sahi (2010-11-03 & 2011-03-14), it didn't work for me
3) With sahi pro(2011-03-03),
Even on light windows pop-ups also, selecting checkbox is also not working means it hangs clicking on the lightwindow link on the sahi Pro controller
==============================================================
_click(_link("Post to Career Sites"));
_click(_checkbox("selectedCareerSites"));
==============================================================
Please can you tell me which version of sahi will work for the above mentioned problems.
what changes I made with userdata.properties are
==============================================================
scripts.dir=../../src/test/sahi/CSV_to_Sahi;
# default log directory.
logs.dir=logs
# Directory where auto generated ssl cerificates are stored
certs.dir=certgen/certs
# Use external proxy server for http
ext.http.proxy.enable=false
ext.http.proxy.host=localhost
ext.http.proxy.port=5000
#ext.http.proxy.auth.enable=false
#ext.http.proxy.auth.name=kamlesh
#ext.http.proxy.auth.password=password
# Use external proxy server for https
ext.https.proxy.enable=false
ext.https.proxy.host=localhost
ext.https.proxy.port=5000
==============================================================
changes with sahi.properties
==============================================================
# Use external proxy server for http
ext.http.proxy.enable=false
ext.http.proxy.host=localhost
ext.http.proxy.port=5000
#ext.http.proxy.auth.enable=false
#ext.http.proxy.auth.name=kamlesh
#ext.http.proxy.auth.password=password
# Use external proxy server for https
ext.https.proxy.enable=false
ext.https.proxy.host=localhost
ext.https.proxy.port=5000
#ext.https.proxy.auth.enable=false
#ext.https.proxy.auth.name=kamlesh
#ext.https.proxy.auth.password=password
==============================================================
Thanks
-Bhanu