Table of Contents

Interface IMenu

A Java Menu. Each JavaMenu test object represents an individual menu item. A step that performs an operation on a particular menu item must contain the full hierarchy of JavaMenu test objects that represents the actual menu hierarchy.

Inherited Members
IUiObjectBase.FireEvent(IEventInfo)
IUiObjectBase.SendKeys(string, KeyModifier)
IUiObjectBase.SendKeys(string)
IUiObjectBase.CreateObject(string, params object[])
IUiObjectBase.CreateObject(string)
IUiObjectBase.GetStatics(string)
IUiObjectBase.GetObjectProperty<TValue>(string)
IUiObjectBase.IsFocused
IUiObjectBase.AttachedText
IUiObjectBase.BackgroundColor
IUiObjectBase.ForegroundColor
IUiObjectBase.ObjectName
IUiObjectBase.Label
IUiObjectBase.Path
IUiObjectBase.TagName
IUiObjectBase.NativeClass
IClickable.Click(MouseButton)
IClickable.Click(ClickArgs)
IDoubleClickable.DoubleClick(MouseButton)
IDoubleClickable.DoubleClick(ClickArgs)
ILocationInfoProvider.Location
ILocationInfoProvider.AbsoluteLocation
ILocationInfoProvider.Size
ISupportsNativeObject.NativeObject
IEnabledProvider.IsEnabled
IVisibleProvider.IsVisible
ITestObject.GetDescription()
ITestObject.SetDescription(IDescription)
ITestObject.FindChildren<TChild>(IDescription)
ITestObject.Exists()
ITestObject.Exists(uint)
ITestObject.GetSnapshot()
ITestObject.Highlight()
ITestObject.HighlightMatches<TChild>(IDescription)
ITestObject.GetTextLocations(string)
ITestObject.GetTextLocations(string, Rectangle)
ITestObject.GetVisibleText()
ITestObject.GetVisibleText(Rectangle)
ITestObject.VerifyImageExists(Image, byte)
ITestObject.VerifyImageMatch(Image, byte, byte)
ITestObject.VerifyImageMatch(Image, ImageMaskArea, byte, byte)
ITestObject.CallFTMethod(string, params object[])
ITestObject.CallFTMethod<TResult>(string, params object[])
ITestObject.Parent
ITestObject.DisplayName
ITestObjectDescriber.Describe<TChild>(IDescription)
IItemTextRepresentationProvider.TextRepresentation
Namespace: HP.LFT.SDK.Java
Assembly: HP.LFT.SDK.dll
Syntax
public interface IMenu : IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportsNativeObject, IEnabledProvider, IVisibleProvider, ITestObject, ITestObjectDescriber, IItemTextRepresentationProvider

Properties

SubMenus

A collection of all sub menus of this menu.

Declaration
ReadOnlyCollection<IMenu> SubMenus { get; }
Property Value
Type Description
ReadOnlyCollection<IMenu>

Text

The menu text.

Declaration
string Text { get; }
Property Value
Type Description
string

Methods

GetSubMenu(string)

Returns a sub menu of this menu.

Declaration
IMenu GetSubMenu(string subMenuPath)
Parameters
Type Name Description
string subMenuPath

the path of the sub menu (separated by ';' char).

Returns
Type Description
IMenu

Select()

Selects this Java menu item.

Declaration
void Select()

SelectSubMenu(string)

Selects the specified sub menu.

Declaration
void SelectSubMenu(string subMenuPath)
Parameters
Type Name Description
string subMenuPath

the path of the sub menu (separated by ';' char).

Extension Methods

TestObjectExtensions.WaitUntilEnabled<T>(T)
TestObjectExtensions.WaitUntilEnabled<T>(T, int)
TestObjectExtensions.WaitUntilExists<T>(T)
TestObjectExtensions.WaitUntilExists<T>(T, int)
TestObjectExtensions.WaitUntilVisible<T>(T)
TestObjectExtensions.WaitUntilVisible<T>(T, int)
TestObjectExtensions.WaitUntil<T>(T, Func<T, bool>)
TestObjectExtensions.WaitUntil<T>(T, Func<T, bool>, int)