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.

Unable to run suite in Ant

BhavithaBhavitha Members
edited November -1 in Sahi - Open Source
Hi,

I am not able to run scripts through Ant in FireFox browser as the following error occurs :-
"Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system".

I did restarted my system but still the same erorr is occurring.
Here is my xml
<project name="demo" default="sahitests">

<taskdef name="sahi" classname="net.sf.sahi.ant.RunSahiTask" classpath="D:\sahi_20101103\sahi\lib\ant-sahi.jar"/>

<target name="fftests">
<sahi suite="D:\sahi_20101103\sahi\userdata\scripts\ffsuite.suite "
browser="C:\Program Files\Mozilla Firefox\firefox.exe"
baseurl="http://machine_name:10000/demo/";
sahihost="localhost"
sahiport="9999"
failureproperty="sahi.failed"
haltonfailure="false"
browseroption="-profile ${userdata.dir}/browser/ff/profiles/sahi$threadNo -no-remote"
browserprocessname="firefox.exe "
threads="1">
</sahi>
<antcall target="failsahi"/>
</target>


Note- FYI... The same ant script was working before. But later i used command line to run the suite in FF browser and once it was done i immediately again used ant to run the suite in FF, this is the time i encountered the error of FireFox is already running.

Can anyone help as to what might be the problem.

Regards,
Bhavitha
Sign In or Register to comment.