18 January 2026:


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 run

NagarajNagaraj Members
edited November -1 in Sahi - Open Source
Dear All,

When am running the script in batch mode am getting this error."Firefox is already running but not responding close the Firefox".here is my script running in the command prompt

java -cp ..\\lib\\ant-sahi.jar net.sf.sahi.test.TestRunner "D:/sahi_20091023/sahi/userdata/scripts/Add.suite" "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "http://vinoth:8080/"; default localhost 9999 1 firefox.exe "-profile D:\sahi_20091023\sahi\userdata\browser\ff\profiles\sahi$1 -no-remote"





Regards
Nagaraj

Comments

  • narayannarayan Administrators
    Can you check if you have a directory called
    D:\sahi_20091023\sahi\userdata\browser\ff\profiles\sahi0 ?
  • Yes in that folder i have Sahi0..Sahi9 foldres
  • narayannarayan Administrators
    Nagaraj,

    Could you change

    D:\sahi_20091023\sahi\userdata\browser\ff\profiles\sahi$1
    to
    D:/sahi_20091023/sahi/userdata/browser/ff/profiles/sahi$1

    and try?

    Use userdata/bin/ff_batch.bat as your reference to trouble shoot batch runs.

    Regards,
    Narayan
  • Ya i have tried with this "D:/sahi_20091023/sahi/userdata/browser/ff/profiles/sahi$1" but the same problem exists...even i tried the "ff_batch.bat" for this also it saying the same "Firefox is running"
  • Even for "ff_batch.bat" also it is saying that "Firefox is already running but not responding close the Firefox" please can anyone help.



    Regards
    Nagaraj
Sign In or Register to comment.