LDTP  2.3.1
 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: http://cgit.freedesktop.org/ldtp/ldtp/tree/python/ldtp.py

Example

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

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


Linux Desktop Testing Project