The property provides a scripting interface to the context (popup, right-click) menu that is created using the Microsoft MenuStrip Class Library. This menu is associated with .NET windows and control via their “native”
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
Objects that correspond to .NET controls.
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
Menu object that corresponds to the context menu.
Using the returned object, you can select items from the context menu, but it must be opened on screen first. You can open the menu by sending an Application keypress to the window, or by calling
ClickR on it. See the
Menu object description for more information on available menu actions.
To access main menus created with the MenuStrip Class Library, use the
StripPopupMenu property is only available if the Microsoft Control Support plugin is installed and the WindowObj has a context menu created with the MenuStrip library. Otherwise, this property is absent in the window’s property list.
Simulating Menu Actions
Testing .NET Applications