Get your 6-month No-Cost Opt-Out offer for Unlimited software automation!

Method SetGlobalVar

Sets global variable

Usage

Function ZAP.SetGlobalVar(
	String Name,
	Object Value
)

Parameters

Name

Type: String

Variable name

Value

Type: Object

Variable value

Returns

No return value

Example

VBScript

Zap.SetGlobalVar("GlobalVariableName", "GlobalVariableValue")

JavaScript

Zap.SetGlobalVar("GlobalVariableName", "GlobalVariableValue");

Documentation Categories

ZAPTEST

FARM

LOAD