Table of Contents

Interface IList

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

An Oracle poplist (combo box) or list.

public interface IList : IUiObjectBase, IClickable, ILocationInfoProvider, IEnabledProvider, ITestObject, ITestObjectDescriber
Inherited Members
Extension Methods

Properties

Caption

The caption of the object.

string Caption { get; }

Property Value

string

ClassPath

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

string ClassPath { get; }

Property Value

string

ObjectDescription

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

string ObjectDescription { get; }

Property Value

string

ObjectName

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

string ObjectName { get; }

Property Value

string

SelectedIndex

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

int SelectedIndex { get; }

Property Value

int

SelectedItem

The value of the selected item.

IListItem SelectedItem { get; }

Property Value

IListItem

TooltipText

The text displayed in the object's tooltip.

string TooltipText { get; }

Property Value

string

Methods

Activate(IListItem)

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

void Activate(IListItem item)

Parameters

item IListItem

The item to activate.

Activate(int)

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

void Activate(int itemIndex)

Parameters

itemIndex int

The 0-based index of the item to activate.

Activate(string)

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

void Activate(string item)

Parameters

item string

The text of the item to activate.

Contains(string)

Indicates whether the specified item is contained in the list.

bool Contains(string item)

Parameters

item string

The item to find in the list.

Returns

bool

Whether the specified item is contained in the list.

GetItem(int)

Returns the item with the specified text.

IListItem GetItem(int itemIndex)

Parameters

itemIndex int

The index of the item (0-based).

Returns

IListItem

GetItem(string)

Returns the item with the specified text.

IListItem GetItem(string item)

Parameters

item string

The text of the item.

Returns

IListItem

Select(IListItem)

Selects (clicks) the specified item in the list.

void Select(IListItem item)

Parameters

item IListItem

The item to select in the list.

Select(int)

Selects (clicks) the specified item in the list.

void Select(int itemIndex)

Parameters

itemIndex int

The 0-based index of the item to select.

Select(string)

Selects (clicks) the specified item in the list.

void Select(string item)

Parameters

item string

The text of the item to select in the list.