Method SetProperty (API)
Sets new value to the object propertyUsage
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
![](https://www.zaptest.com/wp-content/uploads/2022/02/1SCRIPT_STEP.jpg)
ZAPTEST
![](https://www.zaptest.com/wp-content/uploads/2022/02/FARM.jpg)
FARM
![](https://www.zaptest.com/wp-content/uploads/2022/02/LOAD.jpg)