Forum Discussion

TK6666's avatar
TK6666
Contributor
2 years ago

How to run more than 1 project suite with test execute

Hi there

 

Please could someone advise me.

If i have more than 1 project set up in Test Complete and both projects have keyword tests to run,how would i go about setting this up under the execetion plan so that test executes picks it up and runs all test cases under both projects. Currently my test script is set up like this and only picks up the 1 project and tests under the execution plan.Can this be done?

C:\Program Files (x86)\SmartBear\TestExecute 15\x64\Bin\TestExecute.exe" "C:\Users\Tina\OneDrive - DATASCOPE\Test Complete\WHClient\WHClient.pjs" /run /exit /Project:"Project_WH Client"

2 Replies

  • etelpmoc's avatar
    etelpmoc
    New Contributor

    Hi TK6666

     

    Want to run multiple projects in one project suite?
    If so, see /run in the link below.
    https://support.smartbear.com/testexecute/docs/running/automating/command-line/command-line.html
    "No other arguments specified"

     

    Want to run multiple project suites?
    Batch files allow you to run multiple project suites sequentially.
    ex) test.bat
    cd C:\Program Files (x86)\SmartBear\TestExecute 15\x64\Bin

    call TestExecute.exe C:\work\test1.pjs /run /project:project_name /exit
    call TestExecute.exe C:\work\test2.pjs /run /project:project_name /exit
    call TestExecute.exe C:\work\test3.pjs /run /project:project_name /exit


    Hope this helps.

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    If you have more than one project in your project suite, then enable that project to be run

    The above will then run through the execution plans that have been set up in each project

    In this example, I'm executing scripts and keyword tests.