Method SetProperty (API)

Sets new value to the object property

Usage

Function SetProperty(
    String Name,
    String Value
)

Method

ZAP API Method step

SetProperty

Name

API Method

String Name

String Value

Parameters

Name

Type: String

The name of the property (i.e. "Name")

Value

Type: String

The new value to set (must be a string)

Returns

No return value

Example

VBScript

Server("API Server").Method("Method").SetProperty "Name", "API Method"

JavaScript

Server("API Server").Method("Method").SetProperty("Name", "API Method");

Method

ZAP API Method step

SetProperty

Name

API Method