Forum Discussion

devi_qa13's avatar
devi_qa13
Occasional Contributor
11 years ago

Execute Multiple Project suites same time

Hi



I have several project suites and I want to execute multiple project suites at one time.

How can I set up the setting? Please help me on this.



Thanks for you help.
  • AlexKaras's avatar
    AlexKaras
    Icon for Champion Level 3 rankChampion Level 3
    Hi Devi,



    It is not possible to execute more than one project suite on the given box simultaneously.

    You may consider Network Suite functionality of TestComplete if you need to execute concurrently different projects of the same project suite from different computers.
  • jorgesimoes1983's avatar
    jorgesimoes1983
    Regular Contributor

    Do you really need to execute the projects simultaneous? Or one at a time in queue?

     

    If you just need to queue it I have created a simple batch file to assist me running the projects:

     

    something like this:

     

    "runner.bat"

     

    :repeat
    @echo off

    setlocal enableextensions enabledelayedexpansion
    set "CAMINHOBASE=C:\tests"

    SET "run_PROJECT1=1"
    SET "run_PROJECT2=1"

    SET "run_PROJECT2=0"

    :: value = 0, doesn not run, 1 runs
       
    :: PROJECT1
    set "NOMEPROJETO=PROJECT1"
    IF !run_PROJECT1!==1 (   
        set "CAMINHOPROJETO=%CAMINHOBASE%\%NOMEPROJETO%\%NOMEPROJETO%.mds"
        "C:\Program Files (x86)\SmartBear\TestComplete 10\Bin\TestComplete.exe" "!CAMINHOPROJETO!" /run /project:"%NOMEPROJETO%" /exit /SilentMode
    )    
        
    :: PROJECT2
    set "NOMEPROJETO=PROJECT2"
    IF !run_PROJECT2!==1 (   
        set "CAMINHOPROJETO=%CAMINHOBASE%\%NOMEPROJETO%\%NOMEPROJETO%.mds"
        "C:\Program Files (x86)\SmartBear\TestComplete 10\Bin\TestComplete.exe" "!CAMINHOPROJETO!" /run /project:"%NOMEPROJETO%" /exit /SilentMode

     

    endlocal
    goto repeat