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.

What is the difference between command line and ant

edited November -1 in Sahi - Open Source
Sahi allows running multiple tests in batch mode using the command line and using ant.

What is the difference between command line and ant.

i am unable to understand through provided information

Comments

  • narayannarayan Administrators
    Command line (as meant here) is just invoking a batch or shell script.
    Ant will need ant to be installed, and you will need to invoke Sahi via a target in the ant build file.
  • I have executed multiple tests using commandline & Ant.
    As you said in above comment the way of invoking is different but both intention is running multiple scripts.
    Is there any significance difference like faster execution and if any.

    When should we use Commandline or Ant.
    Please let know.
  • narayannarayan Administrators
    Hi Ashok,
    There is no difference except of convenience. Some people want to use ant so that they can integrate with existing build scripts. Some people do not want the added baggage of ant, and prefer just to use the batch files. Both ant and commandline invoke the same thing and execute the same way.
    Hope that helps,
    Narayan
Sign In or Register to comment.