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.
ERROR of clicking the button "record" of the controller
Hi Narayan,
I am using sahi latest version .When i click the "record" button of the controller,there is some information in the console window.It is like this:
java.io.excepton:system can't find the specified path
at java.io.WinNTFileSystem.createFileExclusively <Native Method>
at java.io.File.createNewFile <Unknown Source>
at net.sf.sahi.record.Recorder,start <Recorder.java:45>
at net.sf.sahi.command.Recorder,startRecorder <Recorder.java:47>
at net.sf.sahi.command.Recorder,start <Recorder.java:27>
at sun.reflect.NativeMethodAccessorImpl.invoke0<Native Method>
at sun.reflect.NativeMethodAccessorImpl.invoke<Unkown Source>
at sun.reflect.DelegatingMethodAccessorImpl.invoke<Unkown Source>
at java.lang.reflect.Method.invoke<Unkown Source>
at net.sf.sahi.command.CommandExecuter.execute CommandExecuter.java:52>
at net.sf.sahi.LocalRequestProcessor.getLocalResponse<LocalRequestProcessor.java:42>
at net.sf.sahi.ProxyProcessor.processLocally<ProxyProcessor.java:223>
at net.sf.sahi.ProxyProcessor.run<ProxyProcessor.java:75>
at java.lang.Thread.run<Unkown Source>
....Please help ....
thanks !!
I am using sahi latest version .When i click the "record" button of the controller,there is some information in the console window.It is like this:
java.io.excepton:system can't find the specified path
at java.io.WinNTFileSystem.createFileExclusively <Native Method>
at java.io.File.createNewFile <Unknown Source>
at net.sf.sahi.record.Recorder,start <Recorder.java:45>
at net.sf.sahi.command.Recorder,startRecorder <Recorder.java:47>
at net.sf.sahi.command.Recorder,start <Recorder.java:27>
at sun.reflect.NativeMethodAccessorImpl.invoke0<Native Method>
at sun.reflect.NativeMethodAccessorImpl.invoke<Unkown Source>
at sun.reflect.DelegatingMethodAccessorImpl.invoke<Unkown Source>
at java.lang.reflect.Method.invoke<Unkown Source>
at net.sf.sahi.command.CommandExecuter.execute CommandExecuter.java:52>
at net.sf.sahi.LocalRequestProcessor.getLocalResponse<LocalRequestProcessor.java:42>
at net.sf.sahi.ProxyProcessor.processLocally<ProxyProcessor.java:223>
at net.sf.sahi.ProxyProcessor.run<ProxyProcessor.java:75>
at java.lang.Thread.run<Unkown Source>
....Please help ....
thanks !!
Comments
Can you also specify what browser you are using? I am assuming you are on Windows NT.
Are you running sahi.bat from sahi/bin folder?
Are you recording the script name with a space or a non english character?
Can you try on a simple page like http://sahi.co.in/demo and use a simple script name like demo1 and check?
Regards,
Narayan
i am using IE6 on windows XP,running sahi.bat from sahi/bin folder,recording the script name with english characters.i tried on the page as you said and use the script name demo1 ,the console information still exists. i record the steps i take,and when playback,i can not find the script file i just set.that is to say,i did not record successfully.What is the problem? Thank you very much for your spending time for helping me
wuqingjike, can you just check with firefox too? We need to see if it is an IE6 issue or a system issue.
Regards,
Narayan
Thank you very much and everyone ,i found the problem! The reason is that i unzip sahi.zip to a non english file! I found i'm so careless!