LDTP  3.5.0
 All Pages
verifypushbutton

Syntax

verifypushbutton('<window name>', '<component name>')

Description

Verify whether the given object is push button or not.

ImplementationDetails

Return values
1if object is push button, else 0.

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

Note
Supported only on Linux platform

Example

With respect to gedit open dialog window, verify open button is push button or not.

verifypushbutton('dlgOpenFile', 'btnOpen')

Author
Nagappan Alagappan nagap.nosp@m.pan@.nosp@m.gmail.nosp@m..com


Linux Desktop Testing Project