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.
Problem while running scripts in batch mode
hi all
while am trying to run my scripts in batch mode am getting a pop-up window saying:
Firefox already in use, but not responding, to open a new window, you must close the existing firefox process, or restart your system.
Am getting this pop-up even if the fire fox is not opened, I restarted the system many times but am facing with the same problem,
the code which I have given to run batch mode is given below:
java -cp "F:\Testing documents\sahi\lib\ant-sahi.jar"
net.sf.sahi.test.TestRunner
"F:/Testing documents/sahi/scripts/Suitename.suite"
"C:\Program Files\Mozilla Firefox\firefox.exe"
http:-/addressurl default localhost 9999 3 firefox.exe
"-profile F:\browser\ff\profiles\sahi$threadNo -no-remote"
please help me out (urgent plz),
Thanks,
Bhaswanth
while am trying to run my scripts in batch mode am getting a pop-up window saying:
Firefox already in use, but not responding, to open a new window, you must close the existing firefox process, or restart your system.
Am getting this pop-up even if the fire fox is not opened, I restarted the system many times but am facing with the same problem,
the code which I have given to run batch mode is given below:
java -cp "F:\Testing documents\sahi\lib\ant-sahi.jar"
net.sf.sahi.test.TestRunner
"F:/Testing documents/sahi/scripts/Suitename.suite"
"C:\Program Files\Mozilla Firefox\firefox.exe"
http:-/addressurl default localhost 9999 3 firefox.exe
"-profile F:\browser\ff\profiles\sahi$threadNo -no-remote"
please help me out (urgent plz),
Thanks,
Bhaswanth
This discussion has been closed.
Comments
Try ending the firefox.exe process from Windows Task Manager ->Processes
Thanks for your response, I tried ending the process in task manager but am still facing the same problem
Thanks,
Bhaswanth
In "-profile F:\browser\ff\profiles\sahi$threadNo -no-remote", the profile path looks incorrect.
Could you move sahi into a folder without spaces (rename Testing documents to Testing_documents), and then use the correct profile path.
("-profile $userDir\browser\ff\profiles\sahi$threadNo -no-remote")
Regards,
Narayan
thanks a lot its just worked after moving sahi out from "Testing documents" folder, but while playing the suite, the scripts are opening in different windows of firefox cant we just open in different tabs on same window.
Thanks,
Bhaswanth
They need to open in different windows so that they can be individually started and killed. Cookies are also kept separate when opened in different windows.
Regards,
Narayan
the suite are running successfully
Thanks,
Bhaswanth