LDTP
3.5.0
|
verifyuncheck('<window name>', '<component name>')
Checks the state of check box.
On | check box state is un-checked returns 1, 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 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')