LDTP  2.3.1
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@novell.com>