Table of Contents

Interface IUiFormBase

The base interface of all Oracle window test objects.

Namespace: HP.LFT.SDK.Oracle
Assembly: HP.LFT.SDK.dll
Syntax
public interface IUiFormBase : IUiObjectBase, IClickable, ILocationInfoProvider

Properties

Title

The window title.

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

Methods

Activate()

Activates the form.

Declaration
void Activate()

BuildMenuPath(params string[])

Returns the path constructed from the path parts.

Declaration
string BuildMenuPath(params string[] menuPathParts)
Parameters
Type Name Description
string[] menuPathParts

The menu path parts can be: full path(string). For a full path, separate items by "->" string.

Returns
Type Description
string

The path constructed from the path parts.

CloseForm()

Closes the form using the Exit softkey.

Declaration
void CloseForm()

CloseWindow()

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

Declaration
void CloseWindow()

GetItem(string)

Returns the menu item with the specified path.

Declaration
IMenuItem GetItem(string itemPath)
Parameters
Type Name Description
string 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
Type Description
IMenuItem

The menu item (IMenuItem) found at the specified item path

PressToolbarButton(string)

Presses a toolbar button.

Declaration
void PressToolbarButton(string buttonName)
Parameters
Type Name Description
string buttonName

The name of the button to press.

Save()

Performs a Save operation using the Commit softkey.

Declaration
void Save()

SelectMenuItem(IMenuItem)

Selects a menu option in the menu by IMenuItem.

Declaration
void SelectMenuItem(IMenuItem item)
Parameters
Type Name Description
IMenuItem item

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

SelectMenuItem(string)

Selects a menu option.

Declaration
void SelectMenuItem(string itemPath)
Parameters
Type Name Description
string itemPath

The path of the menu item to select. Tip: Use the BuildMenuPath method to build the item path string to be used as the itemPath argument for this method.