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.

How to run a multiple suite file at a time?

jeevarathinamsjeevarathinams Members
edited November -1 in Sahi - Open Source
Hi all,

Now i'm able to run a single suite file using command prompt. In Sahi, can we able to run a multiple suite file at a time?. If so means, Could you please tell me how to perform this?

Kindly let me know if you find any solution for the above issue.

Thanks in advance.

Regards,
Jeeva

Comments

  • Hi jeevarathinams,

    Yes, it is possible to run more than one suite at the same time.

    You can install two instances of Sahi in different place. You can set the proxy port as 9999 in sahi.properties for one instance of Sahi and 9998 in sahi.properties for another instance of Sahi.

    Now, you can open 2 command prompts and run the suite file for corresponding instances of Sahi

    Regards
    Sumitra
  • Thanks for your quick reply. I will check it & let you know if i face any issues.
  • Hi jeevarathinams,

    You can run 2 instance of suite file at a time by launching 2 command prompt and running two suite file using testrunner.bat. But you need to make few changes:

    1)Navigate to <sahi-home>/config/sahi.properties and change

    ff.profiles.max_number=10 as

    ff.profiles.max_number=20

    2) Click on configure on the dashboard, create another xml for firefox which should look like this:
    <browserType> 
            <name>firefox1</name> 
            <displayName>Firefox1</displayName>
            <icon>firefox.png</icon>
            <path>$ProgramFiles\Mozilla Firefox\firefox.exe</path>  
            <options>-profile "$userDir/browser/ff/profiles/sahi$threadNo" -no-remote</options>  
            <processName>firefox.exe</processName> 
            <capacity>5</capacity>  
         </browserType>
    
        <browserType> 
            <name>firefox4</name> 
            <displayName>Firefox 4</displayName>
            <icon>firefox.png</icon>
            <path>$ProgramFiles\Mozilla Firefox 4.0 Beta 7\firefox.exe</path>  
            <options>-profile "$userDir/browser/ff/profiles/sahi$threadNo" -no-remote</options>  
            <processName>firefox.exe</processName> 
            <capacity>5</capacity>  
        </browserType>
    

    Restart Sahi.

    Let me know if you face any problem.

    Regards
    Sumitra
Sign In or Register to comment.