IsChecked Function (JavaSwtListView)

Class

JavaSwtListView.

Action

Tests whether the item in the listview is checked.

Syntax

bCheckState = listview.IsChecked(Itemli)
Variable Description
bCheckState TRUE if the object is checked. BOOLEAN.
Itemli The item to test. LISTITEM.

Notes

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

Returns TRUE if the object is checked. FALSE if it is unchecked.

If the JavaSwtListView has no check boxes, Silk Test Classic raises the exception E_WINDOW_TYPE_MISMATCH.

If you do not find an item in the JavaSwtListView widget, due to an incorrect index or item text, Silk Test Classic raises the exception E_ITEM_NOT_FOUND.