Verifycheck
From LDTP
| Table of contents |
Syntax
verifycheck ('<window name>', '<component name>')
Description
Checks the state of check box.
Implementation
If check box state is checked, then returns 1, else 0.
Refer: check_box.c (http://forge.novell.com/modules/xfmod/cvs/cvsbrowse.php/ldtp/pyldtp/check_box.c)
Examples
from ldtp import *
For check menu item with respect to gedit menu
verifycheck ('gedit', 'mnuView;mnOutputWindow')
For check box with respect to gedit preferences
verifycheck ('dlgPreferences', 'cboxEnableAutoIndentation')

