Debugging Scripts

Run-time errors encountered during playback can be caused by a variety of factors, such as changes in the test application, script coding mistakes, or environmental changes. Quickly diagnosing and fixing these errors by debugging scripts minimizes script maintenance efforts and facilitates a more efficient team testing effort.

Script debugging lets you temporary suspend script playback in the development environment to manage, examine, reset, step through, or continue script playback.

Silk Test Workbench also provides an Output window where you can review automation code and append additional user-defined output. For instance, you can use the Console.Write and the ConsoleWriteLine commands to output additional information.

In addition, you can use the Local Variables window to drill down and see the values of all variables in the script.