GetCount Event

Applies to TestComplete 15.69, last modified on November 13, 2024

Occurs when the combo box requests the number of its items.

Declaration

GetCount(Data) Parameters
Data [in] Required Object
Result     Integer  

Description

Custom keyword test operations can use combo box in-place editors in the Keyword Test editor. The GetCount event occurs when the combo box in-place editor requests the number of its items. To specify the item values, use the GetItem event handler.

The default event handler used by TestComplete always returns 0, so that combo-box in-place editors have no items by default.

Parameters

The event has the following parameter:

Data

An object that provides access to the operation fields. This object contains properties that correspond to individual operation fields and whose names coincide with the field names.

Return Value

The number of items in the combo box.

See Also

Events Reference
AllowInputText Event
GetItem Event

Highlight search results