LDTP  3.5.0
 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: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/core.py

Mac: https://github.com/ldtp/pyatom/blob/master/atomac/ldtpd/core.py

Windows: https://github.com/ldtp/cobra/blob/master/Ldtpd/Generic.cs

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