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.

test suite

ravinderravinder Members
edited November -1 in Sahi - Open Source
In sahi, how we can create a test suite???

Comments

  • narayannarayan Administrators
    Hi Ravinder,

    Please look at http://sahi.co.in/w/Running+multiple+tests+in+batch+mode

    (This is the first link that comes up if you search for "sahi test suite" on google!)

    Regards,
    Narayan
  • Hi,

    I used notepad to create test suite and added following text in it.

    script1.sah https://www.website.com
    script2.sah https://www.website.com

    and saved file with extension .suite i.e. test.suite
    Then I copied test suite and related scripts in a folder in "bin" folder of sahi.
    and used following command to run the suite

    C:\sahi\userdata\bin>testrunner.bat foldername/test.suite https://www.website.com firefox

    but it is not running and giving following error in "Start Sahi" cmd
    "The system could not find the file specified"
    am I doing something wrong?? need your help...
  • ravinderravinder Members
    edited April 2011
    C:\sahi\userdata\bin>testrunner.bat script1.sah https://www.website.com firefox

    This command is working fine to run a single script but not for a suite
  • narayannarayan Administrators
    As specified in the documentation:

    File path is relative to userdata/scripts
  • Actually file is not getting saved as a suite file....... I saved the file with ".suite" extension......

    testrunner.bat is working fine.....i have checked it with "demo.suite" available in sahi..
Sign In or Register to comment.