BuiltIn.GetListCount Method

Applies to TestComplete 15.64, last modified on June 12, 2024
This method is obsolete. See the Remarks section below.


In TestComplete, some methods and properties return a list of items, for instance, Win32ComboBox.wItemList. GetListCount returns the number of items in this type of list.


BuiltIn.GetListCount(List, Delimiter)

List [in]    Required    String    
Delimiter [in]    Optional    String Default value: CR, LF   
Result Integer

Applies To

The method is applied to the following object:


The method has the following parameters:


A string that holds a list of values separated by characters specified by the Delimiter parameter.


A character or string that is used as an item separator in the List string. By default, TestComplete considers that the items are separated with line breaks (0Dh, 0Ah symbols).

Result Value

An integer value that means the number of values in the passed list.


This method is obsolete. It is supported for backward compatibility only. To get the number of items in a list, use the aqString.GetListLength method.

See Also

GetListLength Method
GetListItem Method
ListSeparator Property

Highlight search results