Error Handling Logic

Error handling logic eliminates the need for debugging playback errors by telling the visual test to detect errors, and how to respond to them when they occur. Error handling enables the visual test to playback to completion and provides insight into errors encountered during playback.

Error handling logic consists of the following elements:

If <error=TRUE> Then
  __<Action to take>

For example, if an error occurs, a fail message and flag is sent, unless you have error handling set to resume the next step:

On error 'Resume next'

You can create error handling logic using either the Test Logic Designer wizard, the Logic Toolbox, or by choosing Insert > Error Handling.