item, index, key, get, scriptless, script-less, scripted, step, view, stepview

Method Zap.TestParameters.Item

1 of 2 declarations

Gets the parameter by Index

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function Zap.TestParameters.Item ( 
	Integer Index
)

ZAP Utility

Zap.Test...Item

1

item

Index

Output Parameter

Parameters

Index

Type: Integer

Parameter index

Returns

Parameter value as String

Example

VBScript

testParameter = Zap.TestParameters.Item(1)

JavaScript

var testParameter = Zap.TestParameters.Item(1);

Comment

Get item by index and save it to variable parameter

ZAP Utility

Zap.Test...Item

1

item

Method Zap.TestParameters.Item

2 of 2 declarations

Gets the parameter by Key

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function Zap.TestParameters.Item ( 
	String Key
)

ZAP Utility

Zap.Test...Item

demoKey

item

Key

Output Parameter

Parameters

Key

Type: String

Parameter key

Returns

Parameter value as String

Example

VBScript

testParameter = Zap.TestParameters.Item("demoKey")

JavaScript

var testParameter = Zap.TestParameters.Item("demoKey");

Comment

Get item by key and save it to variable parameter

ZAP Utility

Zap.Test...Item

demoKey

item

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227