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

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