Logo Search packages:      
Sourcecode: ldtp-doc version File versions  Download package

verifycheck

Syntax

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

Description

Checks the state of check box

Implementation

Todo:
Return values:
On check box state is checked returns 1, else 0.
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/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')

Author:
Nagappan <nagappan@gmail.com>

Aishwariya <aishwariyabhavan@yahoo.com>

Khasim Shaheed <khasim.shaheed@gmail.com>


Generated by  Doxygen 1.6.0   Back to index