Verifypushbutton

From LDTP

Table of contents

Syntax

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

Description

Verify whether the given object is push button or not.

Implementation

Returns 1 if object is push button, else 0.

Refer: push_button.c (http://forge.novell.com/modules/xfmod/cvs/cvsbrowse.php/ldtp/pyldtp/push_button.c)

Example

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

verifypushbutton ('dlgOpenFile', 'btnOpen')