You must define global variables within a section globals code block.

section globals
endsection

Manual

You can create the code block manually, then define your global variables within the block. Use IntelliSense to help enter data types and variable names from your test.

Automatic

To use test variables from a group in PAconfigurator, drag the group into PAscript Editor. If the section globals code block is not already present, the code block automatically generates. The variables within the group are added to the code block. Any comments associated with variables in PAconfigurator are transferred and included as comments in the variable definitions.

Figure 34. Create Variable Automatically from PAconfigurator Group
Figure 35. Automatic Section Globals with Variable Definition