About Running Tests With TestExecute

Applies to TestExecute 15.40, last modified on March 25, 2022

From the Command Line

TestExecute operates as a true command-line utility. You specify the project or project suite to open and the tests to run by using command-line arguments. Here is the example of how you can run a test project from a command line:

TestExecute.exe "C:\Work\SmartBear\TestExecute\Projects\My\MySuite.pjs" /r /p:MyProj

For complete information on TestExecute command-line arguments, see TestExecute Command Line.

From the TestExecute Menu

You can also run tests from the TestExecute menu:

  1. Right-click the TestExecute icon () in the notification area (tray).

  2. Click Open and browse for the project or project suite you want to run.

    Note: TestExecute always opens the entire project suite, not individual projects.
  3. From the Run menu, select the project suite or project to be run.

    — or —

    Press Shift+F3 to run the entire project suite. (The shortcut can be changed in Options | General | Global Shortcuts)

    Running tests from TestExecute context menu

    Click the image to enlarge it.

After the test run is over, TestExecute will open test results and also save them to the folder specified as a log location for a current project. By default, test results are saved in the project folder.

Note: You can change the location for storing logs, but not directly in TestExecute. To do this, open your project in TestComplete and use the project’s General > Project log location property. For more information, see the TestComplete Documentation.

To learn how to disable displaying test results after each test run, see Disabling TestExecute Logs.

See Also

Calling Script Routines via COM
Configuring Your System

Highlight search results