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: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/core.py http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtp/__init__.py

Example

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

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


Linux Desktop Testing Project