At run time of a test, the state number and the state name can be written in a test variable. The values of these two state variables are then available online.
  1. To define the state variables, select State machine » Properties.
  2. Assign the variables in the Properties dialog box.
    Figure 57. Dialog for Assigning State Variables


  3. When entering into each of the fields, the selection dialog for names opens. Define the following:
    • State name: Variable of type Str[n] with sufficient length
    • State number: Variable of type Integer