Enabled Property

Applies to TestComplete 14.40, last modified on April 22, 2021

Description

Specifies whether the OnscreenObj object responses to mouse and keyboard events.

Use Enabled to check the object’s availability to the user.

Declaration

TestObj.Enabled

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

Applies To

All onscreen objects.

View Mode

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

Property Value

True if the object is currently enabled, otherwise False.

Remarks

When testing Qt applications, use NativeQtObject.enabled to determine whether the object responds to user actions. For detailed information see Using Namespaces.

See Also

Visible Property
VisibleOnScreen Property
Focused Property (Window and BrowserWindow Objects)

Highlight search results