set, update, create, item, test, parameter, scriptless, script-less, scripted, step, view, stepview

Method Zap.TestParameters.SetItem

Sets item Value or creates new one with given Key

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function Zap.TestParameters.SetItem( 
	String Key,
	String Value
)

ZAP Utility

ZAP Utility step

Zap.Test...SetItem

demoKey

demoValue

Key

Value

Parameters

Key

Type: String

Parameter key

Value

Type: String

Parameter value

Returns

No return value

Example

VBScript

Zap.TestParameters.SetItem "demoKey", "demoValue"

JavaScript

Zap.TestParameters.SetItem("demoKey", "demoValue");

Comment

Set new value for "demoKey" test parameter

Script-Less next step

ZAP Utility

ZAP Utility step

Zap.Test...SetItem

demoKey

demoValue

Contact Us

3150 Roswell Rd NW

Atlanta, GA, 30305, USA

(800) 795-3552