Variables

At run time, when a breakpoint is encountered or when execution is paused, this tab is populated with the variables values computed at that moment.

Only variables valid for the current context are shown, for example, if execution is halted in a procedure call, only local procedure variables are shown.

Both simple and composite variables are shown, the latter using a tree representation (Figure: Variables Tab ).

Figure: Variables Tab

For a description of the supported variables types, see About Variables.

When working with multiple scripts opened at the same time in the GUI (MDI functionality), this tab displays information for the currently executing test script.

While in the Variables tab, variables values can be edited, and script execution is then resumed with the new values.

View and Edit Variable

The visualizer allows you to view content of a variable and edit them. Select the variable from the list in the Variables window and click to open the visualizer. Depending on the visualizer settings, any of the following visualizer window opens:

  • List Visualizer window: The List Visualizer window displays the variable values in the form of a list. You can view the entire content of the variable and edit them.
  • Text Visualizer window: The Text Visualizer window displays the variable values in a text editior. It allows you to view entire content of a variable and edit them. The text editor has scrollbars that can be used to access parts of the text that do not fit into the text editor. Instead of using the horizontal scrollbar, you can also select the Wrap check-box to enable text wrapping so that the portions that do not fit in a single line appear in the next line.

The visualizer window that opens when you click depends on the visualizer settings. The visualizer settings are defined at the variable level, that means settings defined for one variable is not applicable for the others. Also, the default visualizer settings are not same for all the variables. Depending on the variable type the default visualizer settings are defined.