Item Property (RadPanelBarItemCollection Objects)

Applies to TestComplete 15.20, last modified on January 19, 2022

Description

Use the Item property to get access to individual items of the tested control. This property only retrieves information about the subitems of the item, to which the TestObj object corresponds.

Declaration

TestObj.Item(Item)

Read-Only Property A RadPanelBarItem object
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
Item [in]    Required    Variant    

Applies To

The property is applied to the following object:

View Mode

This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.

Parameters

The property has the following parameter:

Item

Specifies the desired item. The Item parameter can have one of the following values:

  • The item’s index within the collection. Index is zero-based, that is it starts from 0. The index of the last item is Count-1.

  • The item’s caption or caption mask.

    To indicate variable parts of the item caption, you can use the asterisk (*) and question mark (?) wildcards or regular expressions. The asterisk corresponds to a string of any length, the question mark corresponds to any single character. The caption can be case-sensitive or case-insensitive depending on the value of the Use case-sensitive parameters project setting.

Property Value

A RadPanelBarItem object that provides information about the specified item.

Remarks

If you use Python or DelphiScript, you should enclose the parameter of the Item property in square brackets: Item[Item].

See Also

RadPanelBarItemCollection Object
Count Property (RadPanelBarItemCollection Objects)

Highlight search results