LDTP
3.0.0
|
verifycheck('<window name>', '<component name>')
Checks the state of check box
On | check box state is checked returns 1, else 0. |
Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/check-box.c
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')