GetItem Event

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

Occurs when the combo box requests the item text.


GetItem(DataIndex) Parameters
Data [in] Required Object
Index [in] Required Integer
Result     String  


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


The event has the following parameters:


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.


The index of the combo box item. Indexes range from 0 to GetCount-1.

Return Value

The text of the specified combo box item.

See Also

Events Reference
AllowInputText Event
GetCount Event

Highlight search results