Expand Method (ExpandBar)

Class

ExpandBar.

Action

Expands an ExpandBar.

Availability

This functionality is supported only if you are using the Open Agent.

Syntax

Expand(Item)
Variable Description
Item The item to expand. LISTITEM.

Notes

Expand expands the specified item if it is currently collapsed (that is, has visible children).

  • If the item has an expand/collapse box (typically a + or - sign), Silk Test Classic expands the item by clicking on this box.

  • Otherwise, if the treeview supports the use of double-click to expand and collapse items, Silk Test Classic double-clicks on the item.

  • If neither approach is supported by the control, or if the specified item is not expandable (that is, has no children), an error is raised.