selectindex ('<dlgName>', '<cmbName>', <index>)
SelectIndex action will select an item from combo box where value of index is pointing to its position in list/menu.
Combo box will generally have a list as its child or a menu as its child. SelectIndex function will try to find whether child type is menu or list, if child type is list then there will be a text box associated with combo box. When child type is list, selects item at index value from list box and sets that value to the text box associated with combo box. If child type is menu, value specified in tha argument will be index of menu item, corressponding menu item will be selected.
- Return values:
|1 ||on success, LdtpExecutionError exception on failure|
- Poornima <firstname.lastname@example.org>