LDTP  3.5.0
 All Pages
press

Syntax

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

Description

Toggle's the button state.

Return values
1on success, 0 on failure

Refer: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/core.py Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtp/__init__.py

Note
Linux only feature

Example

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

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


Linux Desktop Testing Project