LDTP
3.5.0
|
objectexist('<window name>', '<object name>')
To check whether a component exist in a given window
1 | on 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
objectexist('*-gedit', 'btnFind')