LDTP  3.0.0
getobjectinfo

Syntax

getobjectinfo('<window name>', '<object name>')

Description

Gets the list of object information lik class, parent, label, label_by, child_index

Return values
listof object properies(example, class, parent, label, label_by, child_index) on success, LdtpExecutionError exception on failure

Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/client-handler.c

Example

With respect to gedit Find dialog

from ldtp import *

getobjectinfo('dlgFind', 'btnFind')

Author


Linux Desktop Testing Project