Item property to get access to individual items of the tested menu. This property retrieves information only about the subitems of the menu object to which the TestObj object corresponds.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
The property is applied to the following object:
The property has the following parameter:
Specifies the desired item. The Item parameter can have one of the following values:
- The item’s index within the collection. The index is zero-based, that is it starts from 0. The index of the last item is
The item’s caption or caption mask.
To indicate variable parts of the item's caption, you can use the asterisk (*) and question mark (?) wildcards. An asterisk corresponds to a string of any length, a 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.
- The path to the item, in case the desired item is a child item of the given collection. Each item in the path can be specified by its caption or index. Indexes must be enclosed in brackets - [ and ]. Individual captions and indexes in the path must be separated by a pipeline ( | ).
Note: If the item caption includes a bracket or a pipeline character, address the item by its index or with the question mark wildcard.