Verifyuncheck
From LDTP
| Table of contents |
Syntax
verifyuncheck ('<window name>', '<component name>')
Description
Checks the state of check box.
Implementation
If check box state is un-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 *
To verify uncheck menu item with respect to gedit menu
verifyuncheck ('gedit', 'mnuView;mnOutputWindow')
To verify uncheck box with respect to gedit preferences
verifyuncheck ('dlgPreferences', 'cboxEnableAutoIndentation')

