fbpx

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

Method GetLocalVar

Gets local variable by name

Usage

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

Parameters

Name

Type: String

Variable name

Report (optional)

Type: Boolean

Default Value: False

Generate report for this step

Returns

Local variable value

Example

VBScript

msgbox Zap.GetLocalVar("demoLocalVariable", True)

JavaScript

alert(Zap.GetLocalVar("demoLocalVariable", true));

Documentation Categories

ZAPTEST

FARM

LOAD