Selects an item in the multi- or extend-selection list box.
|Item||The item to select. LISTITEM.|
If the item is not selected, MultiSelect selects the item by scrolling it into view and clicking it with the mouse. If the item is already selected, MultiSelect does nothing.
For information on specifying Item, see the ListBox class.
After calling MultiSelect, Silk Test Classic checks whether the item was selected, and raises the exception E_CONTROL_NOT_RESPONDING if it was not.
You cannot use this method with single-selection lists.
DialogBox1.Elements.MultiSelect ("water") DialogBox1.Elements.MultiSelect (5)