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 Utility step

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

Script-Less next step

ZAP Utility

ZAP Utility step

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 Utility step

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

Script-Less next step

ZAP Utility

ZAP Utility step

Zap.Test...Item

demoKey

item

Contact Us

1425 Market Blvd Suite 530-230

Roswell, GA 30076, USA

(800) 795-3552