Description
This property provides a scripting interface to the main menu created with Borland Action Menu Bar component.
Supported component versions: VCL TActionMainMenuBar component of Borland Delphi 7, Borland Developer Studio 2006, CodeGear RAD Studio 2007 and 2009, Embarcadero RAD Studio 2010, XE - XE8.
Declaration
TestObj.ActionMainMenu
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
The property is applied to the following object:
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 that corresponds to the TActionMainMenuBar
VCL component.
Remarks
The ActionMainMenu
property is only available if:
-
The Delphi and C++Builder Application Support and VCL Control Support plugins are installed and enabled in TestComplete.
-
The tested application is compiled with debug information (see Implementing Debug Info Agentâ„¢ Support in Applications).
After you obtain the menu, you can select items from this menu using the returned object. See the Menu
object description for more information on available menu actions.
See Also
MainMenu Property
PopupMenu Property (Window Objects)
SystemMenu Property
Simulating Menu Actions