GetCount Event

Applies to TestComplete 15.42, last modified on August 01, 2022

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


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


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.


The event has the following parameter:


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