LDTP  2.3.1
 All Pages
getobjectlist

Syntax

getobjectlist('<window name>')

Description

Gets the list of object available in the window(if window exist, else exception will be thrown)

Return values
Listof objects on success, LdtpExecutionError exception on failure

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

Example

With respect to Find dialog of gedit application

from ldtp import *

getobjectlist('dlgFind')

Author
Premkumar J prem..nosp@m.joth.nosp@m.imani.nosp@m.@gma.nosp@m.il.co.nosp@m.m


Linux Desktop Testing Project