Script Variables
Script Variables act as a placeholder in your script that holds a value. A number of RapidSpike scripting actions will create a script variable:
- GenerateData
- PickItem
- ApiRequest
The value of this variable can be recalled later on in your script:
Using Script Variables
When setting up an action that creates a script variable, you will be required to set a name. This creates a name for the script variable you are creating for identification later in your script.
To recall this script variable, the syntax is $ScriptVariable.name
where name refers to the name of the variable you created when setting up the action.
They can be used within the following actions:
- Form
- FormSelector
- OpenURL
- EnterText
- ApiRequest
- AddCookie
Click here for a guide on how to use these actions within your script.