LDTP  3.0.0
ischildselected

Syntax

ischildselected('<dlgName>', '<object name>', '<item>')

Description

In layered pane, this function call checks whether the given file / folder is selected or not.

Return values
Selecteditem count on success, LdtpExecutionError exception on failure

Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/layered-pane.c

Example

ischildselected('x-nautilus-desktop', 'Icon View', 'file-name.txt')

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


Linux Desktop Testing Project