Skip to main content

Command: Execute Script

Symbol: _tm_icon_run_script.png

Function: The command executes the selected test script. After the test run, the test report opens in a separate editor.

Call: Context menu of a test script in the Test Manager view, Test Scripts tab

Requirement: Exactly one test script is selected on the Test Scripts tab.

. Sequence
  1. If test script editors with unsaved changes are open, then a prompt to save is displayed.

  2. The Execute Test dialog will open.

  3. After you click Start, the test script is executed. During this time, the TestController application with the Test Progress user interface is open. The _tm_img_testprogress.png icon is displayed in the taskbar.

  4. After the test run, the test report will open.

Important

Only one test script can be executed at a time. If a test run is already active, then an error message is displayed.

Tip

The test report is not saved automatically after the test run. Save it in the open test report with Save as HTML. You define where the test report is saved in the Manage Test Reports dialog.

Dialog: Execute Test

Name of the tester

Name which is displayed as the tester in the test report

The name used last is preset; for the first test run, the Windows user name is preset.

Create verbose report

_tm_icon_checkbox_checked.png: The test report also contains the values of variable assignments in the Assignment, Test Script Call, Test Action, and Choose (conditions) test elements.

Disable the option if you want to save storage space.

Start

Starts the test run

The Test Progress window of the TestController application opens and shows the progress of the test run.

Cancel

Closes the dialog without executing the test script

You can also execute test scripts from the command line. For troubleshooting, use the Debug Script command.

For more information, see the following: Command: Save as HTML, Dialog: Manage test reports, Test Progress, Command: debug script, Command: Run script with calibration