fbpx

Method GetGlobalVar

Gets globar variable value by name

Usage

Function ZAP.GetGlobalVar ( 
  String Name,
  Boolean Report [Optional]
)

Parameters

Name

Type: String

Variable name

Report (optional)

Type: Boolean

Default Value: False

Generate report for this step

Returns

Global variable value

Example

VBScript

msgbox Zap.GetGlobalVar("demoGlobalVariable", True)

JavaScript

alert(Zap.GetGlobalVar("demoGlobalVariable", true));

Documentation Categories

ZAPTEST

FARM

LOAD

Virtual Expert

ZAPTEST

ZAPTEST Logo