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.
Running a test suite does not work with IE8 Windows7
Environment: IE8 8.0.7601.17514
Windows7
Sahi V4.4 Release 2013-04-29
jdk: 1.5.0_22
I can use Sahi with the Recorder. Recording and Playback for an individual script through the recorder work fine.
However, I cannot run a suite with IE. The IE browser opens fine, but nothing happens. After some time the scenario fails and the logs read:
Running a suite with Firefox works fine.
Here is the content of the bat file I use to start the suite:
java -cp ..\lib\ant-sahi.jar net.sf.sahi.test.TestRunner -test scripts/TPPR/TPPRComplete.suite -browserType ie -baseURL http://salpt10073/tTPPRPROJECT/ -threads 1
Here is the content of the console:
C:\D\Softs\Sahi\userdata>run_TPPR_suite.bat
C:\D\Softs\Sahi\userdata>java -cp ..\lib\ant-sahi.jar net.sf.sahi.test.TestRunner -test scripts/TPPR/TPPRComplete.suite -browserType ie -baseURL http://salpt10073/tTPPRPROJECT/ -threads 1
test=scripts/TPPR/TPPRComplete.suite
browserType=ie
baseURL=http://salpt10073/tTPPRPROJECT/
threads=1
suiteName = scripts/TPPR/TPPRComplete.suite
base = http://salpt10073/tTPPRPROJECT/
sahiHost = localhost
port = 9999
threads = 1
browserType = ie
this.isSingleSession == false
Added shutdown hook.
http://localhost:9999/_s_/dyn/Suite_start?suite=scripts/TPPR/TPPRComplete.suite&base=http://salpt10073/tTPPRPROJECT/&threads=1&sahisid=sahi_9b8709050a79004a580849b094a106448d34&browserType=ie&html=
Sahi console:
13 fÚvr. 2014 16:07:34 net.sf.sahi.ssl.SSLHelper getKeyManagerFactoryForRemoteFetch
INFO: No SSL Client Cert specified
>>>>>> Tests size = 1
#### Running Script: C:\D\Softs\Sahi\userdata\scripts\TPPR\simpleActions.sah
13 fÚvr. 2014 16:07:49 net.sf.sahi.test.ProcessHelper execute INFO: "C:\Program Files (x86)\Internet Explorer\iexplore.exe" -noframemerging "http://sahi.example.com/_s_/dyn/Player_auto?startUrl=http://salpt10073/tTPPRPROJECT/__SahiAmpersandSahi__sahisid=sahi_9b8709050a79004a580849b094a106448d34sahix41a8a2330ca7a04b620a3b90380292c1c5b3x__SahiAmpersandSahi__isSingleSession=false"
13 fÚvr. 2014 16:07:50 net.sf.sahi.test.ProcessHelper$PIDGatherer run
INFO: PIDs: []; 921 ms
Killing C:\D\Softs\Sahi\userdata\scripts\TPPR\simpleActions.sah
13 fÚvr. 2014 16:10:20 net.sf.sahi.test.ProcessHelper kill
INFO: Kill: []
Logs:
ERROR
Script did not start within 150 seconds. at 13 févr. 2014 16:10:19
Total Memory in JVM (Xmx) is: 63.5625 MB;
Memory currently in use is: 6.37109375 MB;
Memory increment during this test is: 1.44140625 MB
Windows7
Sahi V4.4 Release 2013-04-29
jdk: 1.5.0_22
I can use Sahi with the Recorder. Recording and Playback for an individual script through the recorder work fine.
However, I cannot run a suite with IE. The IE browser opens fine, but nothing happens. After some time the scenario fails and the logs read:
Running a suite with Firefox works fine.
Here is the content of the bat file I use to start the suite:
java -cp ..\lib\ant-sahi.jar net.sf.sahi.test.TestRunner -test scripts/TPPR/TPPRComplete.suite -browserType ie -baseURL http://salpt10073/tTPPRPROJECT/ -threads 1
Here is the content of the console:
C:\D\Softs\Sahi\userdata>run_TPPR_suite.bat
C:\D\Softs\Sahi\userdata>java -cp ..\lib\ant-sahi.jar net.sf.sahi.test.TestRunner -test scripts/TPPR/TPPRComplete.suite -browserType ie -baseURL http://salpt10073/tTPPRPROJECT/ -threads 1
test=scripts/TPPR/TPPRComplete.suite
browserType=ie
baseURL=http://salpt10073/tTPPRPROJECT/
threads=1
suiteName = scripts/TPPR/TPPRComplete.suite
base = http://salpt10073/tTPPRPROJECT/
sahiHost = localhost
port = 9999
threads = 1
browserType = ie
this.isSingleSession == false
Added shutdown hook.
http://localhost:9999/_s_/dyn/Suite_start?suite=scripts/TPPR/TPPRComplete.suite&base=http://salpt10073/tTPPRPROJECT/&threads=1&sahisid=sahi_9b8709050a79004a580849b094a106448d34&browserType=ie&html=
Sahi console:
13 fÚvr. 2014 16:07:34 net.sf.sahi.ssl.SSLHelper getKeyManagerFactoryForRemoteFetch
INFO: No SSL Client Cert specified
>>>>>> Tests size = 1
#### Running Script: C:\D\Softs\Sahi\userdata\scripts\TPPR\simpleActions.sah
13 fÚvr. 2014 16:07:49 net.sf.sahi.test.ProcessHelper execute INFO: "C:\Program Files (x86)\Internet Explorer\iexplore.exe" -noframemerging "http://sahi.example.com/_s_/dyn/Player_auto?startUrl=http://salpt10073/tTPPRPROJECT/__SahiAmpersandSahi__sahisid=sahi_9b8709050a79004a580849b094a106448d34sahix41a8a2330ca7a04b620a3b90380292c1c5b3x__SahiAmpersandSahi__isSingleSession=false"
13 fÚvr. 2014 16:07:50 net.sf.sahi.test.ProcessHelper$PIDGatherer run
INFO: PIDs: []; 921 ms
Killing C:\D\Softs\Sahi\userdata\scripts\TPPR\simpleActions.sah
13 fÚvr. 2014 16:10:20 net.sf.sahi.test.ProcessHelper kill
INFO: Kill: []
Logs:
ERROR
Script did not start within 150 seconds. at 13 févr. 2014 16:10:19
Total Memory in JVM (Xmx) is: 63.5625 MB;
Memory currently in use is: 6.37109375 MB;
Memory increment during this test is: 1.44140625 MB
Comments
What could I do to help corner the issue?
I added some logs (_log and _debug) at the beginning of the test scenario: they do not show.
So the browser opens but the test scenario is not started.
I tried to specify the sahi host (to replace the "localhost"), but there is no option in the testRunner command for that...
It's a shame I've lost the ability to use sahi suites with IE, which is the main feature for automatic testing...
Please help!
I entered the url you requested, and nothing happens. the page remains the starting page I set in the TestRunner parameters.
If I check that url in Chrome, I get a page showing a list of certificates
why do you think it is not working in batch mode when it's working fine from the recorder in playback mode or in Chrome?
Can I have any help. I tried to modify settings of the IE 10 but nothing gets better....I am alone, lost...Help!
With Chrome, the script launched under testrunner.bat worked fine but not with ie (and Firefox).
Thanks
I confirm I have the same issue with IE10, Windows 7, and java 7.
This time, the url (https://sahi.example.com/_s_/dyn/SSLManager) gives me a list of 3 valid certificates:
sahi.example.com
online.alstom.com
sahi.example.com
I seem not to be the only user with this problem...
Does it mean Sahi does not work with Windows 7?
please help,
thanks in advance
Fabien