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.
Script playback working but same script hangs in suite
I have a very simple script
init.sah
_click(_span("Catalogue"));
when I use the sahi controller with playback,
that I set the url to XXXX,
then play,
the link is correctly clicked and the new page is displayed
I create my.suite with only one line
init.sah /
I run with : java -cp ..\lib\ant-sahi.jar net.sf.sahi.test.TestRunner c:/sources/sahi/userdata/scripts/my.suite "C:\Program Files\Internet Explorer\IEXPLORE.EXE" XXXXX default localhost 9999 1 iexplore.exe "-noframemerging"
The SAHI proxy console displays :
#### Running Script: C:\sources\sahi\userdata\scripts\init.sah
15 juin 2010 11:34:51 net.sf.sahi.test.ProcessHelper execute
INFO: "C:\Program Files\Internet Explorer\IEXPLORE.EXE" -noframemerging "XXXXsahi.example.com/_s_/dyn/Player_auto?file=C%3A%5Csources%5Csahi%5Cuserdata%5Cscr
ipts%5Cgabi-init.sah__SahiAmpersandSahi__startUrl=http%3A%2F%2Fwebgabi%2Findex.p
hp__SahiAmpersandSahi__sahisid=sahi_c8068bba0645404a290a2680072cf13082f5sahix059
423680479804fa7085fb0a4922d1d9536x"
15 juin 2010 11:34:52 net.sf.sahi.test.ProcessHelper$PIDGatherer run
INFO: PIDs: []; 438 ms
Killing C:\sources\sahi\userdata\scripts\init.sah
15 juin 2010 11:37:37 net.sf.sahi.test.ProcessHelper kill
INFO: Kill: []
Same error with FF ...
PS : I needed to edit this post 5 times to avoid the error : New Members can not post links, images or email addresses until they become more active.
This is FRUSTRATING !!!!!!!!!!!!!!!!!
And now, the post does not have any links but only XXXX .... but I do not know if my error stays comprehensible
init.sah
_click(_span("Catalogue"));
when I use the sahi controller with playback,
that I set the url to XXXX,
then play,
the link is correctly clicked and the new page is displayed
I create my.suite with only one line
init.sah /
I run with : java -cp ..\lib\ant-sahi.jar net.sf.sahi.test.TestRunner c:/sources/sahi/userdata/scripts/my.suite "C:\Program Files\Internet Explorer\IEXPLORE.EXE" XXXXX default localhost 9999 1 iexplore.exe "-noframemerging"
The SAHI proxy console displays :
#### Running Script: C:\sources\sahi\userdata\scripts\init.sah
15 juin 2010 11:34:51 net.sf.sahi.test.ProcessHelper execute
INFO: "C:\Program Files\Internet Explorer\IEXPLORE.EXE" -noframemerging "XXXXsahi.example.com/_s_/dyn/Player_auto?file=C%3A%5Csources%5Csahi%5Cuserdata%5Cscr
ipts%5Cgabi-init.sah__SahiAmpersandSahi__startUrl=http%3A%2F%2Fwebgabi%2Findex.p
hp__SahiAmpersandSahi__sahisid=sahi_c8068bba0645404a290a2680072cf13082f5sahix059
423680479804fa7085fb0a4922d1d9536x"
15 juin 2010 11:34:52 net.sf.sahi.test.ProcessHelper$PIDGatherer run
INFO: PIDs: []; 438 ms
Killing C:\sources\sahi\userdata\scripts\init.sah
15 juin 2010 11:37:37 net.sf.sahi.test.ProcessHelper kill
INFO: Kill: []
Same error with FF ...
PS : I needed to edit this post 5 times to avoid the error : New Members can not post links, images or email addresses until they become more active.
This is FRUSTRATING !!!!!!!!!!!!!!!!!
And now, the post does not have any links but only XXXX .... but I do not know if my error stays comprehensible
Comments
1) I actually could not figure what problem you are facing.
2) Sorry that it is frustrating to new forum members like you. Spam has been a big problem and this has reduced spam on this forums a lot. Necessary evil. (But it is also reassuring to know that spammers are equally frustrated.) I have yanked your post count up, so that you can post your problem properly.
Regards,
Narayan
Could this be a problem because my application is based on extjs ?
Sahi works well with extjs. Do not worry about that. The output that you have posted is fine and expected. Nothing wrong there. Could you specify what the problem is? Is the browser not opening up? Is it getting stuck? Is the script failing somewhere? What do you see in the playback logs?
What version of browser are you using?
Regards,
Narayan
I am facing same kind of issue. My scripts run well in sahi controller, the sahi demo suite also runs (not fully). I tried to run another simple suite,
"GoogleSuite.suite " which contains
.google_search_dd.sah ****
Url opens but the script is not running.
Log shows,
Test Total Steps Failures Errors Success Rate Time Taken (ms)
google_search_dd.sah 1 0 1 0% 155062
Starting script
JSERROR
Script did not start within 150 seconds. at Jul 24, 2010 9:52:26 AM
Stopping script
>that I set the url to XXXX,
.......
>I create my.suite with only one line
>init.sah /
you should write
init.sah XXXX not init.sah /