bResult = table.SetItemText(iIndex, iColumn, sText)
Variable | Description |
---|---|
bResult | Returns TRUE if the item is successfully set. Returns FALSE if the item is not successfully set. BOOLEAN. |
iIndex | The item to find, specified as the index (1-based) of the item in the list. INTEGER. |
iColumn | The column position where the new text should be set. INTEGER. |
sText | The text to substitute. STRING. |
This method is supported only in scripts that use the Classic Agent.
You may only set text in a single column at a time; you may not set text in multiple columns at the same time.
If the index is not valid, Silk Test Classic raises the exception E_ITEM_INDEX_INVALID.
If you do not point to a column within the JavaSwtListView widget, Silk Test Classic raises the exception E_COL_NUM_INVALID.