LDTP  3.5.0
 All Pages
objectexist

Syntax

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

Description

To check whether a component exist in a given window

Return values
1on success, 0 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

objectexist('*-gedit', 'btnFind')

Author
Rodney Dawes dobey.nosp@m.@nov.nosp@m.ell.c.nosp@m.om


Linux Desktop Testing Project