If the condition that you have specified in the IF statement is false, the statements following the ELSE statement are executed.

Note: The ELSE statement is optional.

To add an ELSE statement:

  1. In KEYWORD VIEW, select the step that contains the IF statement.
  2. From the QuickTest Professional menu bar, select INSERT ? CONDITIONAL STATEMENT ? ELSE. The ELSE step appears in KEYWORD VIEW.
  3. Define the ELSE condition.

Note: The ELSE statement is not available unless you select the step that contains the IF statement.