QtMenu Property (Qt Application Objects)

Applies to TestComplete 15.64, last modified on May 16, 2024


Use this property to get the Menu object to perform various actions over the menu of a Qt application object.



Read-Only Property A Menu object
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

All Qt application 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

A Menu object.


The menu should be visible, otherwise, actions cannot be performed. If the menu is hidden, the property returns an empty object: Nothing in VBScript, nil in DelphiScript, None in Python, null in JavaScript, JScript, C++Script and C#Script.

Sometimes, you may face issues with recognizing the menu. Please, see Troubleshooting Qt Applications for possible workarounds.

See Also

Support for Qt Applications' Controls
Troubleshooting Qt Applications

Highlight search results