Table of Contents

Interface IList

An Oracle poplist (combo box) or list.

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

Properties

Caption

The caption of the object.

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

ClassPath

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

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

ObjectDescription

The accessibility description of the object, as specified by the server.

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

ObjectName

The internal name of the object, as supplied by the application server.

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

SelectedIndex

The index of the selected item (0-based). NOTE: If no item is selected, -1 is returned.

Declaration
int SelectedIndex { get; }
Property Value
Type Description
int

SelectedItem

The value of the selected item.

Declaration
IListItem SelectedItem { get; }
Property Value
Type Description
IListItem

TooltipText

The text displayed in the object's tooltip.

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

Methods

Activate(IListItem)

Activates (double-clicks) the specified item in the list.

Declaration
void Activate(IListItem item)
Parameters
Type Name Description
IListItem item

The item to activate.

Activate(int)

Activates (double-clicks) the specified item in the list.

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

The 0-based index of the item to activate.

Activate(string)

Activates (double-clicks) the specified item in the list.

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

The text of the item to activate.

Contains(string)

Indicates whether the specified item is contained in the list.

Declaration
bool Contains(string item)
Parameters
Type Name Description
string item

The item to find in the list.

Returns
Type Description
bool

Whether the specified item is contained in the list.

GetItem(int)

Returns the item with the specified text.

Declaration
IListItem GetItem(int itemIndex)
Parameters
Type Name Description
int itemIndex

The index of the item (0-based).

Returns
Type Description
IListItem

GetItem(string)

Returns the item with the specified text.

Declaration
IListItem GetItem(string item)
Parameters
Type Name Description
string item

The text of the item.

Returns
Type Description
IListItem

Select(IListItem)

Selects (clicks) the specified item in the list.

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

The item to select in the list.

Select(int)

Selects (clicks) the specified item in 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 (clicks) the specified item in the list.

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

The text of the item to select in the list.

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)