Click or drag to resize

IMenu Interface

The test interface for menus.

Namespace:  SmartBear.TestLeft.TestObjects
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.60.289.11 (14.60.289.11)
Syntax
public interface IMenu : IObject

The IMenu type exposes the following members.

Properties
  NameDescription
Public propertyCount
Returns the number of items in the menu.
Public propertyItems
Returns a menu item as a reference to the MenuItem object.
Top
Methods
  NameDescription
Public methodCallMethodT(String, Object)
Invokes the specified method and returns the result.
(Inherited from IObject.)
Public methodCastT
Casts the interface to an interface of another type.
(Inherited from IObject.)
Public methodCheck(Int32, Boolean)
Checks or unchecks the specified menu item.
Public methodCheck(String, Boolean)
Checks or unchecks the specified menu item.
Public methodClick(Int32)
Moves the mouse cursor to the specified menu item and then simulates a single click.
Public methodClick(String)
Moves the mouse pointer to the specified menu or submenu item and then simulates a mouse click.
Public methodClose
Closes the menu window.
Public methodGetPropertyT
Returns the value of the specified property.
(Inherited from IObject.)
Public methodSelect(Int32)
Selects the specified menu item.
Public methodSelect(String)
Selects the specified menu item.
Public methodSetProperty
Sets a value for the specified property.
(Inherited from IObject.)
Top
See Also