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

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227