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.

Can sahi open a browser like selenium?

hishamnhishamn Members
edited November -1 in Sahi - Open Source
Selenium is able to open a browser when u run a script. With sahi u have to open a browser and then run the script. This is not convinient if you have thousands of scripts and want to run them all, for example you could run them and leave for the day and get the results the next day. Is this possible for sahi?

Comments

  • narayannarayan Administrators
    Yes hishamn,

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

    Regards,
    Narayan
  • How do i run the suite file that i create? When i try to run it i get a response saying that windows cannot open the file.
  • I read the sahipro documentation. When i follow the syntax and try to run the suite file from the command line nothing happens. I get no response at all.
  • Hi hishamn,

    You can run you suite file using :

    testrunner.bat demo/demo.suite http://sahi.co.in/demo/ firefox
    testrunner.bat demo/sahi_demo.sah http://sahi.co.in/demo/ ie
    testrunner.bat demo/tagged_suite.csv http://sahi.co.in/demo/ ie "'tag one',tag2"

    Kindly check if the suite file and the .sah files are present in the same folder.

    If you do not want the .sah file and the suite file to be in the same folder then you will have to mention the full path of the sah file in the suite file.

    Regards
    Sumitra
Sign In or Register to comment.