Set/Clear Variables command (Admin menu)

Use this command to set or clear system variables.

Wherever possible scripts should be written with test station specific details such as com port and telephone numbers defined as systems variables.

To set a system variable select this option, enter the variable name in the top left edit box, its intended value in the right hand box and then press Add.

Set Clear Variables Dlg

A system variable can be any comma separated combination of the following:-

Type Description
String Text delimited by quotes.
Integer Any integer value.
Double Any floating point number including the use of exponent.
Boolean True or False (case is ignored).
Test Result Passed or Failed (case is ignored).

To change a variable select it in the list control then edit its value in the edit box at the top and press Add.

To delete a variable simply double click on its entry and press Yes when asked or select it and press delete followed by Yes when asked.

The value entered for your variable is checked by the TestScriptRunner parser and will only be entered or changed if valid. If the value of the variable is considered invalid you will get the following error message:-

Invalid Variable

If at any point you decide that you have made an error and do not wish to save your changes simply press Cancel.