Information in this topic applies only to web tests that implement the default approach. This property is not supported in cross-platform web tests. |
Description
Use this property to get access to a collection of subitems of the given control’s item.
Declaration
TestObj.Items
Read-Only Property | A TreeViewItemCollection object |
TestObj | A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section |
Applies To
The property is applied to the following objects:
DevExpressASPxTreeListItem, InfragisticsWinTreeItem, JFXTreeViewItem and 11 more objects, JTreeItem, OracleFormsTreeItem, QtTreeWidgetItem, SilverlightTreeViewItem, SyncfusionTreeViewItem, TelerikSilverlightTreeViewItem, TelerikTreeViewItem, TelerikWebTreeViewItem, Win32TreeViewItem, WPFTreeViewItem, YUI2TreeViewItem « Collapse the list
View Mode
This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.
Property Value
An object containing data about the descendant items of the current item.
If the item does not have child items, the Items
property returns null (Nothing
in VBScript, nil
in DelphiScript, None
in Python, null
in JavaScript, JScript, C++Script and C#Script).
Remarks
To obtain a collection of top-level items of a control use the wItems
property.
Example
To view an example that demonstrates how to use the Items
property, see Selecting Tree View Items.