LDTP
3.5.0
|
uncheck('<window name>', '<component name>')
Uncheck(un-tick) the check state.
1 | if state is unchecked, else 0. |
Refer:
Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/core.py
Mac: https://github.com/ldtp/pyatom/blob/master/atomac/ldtpd/core.py
Windows: https://github.com/ldtp/cobra/blob/master/Ldtpd/Utils.cs
from ldtp import *
To uncheck menu item with respect to gedit menu
uncheck('gedit', 'mnuOutputWindow')
For check menu item with respect to gedit menu
uncheck('gedit', 'mnuToolbar')
To uncheck box with respect to gedit preferences
uncheck('dlgPreferences', 'cboxEnableAutoIndentation')