LDTP  2.3.1
verifyuncheck

Syntax

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

Description

Checks the state of check box.

Return values:
Oncheck box state is un-checked returns 1, else 0.

Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/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')

Author:
Nagappan Alagappan <nagappan@gmail.com>
Khasim Shaheed <khasim.shaheed@gmail.com>