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 ant task

cedced Members
edited November -1 in Sahi - Open Source
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
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

  • cedced Members
    any clue to solve my issue?
  • cedced Members
    anyone?
  • narayannarayan Administrators
    Hi ced,

    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
  • cedced Members
    no luck: still receive the file not found error
  • narayannarayan Administrators
    Hi ced,

    Will you be available for a desktop sharing session to trouble shoot this issue? Around 8:00 PM IST?

    Thanks,
    Narayan
  • cedced Members
    I hope that my time conversion is right, but I think there's no problem:
    I would like to use join.me: I'll post here the URL around 3.30pm GMT+1 (that sould be 8pm IST, right?)
  • cedced Members
    I think we could cancel our meeting: the version you released this night seems to work.
    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
  • narayannarayan Administrators
    No problem. Keep us posted.

    Regards,
    Narayan
Sign In or Register to comment.