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

Method GetCheckListItem

Gets CheckList Item value

Usage

Function GetCheckListItem(
    String Path,
    Integer Position [Optional],
    Boolean Report [Optional]
)

Parameters

Path

Type: String

The path of the CheckList Item

Position (optional)

Type: Integer

Position if CheckList contains few item names

Report (optional)

Type: Boolean

Default Value: False

Generate report for this step

Returns

CheckList Item value or Empty string

Example

VBScript

msgbox Server("API Server").Method("GetBookById").GetCheckListItem("Title")
' set position
msgbox Server("API Server").Method("GetBookById").GetCheckListItem("Title", 0, True)

JavaScript

alert(Server("API Server").Method("GetBookById").GetCheckListItem("Title"));
// set position
alert(Server("API Server").Method("GetBookById").GetCheckListItem("Title", 0, true));

Documentation Categories

ZAPTEST

FARM

LOAD