Select Method (ListViewEx)

Class

ListViewEx.

Action

Selects an item from the listview.

Availability

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

Syntax

listView.Select (Item)
Variable Description
Item The item to select. LISTITEM.

Notes

Select selects an item by scrolling the item into view (where applicable) and clicking it with the mouse, if it is not already selected. After selecting the item, Silk Test Classic verifies that the item was selected, and raises the exception E_CONTROL_NOT_RESPONDING if it was not.

If an invalid Item is passed as a parameter, Select() raises the exception E_ITEM_NOT_FOUND.

Example

TestApplication.ListViewDialog.XList.Select ("List")