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.
unable to run .suite file
Iam getting this exception when ever iam starting sahi.bat file "Cannot run program "D:\PsTools\pslist.exe": CreateProcess error=3, The system cannot find the path specifiederuser , can anyone help me.
though Sahi is running the test cases and testsuites , its not able to run the .suite file using testrunner.bat in dos prompt. can the above exception be a reason
though Sahi is running the test cases and testsuites , its not able to run the .suite file using testrunner.bat in dos prompt. can the above exception be a reason
Comments
You will have to download the PsTools from the following link:
http://technet.microsoft.com/en-us/sysinternals/bb896649 and mention the path where you have downloaded in the line 39 which in os.properties by navigating to <Sahi-Home>/config.
Now you should be able to run the suite file using testrunner.bat in dos prompt.
Regards
Sumitra
Than you for the response .happy to see the reply from you.
I've download the PsTools from the link mentioned above and saved it in a location on my system and mentioned it in O.S properties 39th line . i tried to start the sahi.bat file
its running fine now.
i tried to run the .suite file now ,
S.suite "http://localhost:8080/rez2g" firefox
the browser is opened and showed page not found
in sahi console got a very huge exception : (can u plz help me with this too)
Aug 9, 2011 3:35:11 PM net.sf.sahi.ssl.SSLHelper getKeyManagerFactoryForRemoteFe
tch
INFO: No SSL Client Cert specified
>>>>>> Tests size = 7
#### Running Script:
ITES\**
Aug 9, 2011 3:35:11 PM net.sf.sahi.test.ProcessHelper execute
INFO: "C:\Program Files\Mozilla Firefox\firefox.exe" -profile "D:/sahi/userdata/
browser/ff/profiles/sahi0" -no-remote "http://sahi.example.com/_s_/dyn/Player_au
to?file=D%3A%5Csahi%5Cuserdata%5Cscripts%5Crez2g%5Crez2g_Automation%5Csrc%5CTEST
_SUITES%5C**__SahiAmpersandSahi__startUrl=http%3A%2F%2Flocalhost%3A8080%2Frez2g_
_SahiAmpersandSahi__sahisid=sahi_8fbab21b071f304eee09c0b0db5891f6cabbsahix95cc21
f1064bb048a00a74709eed017471cdx"
#### Running Script:
ITES\*
Aug 9, 2011 3:35:13 PM net.sf.sahi.test.ProcessHelper$PIDGatherer run
INFO: PIDs: []; 2297 ms
Aug 9, 2011 3:35:13 PM net.sf.sahi.test.ProcessHelper execute
INFO: "C:\Program Files\Mozilla Firefox\firefox.exe" -profile "D:/sahi/userdata/
browser/ff/profiles/sahi1" -no-remote "http://sahi.example.com/_s_/dyn/Player_au
to?file=D%3A%5Csahi%5Cuserdata%5Cscripts%5Crez2g%5Crez2g_Automation%5Csrc%5CTEST
_SUITES%5C*__SahiAmpersandSahi__startUrl=http%3A%2F%2Flocalhost%3A8080%2FTest+su
ite+for+creating+KU.__SahiAmpersandSahi__sahisid=sahi_8fbab21b071f304eee09c0b0db
5891f6cabbsahix66aef6250a5200432509eec02c03f230a05fx"
#### Running Script:
ITES\*
java.io.FileNotFoundException:
_15_35_14\**__09Aug2011__15_35_14.htm (The filename, directory name, or volume l
abel syntax is incorrect)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at net.sf.sahi.report.SahiReporter.createWriter(SahiReporter.java:113)
at net.sf.sahi.report.SahiReporter.generateTestReport(SahiReporter.java:
122)
at net.sf.sahi.report.Report.generateTestReport(Report.java:137)
at net.sf.sahi.rhino.RhinoScriptRunner.stop(RhinoScriptRunner.java:254)
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 org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:24
7)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:333
0)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2487)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.j
ava:164)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:3
98)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:306
5)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.j
ava:175)
at org.mozilla.javascript.Context.evaluateString(Context.java:1104)
at net.sf.sahi.rhino.RhinoScriptRunner.run(RhinoScriptRunner.java:149)
at java.lang.Thread.run(Unknown Source)
Killing
Aug 9, 2011 3:35:15 PM net.sf.sahi.test.ProcessHelper kill
INFO: Kill: []
Aug 9, 2011 3:35:17 PM net.sf.sahi.test.ProcessHelper$PIDGatherer run
INFO: PIDs: []; 3313 ms
Aug 9, 2011 3:35:17 PM net.sf.sahi.test.ProcessHelper execute
INFO: "C:\Program Files\Mozilla Firefox\firefox.exe" -profile "D:/sahi/userdata/
browser/ff/profiles/sahi2" -no-remote "http://sahi.example.com/_s_/dyn/Player_au
to?file=D%3A%5Csahi%5Cuserdata%5Cscripts%5Crez2g%5Crez2g_Automation%5Csrc%5CTEST
_SUITES%5C*__SahiAmpersandSahi__startUrl=http%3A%2F%2Flocalhost%3A8080%2F%40auth
or+++jansat1000__SahiAmpersandSahi__sahisid=sahi_8fbab21b071f304eee09c0b0db5891f
6cabbsahix5d5854630a9d10440e08f0104724195220bfx"
#### Running Script:
ITES\*
java.io.FileNotFoundException:
_15_35_14\*__09Aug2011__15_35_17.htm (The filename, directory name, or volume la
bel syntax is incorrect)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at net.sf.sahi.report.SahiReporter.createWriter(SahiReporter.java:113)
at net.sf.sahi.report.SahiReporter.generateTestReport(SahiReporter.java:
122)
at net.sf.sahi.report.Report.generateTestReport(Report.java:137)
at net.sf.sahi.rhino.RhinoScriptRunner.stop(RhinoScriptRunner.java:254)
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 org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:24
7)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:333
0)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2487)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.j
ava:164)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:3
98)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:306
5)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.j
ava:175)
at org.mozilla.javascript.Context.evaluateString(Context.java:1104)
at net.sf.sahi.rhino.RhinoScriptRunner.run(RhinoScriptRunner.java:149)
at java.lang.Thread.run(Unknown Source)
Killing
Aug 9, 2011 3:35:18 PM net.sf.sahi.test.ProcessHelper kill
INFO: Kill: []
Aug 9, 2011 3:35:19 PM net.sf.sahi.test.ProcessHelper$PIDGatherer run
INFO: PIDs: []; 2281 ms
Aug 9, 2011 3:35:19 PM net.sf.sahi.test.ProcessHelper execute
INFO: "C:\Program Files\Mozilla Firefox\firefox.exe" -profile "D:/sahi/userdata/
browser/ff/profiles/sahi3" -no-remote "http://sahi.example.com/_s_/dyn/Player_au
to?file=D%3A%5Csahi%5Cuserdata%5Cscripts%5Crez2g%5Crez2g_Automation%5Csrc%5CTEST
_SUITES%5C*__SahiAmpersandSahi__startUrl=http%3A%2F%2Flocalhost%3A8080%2F%40vers
ion+1.0%2C+May+2011__SahiAmpersandSahi__sahisid=sahi_8fbab21b071f304eee09c0b0db5
891f6cabbsahix2a1725e402a11044a8090120aa229995e4e2x"
#### Running Script:
ITES\*
java.io.FileNotFoundException:
_15_35_14\*__09Aug2011__15_35_20.htm (The filename, directory name, or volume la
bel syntax is incorrect)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at net.sf.sahi.report.SahiReporter.createWriter(SahiReporter.java:113)
at net.sf.sahi.report.SahiReporter.generateTestReport(SahiReporter.java:
122)
at net.sf.sahi.report.Report.generateTestReport(Report.java:137)
at net.sf.sahi.rhino.RhinoScriptRunner.stop(RhinoScriptRunner.java:254)
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 org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:24
7)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:333
0)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2487)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.j
ava:164)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:3
98)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:306
5)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.j
ava:175)
at org.mozilla.javascript.Context.evaluateString(Context.java:1104)
at net.sf.sahi.rhino.RhinoScriptRunner.run(RhinoScriptRunner.java:149)
at java.lang.Thread.run(Unknown Source)
Killing
Aug 9, 2011 3:35:21 PM net.sf.sahi.test.ProcessHelper kill
INFO: Kill: []
Aug 9, 2011 3:35:22 PM net.sf.sahi.test.ProcessHelper$PIDGatherer run
INFO: PIDs: []; 3109 ms
Aug 9, 2011 3:35:22 PM net.sf.sahi.test.ProcessHelper execute
INFO: "C:\Program Files\Mozilla Firefox\firefox.exe" -profile "D:/sahi/userdata/
browser/ff/profiles/sahi4" -no-remote "http://sahi.example.com/_s_/dyn/Player_au
to?file=D%3A%5Csahi%5Cuserdata%5Cscripts%5Crez2g%5Crez2g_Automation%5Csrc%5CTEST
_SUITES%5C*__SahiAmpersandSahi__startUrl=http%3A%2F%2Flocalhost%3A8080%2Frez2g__
SahiAmpersandSahi__sahisid=sahi_8fbab21b071f304eee09c0b0db5891f6cabbsahix67f3c14
50c74c04d710b9cc049d68e8c5cc3x"
#### Running Script:
ITES\ts_ZA.sah
java.io.FileNotFoundException:
_15_35_14\*__09Aug2011__15_35_17.htm (The filename, directory name, or volume la
bel syntax is incorrect)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at net.sf.sahi.report.SahiReporter.createWriter(SahiReporter.java:113)
at net.sf.sahi.report.SahiReporter.generateTestReport(SahiReporter.java:
122)
at net.sf.sahi.report.Report.generateTestReport(Report.java:137)
at net.sf.sahi.rhino.RhinoScriptRunner.stop(RhinoScriptRunner.java:254)
at net.sf.sahi.rhino.RhinoScriptRunner.run(RhinoScriptRunner.java:155)
at java.lang.Thread.run(Unknown Source)
java.io.FileNotFoundException:
_15_35_14\**__09Aug2011__15_35_14.htm (The filename, directory name, or volume l
abel syntax is incorrect)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at net.sf.sahi.report.SahiReporter.createWriter(SahiReporter.java:113)
at net.sf.sahi.report.SahiReporter.generateTestReport(SahiReporter.java:
122)
at net.sf.sahi.report.Report.generateTestReport(Report.java:137)
at net.sf.sahi.rhino.RhinoScriptRunner.stop(RhinoScriptRunner.java:254)
at net.sf.sahi.rhino.RhinoScriptRunner.run(RhinoScriptRunner.java:155)
at java.lang.Thread.run(Unknown Source)
java.io.FileNotFoundException:
_15_35_14\*__09Aug2011__15_35_20.htm (The filename, directory name, or volume la
bel syntax is incorrect)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at net.sf.sahi.report.SahiReporter.createWriter(SahiReporter.java:113)
at net.sf.sahi.report.SahiReporter.generateTestReport(SahiReporter.java:
122)
at net.sf.sahi.report.Report.generateTestReport(Report.java:137)
at net.sf.sahi.rhino.RhinoScriptRunner.stop(RhinoScriptRunner.java:254)
at net.sf.sahi.rhino.RhinoScriptRunner.run(RhinoScriptRunner.java:155)
at java.lang.Thread.run(Unknown Source)
java.io.FileNotFoundException:
_15_35_14\*__09Aug2011__15_35_23.htm (The filename, directory name, or volume la
bel syntax is incorrect)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at net.sf.sahi.report.SahiReporter.createWriter(SahiReporter.java:113)
at net.sf.sahi.report.SahiReporter.generateTestReport(SahiReporter.java:
122)
at net.sf.sahi.report.Report.generateTestReport(Report.java:137)
at net.sf.sahi.rhino.RhinoScriptRunner.stop(RhinoScriptRunner.java:254)
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 org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:24
7)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:333
0)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2487)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.j
ava:164)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:3
98)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:306
5)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.j
ava:175)
at org.mozilla.javascript.Context.evaluateString(Context.java:1104)
at net.sf.sahi.rhino.RhinoScriptRunner.run(RhinoScriptRunner.java:149)
at java.lang.Thread.run(Unknown Source)
Killing
Aug 9, 2011 3:35:24 PM net.sf.sahi.test.ProcessHelper kill
INFO: Kill: []
Aug 9, 2011 3:35:24 PM net.sf.sahi.test.ProcessHelper$PIDGatherer run
INFO: PIDs: []; 2203 ms
Aug 9, 2011 3:35:24 PM net.sf.sahi.test.ProcessHelper execute
INFO: "C:\Program Files\Mozilla Firefox\firefox.exe" -profile "D:/sahi/userdata/
browser/ff/profiles/sahi0" -no-remote "http://sahi.example.com/_s_/dyn/Player_au
to?file=D%3A%5Csahi%5Cuserdata%5Cscripts%5Crez2g%5Crez2g_Automation%5Csrc%5CTEST
_SUITES%5Cts_ZA.sah__SahiAmpersandSahi__startUrl=http%3A%2F%2Flocalhost%3A8080%2
Frez2g%2F__SahiAmpersandSahi__sahisid=sahi_8fbab21b071f304eee09c0b0db5891f6cabbs
ahix32bd5f7a02dd5044d90bbbb000f877ad1a2cx"
#### Running Script:
ITES\ts_DZA.sah
Aug 9, 2011 3:35:57 PM net.sf.sahi.test.ProcessHelper$PIDGatherer run
INFO: PIDs: []; 33000 ms
Aug 9, 2011 3:35:57 PM net.sf.sahi.test.ProcessHelper execute
INFO: "C:\Program Files\Mozilla Firefox\firefox.exe" -profile "D:/sahi/userdata/
browser/ff/profiles/sahi1" -no-remote "http://sahi.example.com/_s_/dyn/Player_au
to?file=D%3A%5Csahi%5Cuserdata%5Cscripts%5Crez2g%5Crez2g_Automation%5Csrc%5CTEST
_SUITES%5Cts_DZA.sah__SahiAmpersandSahi__startUrl=http%3A%2F%2Flocalhost%3A8080%
2Frez2g%2F__SahiAmpersandSahi__sahisid=sahi_8fbab21b071f304eee09c0b0db5891f6cabb
sahixf9c3bb100809e0466c093270c81810d0e0c2x"
java.io.FileNotFoundException:
_15_35_14\*__09Aug2011__15_35_23.htm (The filename, directory name, or volume la
bel syntax is incorrect)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at net.sf.sahi.report.SahiReporter.createWriter(SahiReporter.java:113)
at net.sf.sahi.report.SahiReporter.generateTestReport(SahiReporter.java:
122)
at net.sf.sahi.report.Report.generateTestReport(Report.java:137)
at net.sf.sahi.rhino.RhinoScriptRunner.stop(RhinoScriptRunner.java:254)
at net.sf.sahi.rhino.RhinoScriptRunner.run(RhinoScriptRunner.java:155)
at java.lang.Thread.run(Unknown Source)
Aug 9, 2011 3:36:00 PM net.sf.sahi.test.ProcessHelper$PIDGatherer run
INFO: PIDs: []; 2281 ms
Killing
ah
Aug 9, 2011 3:36:01 PM net.sf.sahi.test.ProcessHelper kill
INFO: Kill: []
Can you please post the contents of the suite file.
Regards
Sumitra
Could you please check if your Sahi userdata folder is readonly? The userdata folder and all its sub folders should be writable.
Regards,
Narayan