LDTP  3.5.0
 All Pages
unselectitemindex

Syntax

unselectitemindex('<dlgName>', '<object name>', <index>)

Description

In layered pane, this function call unselects the object based on the currently selected item index.

Return values
1on success, LdtpExecutionError exception on failure

Refer: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/combo_box.py

Note
Supported only on Linux platform

Example

Unselects the first folder / file in desktop that is already selected

unselectitemindex('x-nautilus-desktop', 'Icon View', 0)

Author
Nagappan Alagappan nagap.nosp@m.pan@.nosp@m.gmail.nosp@m..com


Linux Desktop Testing Project