transaction, scriptless, script-less, scripted, step, view, stepview

Method Zap.GetLocalVar

Gets local variable by name

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function Zap.GetLocalVar ( 
	String Name
)

ZAP Utility

Zap.GetLocalVar

localVar

temp

Name

Output Parameter

Parameters

Name

Type: String

Variable name

Returns

Local variable value

Example

VBScript

msgbox Zap.GetLocalVar("demoLocalVariable")

JavaScript

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

Comment

Get value from "localVar" variable and save it to "temp" variable

ZAP Utility

Zap.GetLocalVar

localVar

temp

Contact Us

1425 Market Blvd Ste 530 - 230

Roswell, GA 30076 USA

(800) 795-3552