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

Example

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

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


Linux Desktop Testing Project