LDTP
3.5.0
|
check('<window name>', '<component name>')
Check(tick) the check box state.
1 | if state is checked, 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 *
For check menu item with respect to gedit menu
check('gedit', 'mnuOutputWindow')
For check menu item with respect to gedit menu
check('gedit', 'mnuToolbar')
For check box with respect to gedit preferences
check('dlgPreferences', 'cboxEnableAutoIndentation')