fbpx

Method SetProperty (API)

Sets new value to the object property

Usage

Function SetProperty(
    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");

Documentation Categories

ZAPTEST

FARM

LOAD

Virtual Expert

ZAPTEST

ZAPTEST Logo