IUiFormBase Interface

Base interface of all Oracle window test objects.

C# Syntax

public interface IUiObjectBase : HP.LFT.SDK.IClickable, HP.LFT.SDK.ILocationInfoProvider, IUiObjectBase

Public Properties

 NameDescription
PropertyAbsoluteLocationThis object's coordinates relative to the screen (in pixels). 0,0 is the top-left corner of the (primary) monitor. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
PropertyLocationThis object's coordinates relative to the parent window in pixels. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
PropertyObjectType

The general object type. (Inherited from HP.LFT.SDK.Oracle.IUiObjectBase)

PropertySizeThis object's size in pixels. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
PropertyTitle

The window title.

C# Syntax

string Title {get;}
Top

Public Methods

 NameDescription
MethodActivate

Activates the form.

C# Syntax

void Activate ()
MethodBuildMenuPath

Returns the path constructed from the path parts.

C# Syntax

string BuildMenuPath (params string[] menuPathParts)

Parameters

menuPathParts - The menu path parts must be strings. If a string is a full path, separate its items by "->" characters.

MethodClickClicks on this object. (Inherited from HP.LFT.SDK.IClickable)
MethodCloseForm

Closes the form using the Exit softkey.

C# Syntax

void CloseForm ()
MethodCloseWindow

Closes the form using the X button in the form window title bar.

C# Syntax

void CloseWindow ()
MethodGetItem

Returns the menu item with the specified path.

C# Syntax

IMenuItem GetItem(string itemPath)

Parameters

itemPath - The full path of the menu item to return.

Tip: Use the BuildMenuPath method to build the item path string to use for this method's argument.

Returns

The menu item found at the specified item path.

MethodPressToolbarButton

Presses a toolbar button.

C# Syntax

void PressToolbarButton (string buttonName)

Parameters

buttonName - The name of the button to press.

MethodSave

Performs a Save operation using the Commit softkey.

C# Syntax

void Save ()
MethodSelectFromPopupMenu (string)

Opens the context menu and selects the specified menu option. (Inherited from HP.LFT.SDK.Oracle.IUiObjectBase)

MethodSelectFromPopupMenu (string[])

Opens the context menu and selects the specified menu option. (Inherited from HP.LFT.SDK.Oracle.IUiObjectBase)

MethodSelectMenuItem(IMenuItem item)

Selects a menu option in the menu by IMenuItem.

C# Syntax

void SelectMenuItem (IMenuItem item)

Parameters

item - The item to select from the menu.

Tip: Use the GetItem method to retrieve the item to use for this method's argument.

MethodSelectMenuItem(string itemPath)

Selects a menu option.

C# Syntax

void SelectMenuItem (string itemPath)

Parameters

itemPath - The path of the menu item to select.

Tip: Use the BuildMenuPath method to build the item path string to use for this method's argument.

MethodSendKey

Invokes the specified Oracle softkey. (Inherited from HP.LFT.SDK.Oracle.IUiObjectBase)

Top