wIsItemCheckable Property (Android Controls)

Applies to TestComplete 15.64, last modified on May 16, 2024
This property is available in legacy mobile tests that work with devices connected to the local computer. To learn how to simulate user actions in newer cloud-compatible mobile tests, see the Simulating user actions in tests section.


Use the wIsItemCheckable property to determine whether a control item is checkable.



Read-Only Property Boolean
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
Item [in]    Required    Variant    

Applies To

The property is applied to the following objects:

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.


The property has the following parameter:


Specifies either its title or position on the control (from 0)..

Property Value

True, if an item is checkable. Otherwise - False.


If the specified item is not found, wIsItemCheckable returns the null value (Nothing in VBScript, nil in DelphiScript, None in Python, null in JavaScript, JScript, C++Script and C#Script) and posts an error message to the test log.

If you use Python or DelphiScript, you should enclose the parameters of the wlsCheckButton property in square brackets: wlsCheckButton[Item, ByPosition].


To view an example that demonstrates how to use the wIsItemCheckable property, see Checking the Action Bar Items' Type.

See Also

About Testing Android Applications (Legacy)
Checking the Action Bar Items' Type
CheckItem Action (Android Controls)
wItemChecked Property (Android Controls)

Highlight search results