Debugging Automated Tests in TestComplete
After testers create a new automated test, they should makes sure that it works as expected and does not have errors. TestComplete includes a powerful test debugger that allows testers to easily troubleshoot automated keyword-driven tests and test scripts to quickly fix any errors in them.

Debugging Keyword-Driven Tests

Debugging Automated Test Scripts
The debugger provides all modern debugging features like:
- Using breakpoints (both ordinary and conditional)
- Pausing the automated test execution manually
- Watching objects, variables and arbitrary expressions with changed value highlighting
- Viewing local variables (variables available at the current execution scope)
- Evaluating expressions and inspecting objects
- Stepping through automated tests and individual commands
- Running an automated test to the currently selected command
- Skipping a part of the automated test up to the selected command
- Viewing the call stack of automated test routines
Keyword-Driven test debugging and automated test script debugging are seamlessly integrated: if you step through a keyword test that calls an automated test script routine, the debugger enters the routine and goes through the script statements and vice versa.
The debugger can be turned off after the automated tests work correctly and turned on once a tester needs the debugging features again.