Validating a Script

Although validation is done every time a step is added, after having completed adding or editing all script steps, an additional script-level validation is recommended.

To perform an on-demand global script validation:

  1. Click the Validate button from the Script ribbon.
  2. The Validation Messages tab displays script errors—such as control statements errors, improper variables use, or improper use of input step arguments—and warnings.

    In addition to the script errors being displayed in the Validation Messages tab, steps containing errors also appear marked with a red cross in the left-most table column. For steps that generate warnings, a yellow arrow icon is used.

  3. If you wish to inspect or correct a particular error, double-click the validation error entry and the corresponding step is selected as current step in the Script Steps table.
  4. Navigating up and down the messages list is done using the buttons.

    Validation checking does not ensure that the script is error free, but it catches only manifest step inconsistencies. Extensive runtime verification of a test script is done using the Debug mode, described in Executing a Script in Debug Mode.