Table of Contents

Interface IUiFormBase

Namespace
HP.LFT.SDK.Oracle
Assembly
HP.LFT.SDK.dll

The base interface of all Oracle window test objects.

public interface IUiFormBase : IUiObjectBase, IClickable, ILocationInfoProvider
Inherited Members

Properties

Title

The window title.

string Title { get; }

Property Value

string

Methods

Activate()

Activates the form.

void Activate()

BuildMenuPath(params string[])

Returns the path constructed from the path parts.

string BuildMenuPath(params string[] menuPathParts)

Parameters

menuPathParts string[]

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

Returns

string

The path constructed from the path parts.

CloseForm()

Closes the form using the Exit softkey.

void CloseForm()

CloseWindow()

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

void CloseWindow()

GetItem(string)

Returns the menu item with the specified path.

IMenuItem GetItem(string itemPath)

Parameters

itemPath string

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

IMenuItem

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

PressToolbarButton(string)

Presses a toolbar button.

void PressToolbarButton(string buttonName)

Parameters

buttonName string

The name of the button to press.

Save()

Performs a Save operation using the Commit softkey.

void Save()

SelectMenuItem(IMenuItem)

Selects a menu option in the menu by IMenuItem.

void SelectMenuItem(IMenuItem item)

Parameters

item IMenuItem

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.

void SelectMenuItem(string itemPath)

Parameters

itemPath string

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.