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.
Batch mode v3.5, chrome problem
Hi all,
I've got a problem with running batch tests under chrome in windows xp. I have an assumption why it is not working, but I don't know how to fix it.
When I start the batchjob chrome opens up and opens the several tabs for the tests instead of new windows. The test then do not perform, they connect to the first page and then "die". To start the test I use this command:
java -cp ..\..\lib\ant-sahi.jar net.sf.sahi.test.TestRunner -test [TESTPATH] -browserType chrome -baseURL "[MY_URL]" -host localhost -port 9999 -threads 3
Additionally I should mention that starting chrome itself by clicking on the chrome-button in the sahi-application chrome opens with 3 tabs already opened. One of them is the sahi startpage as expected. The other two tabs are error tabs with strange snippets in their url-input: one has "und/" , the other one has "htttp://einstellungen/pmel/sahi/userdata/browser/chrome/profiles/sahi0". The configuration of chrome sais:
<browserType>
<name>chrome</name>
<displayName>Chrome</displayName>
<icon>chrome.png</icon>
<!--<path>$LOCALAPPDATA\Google\Chrome\Application\chrome.exe</path>-->
<path>C:\Dokumente und Einstellungen\pmel\Lokale Einstellungen\Anwendungsdaten\Google\Chrome\Application\chrome.exe</path>
<options>--user-data-dir=$userDir\browser\chrome\profiles\sahi$threadNo --proxy-server=localhost:9999 --disable-popup-blocking</options>
<processName>chrome.exe</processName>
<capacity>5</capacity>
</browserType>
Anyway, this folder "$userDir\browser\chrome\" under "options" does not exist! The browser dir only has the "ff" folder. I guess this might be the problem...but I don't know.
Thanx guys,
regards.
I've got a problem with running batch tests under chrome in windows xp. I have an assumption why it is not working, but I don't know how to fix it.
When I start the batchjob chrome opens up and opens the several tabs for the tests instead of new windows. The test then do not perform, they connect to the first page and then "die". To start the test I use this command:
java -cp ..\..\lib\ant-sahi.jar net.sf.sahi.test.TestRunner -test [TESTPATH] -browserType chrome -baseURL "[MY_URL]" -host localhost -port 9999 -threads 3
Additionally I should mention that starting chrome itself by clicking on the chrome-button in the sahi-application chrome opens with 3 tabs already opened. One of them is the sahi startpage as expected. The other two tabs are error tabs with strange snippets in their url-input: one has "und/" , the other one has "htttp://einstellungen/pmel/sahi/userdata/browser/chrome/profiles/sahi0". The configuration of chrome sais:
<browserType>
<name>chrome</name>
<displayName>Chrome</displayName>
<icon>chrome.png</icon>
<!--<path>$LOCALAPPDATA\Google\Chrome\Application\chrome.exe</path>-->
<path>C:\Dokumente und Einstellungen\pmel\Lokale Einstellungen\Anwendungsdaten\Google\Chrome\Application\chrome.exe</path>
<options>--user-data-dir=$userDir\browser\chrome\profiles\sahi$threadNo --proxy-server=localhost:9999 --disable-popup-blocking</options>
<processName>chrome.exe</processName>
<capacity>5</capacity>
</browserType>
Anyway, this folder "$userDir\browser\chrome\" under "options" does not exist! The browser dir only has the "ff" folder. I guess this might be the problem...but I don't know.
Thanx guys,
regards.
Comments
Thanks in advance!