Applies to TestComplete 14.40, last modified on May 21, 2020

When you run tests (either test items specified on the Test Items page or from the command line), by default, if an error occurs, TestComplete stops the entire project right after an error message is posted to the test log. It does not execute any other tests.

To change the default behavior and configure TestComplete to stop only the current test item and proceed with further test items:

Approach 1

  1. On the Test Items page of your project, make sure that the On error property of a test item is set to Use project’s 'On error' property:

    Set the On error property to Use project's On error property

    Click the image to enlarge it.

  2. On the Properties page of your project, set the Playback> Error handling > On error property of your project to Stop current item:

    Set the On error property of the project to Stop current item

    Click the image to enlarge it.

Approach 2

On the Test Items page of your project, set the On error property of your test item to Stop current item:

Set the On error proeprty to Stop current item

Click the image to enlarge it.

Note: The test item will ignore the Error handling > On error property of your project.

Whenever you run your project and an error occurs in a test item, TestComplete will stop the problematic test item immediately and proceed with the following sibling test item:

Stop current item and proceed with testing

Click the image to enlarge it.

See Also

Controlling Test Execution Flow
About Controlling Test Execution Flow
Project Properties - Playback Options

Highlight search results