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.
Sahi api's not working on the ipad
I have a script with the base URL is http://msn.com which I enter in my sahi pro launcher.
The actual script is very simple:
<<after launching to http://msn.com>>
_alert("This is an alert.");
_navigateTo("http://google.com"
;
_alert("This is another alert.");
I am able to start the script on the ipad and it launches http://msn.com. The problem is none of my alerts appear. I only see them if while the script is running I backspace to the sahi pro launcher page. The _navigateTo api works as going to a page is no problem, but that seems to be the only api that works. I also tried some other scripts that were working in the past with apis such as _click, _set, _setValue that aren't working anymore.
The ipad had to get set back to the factory settings after a team member tried to upgrade to iOS7 ( was unsuccessful so had to roll back). The version currently running is 6.1.3.
I setup the the proxy to run sahi, so it should be OK. I didn't find anything helpful in the logs.
Also these same scripts work when I am on a desktop (even if I use the ipad as a user agent).
Thanks.
The actual script is very simple:
<<after launching to http://msn.com>>
_alert("This is an alert.");
_navigateTo("http://google.com"
_alert("This is another alert.");
I am able to start the script on the ipad and it launches http://msn.com. The problem is none of my alerts appear. I only see them if while the script is running I backspace to the sahi pro launcher page. The _navigateTo api works as going to a page is no problem, but that seems to be the only api that works. I also tried some other scripts that were working in the past with apis such as _click, _set, _setValue that aren't working anymore.
The ipad had to get set back to the factory settings after a team member tried to upgrade to iOS7 ( was unsuccessful so had to roll back). The version currently running is 6.1.3.
I setup the the proxy to run sahi, so it should be OK. I didn't find anything helpful in the logs.
Also these same scripts work when I am on a desktop (even if I use the ipad as a user agent).
Thanks.
This discussion has been closed.
Answers
Aug 09, 2013 3:53:12 PM net.sf.sahi.RemoteRequestProcessor save
INFO: Downloading sahi_6c103f5806cc5049a308bf108442acbb223e__en-us-3-0.bdic to t
emp directory:
C:\Users\SVC_SAHI\sahi_pro\userdata\temp\download
Aug 09, 2013 3:53:12 PM net.sf.sahi.RemoteRequestProcessor downloadFile
INFO: Setting download_lastFile = en-us-3-0.bdic
Session Id: sahi_6c103f5806cc5049a308bf108442acbb223e
Rhino lib:Step >_sahi._setValue(_sahi._textbox("UserName"), "kathleen.gardner")<
did not complete in 150 seconds.
logsInfo=html
logType=html logDir=C:\Users\SVC_SAHI\sahi_pro\userdata\logs\playback\kgsearch_s
afari__09Aug2013__15_51_48_402/html
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
at java.util.HashMap$ValueIterator.next(Unknown Source)
at net.sf.sahi.session.Session.removeInactiveSessions(Session.java:400)
at net.sf.sahi.session.Session$1.run(Session.java:117)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
Not sure if this is related to runinng the scripts. These scripts used to work before, but not now.