Table of Contents

Interface IListOfValues

An Oracle window containing a list of values for selection.

Namespace: HP.LFT.SDK.Oracle
Assembly: HP.LFT.SDK.dll
Syntax
public interface IListOfValues : IUiObjectBase, IClickable, ILocationInfoProvider, IEnabledProvider, ITopLevelObject, ITestObject, ITestObjectDescriber

Properties

ClassPath

The Oracle class hierarchy of the object's Oracle class.

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

Items

The content of the object window.

Declaration
ReadOnlyCollection<string> Items { get; }
Property Value
Type Description
ReadOnlyCollection<string>

Title

The window title.

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

Methods

Cancel()

Closes the List of Values window.

Declaration
void Cancel()

Find(string)

Finds the item in the list that matches the specified value. OpenText Functional Testing for Developers searches in the first column of the list to locate the specified value. If only one item in the list matches the specified value, it is automatically selected. If more than one item in the list matches the specified value, all of the matching values are displayed.

Declaration
void Find(string text)
Parameters
Type Name Description
string text

The value or prefix of the item to find.

Select(int)

Selects the specified item from the list.

Declaration
void Select(int itemIndex)
Parameters
Type Name Description
int itemIndex

The 0-based index of the item to select.

Select(string)

Selects the specified item from the list.

Declaration
void Select(string item)
Parameters
Type Name Description
string item

The item to select.

Extension Methods

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