fbpx

Method TestParameters.Contains

Checks if the parameter with given key exist

Usage

Function ZAP.TestParameters.Contains ( 
	String Key
)

Parameters

Key

Type: String

Parameter key

Returns

True if key exists, otherwise false

Example

VBScript

If Zap.TestParameters.Contains "demoKey" then
    ...
End If

JavaScript

if (Zap.TestParameters.Contains("demoKey")) {
    ...
}

Documentation Categories

ZAPTEST

FARM

LOAD

Virtual Expert

ZAPTEST

ZAPTEST Logo