Forum Discussion

steven_yetter's avatar
steven_yetter
Contributor
2 years ago

How to run a suite from Command Line

On TestComplete command line, how do I run all the projects in a suite?   I see a project parameter, do run TestComplete once for each project name in the suite?

 

If I have code to run for a suite, setting suite variables, how do I get that code to run first before any other test in a project.

  • Order and enable the projects that you want to run in Project Suite -> Test Items

    See Examples in TestComplete Command Line

    TestComplete.exe "C:\Work\My Projects\MySuite.pjs" /r /e
  • rraghvani's avatar
    rraghvani
    Champion Level 3

    Order and enable the projects that you want to run in Project Suite -> Test Items

    See Examples in TestComplete Command Line

    TestComplete.exe "C:\Work\My Projects\MySuite.pjs" /r /e