Get your 6-month No-Cost Opt-Out offer for Unlimited software automation!

Method SetCheckListItem

Sets CheckList Item value

Usage

Function SetCheckListItem(
    String Path,
    String Value,
    Boolean Overwrite [Optional]
)

Parameters

Path

Type: String

The path of the CheckList Item

Value

Type: String

The new value to set (must be a string)

Overwrite (optional)

Type: Boolean

Default Value: True

True if keep only single Checklist Item name in a list, False to add a new item in a collection

Returns

No return value

Example

VBScript

Server("API Server").Method("GetBookById").SetCheckListItem "Author", "Unknown", True

JavaScript

Server("API Server").Method("GetBookById").SetCheckListItem("Author", "Unknown", true);

Documentation Categories

ZAPTEST

FARM

LOAD