Variables

Variables enable you to work with steps in which the information or values are not known when you create the test or the information or values for a step change each time the test executes.

You prefix variables with an ampersand (&).

In this example, the first step stores the value in the userid field to the variable &USERID. The second step populates the pwd field with the value in the variable &USERID.

This example illustrates how variables can be used in test steps.

Example of using variables in test steps