Assigning a Value to a Symbol

You can define symbols and assign values to them by typing them into the test plan, using this syntax:

$symbolname = symbolvalue

where symbolname is any valid 4Test identifier name, prefixed with the $ character and symbolvalue is any string, list, array, or the ? character (which indicates an undefined value).

For example, the following statement defines a symbol named Color and assigns it the STRING value "Red":

$Color = "Red"

If a symbol is defined at a level in the plan where it can be shared by a group of tests, each test can assign its own local value to the symbol, overriding whatever value it had at the higher level.