Forum Discussion
Hassan_Ballan
Champion Level 3
13 hours agoA common reason “Stop and Rerun Current Items” doesn’t behave as expected is configuration rather than a tool fault. Make sure of the following settings:
- Confirm the Playback > Error handling > On error property in Project Properties is set to Stop and rerun current item and that the Rerun failed test items count is configured. See the TestComplete docs here:
https://support.smartbear.com/testcomplete/docs/testing-with/running/control-test-flow/stop-and-rerun.html (SmartBear Support) - In the Execution Plan, verify each test item’s On error column is either set to Use project’s ‘On error’ property or explicitly to Stop and rerun current item. The test item setting takes precedence over the project default. See the property reference here:
https://support.smartbear.com/testcomplete/docs/reference/project-objects/project/testitem/stoponerror.html (SmartBear Support) - Check the overall Playback > Error handling > On error option under Current Project Properties to ensure it matches your intended behavior (Stop and rerun). That option controls what TestComplete does when an error is posted to the log. See the playback settings here:
https://support.smartbear.com/testcomplete/docs/working-with/managing-projects/properties/playback.html (SmartBear Support)
If all three are aligned and the behavior is still not as expected, it can help to isolate with a small test project to verify these values are actually being applied at runtime.
If this resolves your scenario, marking it as the solution helps future readers find it quickly.