Using repository variables in scripts

Script variables can only be used in the script they are created in. Repository variables can be used in all scripts recorded or run against an application. Repository variables are defined once and saved with a version in the repository.

For example, a repository variable named loginID is defined for the application. To use the variable in a script, enter the variable name where you want to use it. For example:

PrintLn (loginID)

During playback, the default variable value or the value entered when playback started is used. See Entering repository variable values during recording and playback.

Keep the following in mind: