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.
Unable to run ant task
Everything works fine when running from command line.
it's actually broken when I'm trying to use ant task (even with the default demo.xml in sahi root):
first of all it runs server on port 10000 but demo files are configured for port 9999,
solved that I receive this error
do you have any clue about what's happening here?
windows
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
w/ ANT 1.8.2
it's actually broken when I'm trying to use ant task (even with the default demo.xml in sahi root):
first of all it runs server on port 10000 but demo files are configured for port 9999,
solved that I receive this error
java.io.FileNotFoundException h**p://localhost:10000/_s_/dyn/Suite_start?suite=..%2Fuserdata%2Fscripts%2Fdemo%2Fdemo.suite&base=http%3A%2F%2Fsahi.co.in%2Fdemo%2F&threads=6&sahisid=sahi_ed1d67770d64904d22084e2069992e3cb347&browser=C%3A%5C%5CProgram+Files%5C%5CInternet+Explorer%5C%5Ciexplore.exe&browserProcessName=iexplore.exe&browserOption=-noframemerging&html=
[...]
java.io.FileNotFoundException: c:\work\tests\sahi\htdocs\_s_\dyn\Suite_start?suite=..%2Fuserdata%2Fscripts%2Fdemo%2Fdemo.suite&base=http%3A%2F%2Fsahi.co.in%2Fdemo%2F&threads=6&sahisid=sahi_ed1d67770d64904d22084e2069992e3cb347&browser=C%3A%5C%5CProgram+Files%5C%5CInternet+Explorer%5C%5Ciexplore.exe&browserProcessName=iexplore.exe&browserOption=-noframemerging&html= (The system cannot find the path specified)
[...]
STATUS:FAILURE
do you have any clue about what's happening here?
windows
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
w/ ANT 1.8.2
Comments
Which ant target are you using? If you start Sahi, and then from another command prompt, run
ant -f demo.xml runfftests
or
ant -f demo.xml runietests
You should see the suite running.
You need not change the port from 10000 to 9999.
Regards,
Narayan
Will you be available for a desktop sharing session to trouble shoot this issue? Around 8:00 PM IST?
Thanks,
Narayan
I would like to use join.me: I'll post here the URL around 3.30pm GMT+1 (that sould be 8pm IST, right?)
I'll have to do some furthers checks to try integration with my build server.
I'll let you know if I'll have some more issues
Regards,
Narayan