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 File

rupalnrupaln Members
edited November -1 in Sahi - Open Source
I am trying to create a batch file, which would firstly start Sahi.bat and then subsequently run a an existing Suite, any suggestions how I could do that. Since the following seems to only start sahi, doesnt seem to run the ant script, though they work perfectly as separate commands.

call start_sahi

ant -f C:\sahi_suite\Ant_Suite.xml sahitests


Thanks,

Comments

  • narayannarayan Administrators
    Hi,

    This is more a batch file question than a Sahi question.

    Use start instead of call.

    start start_sahi.bat
    ant -f C:\sahi_suite\Ant_Suite.xml sahitests

    Regards,
    Narayan
Sign In or Register to comment.