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.
Test page loads but script does not run on the Ipad
I just installed a trial version of Sahi Pro and set up my ipad to use it. I launch Sahi on the ipad, fill in the test file and start url and hit Run. After I hit Run the start URL page loads, but nothing happens after that. I see an error saying that a file is not found. I saw in the log that a file was not found (my userdir/start url); not sure why this was concatenated. Is there some setup step that I am missing? The script that I am trying to run runs fine using the sahi pro controller. It should work on both the desktop and ipad because I used the label name not location.
This discussion has been closed.
Answers
Can you provide us with the screenshot of the error message you received?
You can use imgur.com for this purpose.
Also, can you try running a Sahi demo script on the same, and let me know what happens?
Regards.
Rhino lib:Step >_sahi._click(_sahi._link("Log On"))< did not complete in 150 sec
onds.
logsInfo=html
logType=html logDir=C:\Users\userdir\sahi_pro\userdata\logs\playback\SS
_ARMS_Login_ie__09Jul2013__09_49_40_680/html
Rhino lib:Step >_sahi._click(_sahi._link("Log On"))< did not complete in 150 sec
onds.
logsInfo=html
logType=html logDir=C:\Users\userdir\sahi_pro\userdata\logs\playback\SS
_ARMS_Login_ie__09Jul2013__10_06_16_396/html
net.sf.sahi.util.FileIsDirectoryException
at net.sf.sahi.util.Utils.readFile(Utils.java:196)
at net.sf.sahi.util.Utils.readFile(Utils.java:183)
at net.sf.sahi.util.Utils.readFileAsString(Utils.java:266)
at net.sf.sahi.playback.FileScript.loadScript(FileScript.java:54)
at net.sf.sahi.playback.SahiScript.init(SahiScript.java:1084)
at net.sf.sahi.playback.SahiScript.<init>(SahiScript.java:126)
at net.sf.sahi.playback.FileScript.<init>(FileScript.java:48)
at net.sf.sahi.playback.ScriptFactory.getScript(ScriptFactory.java:32)
at net.sf.sahi.playback.ScriptFactory.getScript(ScriptFactory.java:36)
at net.sf.sahi.command.Player.setScript(Player.java:117)
at net.sf.sahi.command.Player.setScriptFile(Player.java:94)
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:68)
at net.sf.sahi.LocalRequestProcessor.getLocalResponse(LocalRequestProces
sor.java:38)
at net.sf.sahi.ProxyProcessor.processLocally(ProxyProcessor.java:207)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:78)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
The test case just clicks on the "Log On" link of the page of the start URL. The start page loads but then it doesn't do anything. Again this same test runs fine using the controller on my server.
500 error
It looks like it's appending my base url to the spr directory - looks like something like ...\sahi_pro\htdocs\spr\<base url in dos format> (The system cannot find the path specified.).