LDTP  3.5.0
 All Pages
verifycheck

Syntax

verifycheck('<window name>', '<component name>')

Description

Checks the state of check box

Return values
Oncheck box state is 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 *

For check menu item with respect to gedit menu

verifycheck('gedit', 'mnuView;mnOutputWindow')

For check box with respect to gedit preferences

verifycheck('dlgPreferences', 'cboxEnableAutoIndentation')

Author
Nagappan Alagappan nagap.nosp@m.pan@.nosp@m.gmail.nosp@m..com
Aishwariya aishw.nosp@m.ariy.nosp@m.abhav.nosp@m.an@y.nosp@m.ahoo..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