Method SetGlobalVar
Sets global variableUsage
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");
Comment
Get Text property from object and save it to global variable