LDTP  3.5.0
 All Pages
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: 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

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 nagap.nosp@m.pan@.nosp@m.gmail.nosp@m..com
Khasim Shaheed khasi.nosp@m.m.sh.nosp@m.aheed.nosp@m.@gma.nosp@m.il.co.nosp@m.m


Linux Desktop Testing Project