Table of Contents

Interface IList

A .NET WPF list object.

Inherited Members
IUiObjectBase.GetObjectProperty<TValue>(string)
IUiObjectBase.MakeVisible()
IUiObjectBase.ShowContextMenu()
IUiObjectBase.CanFocus
IUiObjectBase.ObjectName
IUiObjectBase.FullNamePath
IUiObjectBase.FullType
IUiObjectBase.AttachedText
IUiObjectBase.Text
IUiObjectBase.MouseMove(Location)
IUiObjectBase.IsFocused
IUiObjectBase.NativeClass
IUiObjectBase.WindowTitleRegExp
IUiObjectBase.Handle
IClickable.Click(MouseButton)
IClickable.Click(ClickArgs)
IDoubleClickable.DoubleClick(MouseButton)
IDoubleClickable.DoubleClick(ClickArgs)
ILocationInfoProvider.Location
ILocationInfoProvider.AbsoluteLocation
ILocationInfoProvider.Size
ISupportSendKeys.SendKeys(string, KeyModifier)
ISupportSendKeys.SendKeys(string)
ISupportDragAndDrop.DragAndDropOn(ISupportDragAndDrop)
ISupportDragAndDrop.DragAndDropOn(ISupportDragAndDrop, DragAndDropArgs)
IEnabledProvider.IsEnabled
IVisibleProvider.IsVisible
ISupportsNativeObject.NativeObject
ITestObject.GetDescription()
ITestObject.SetDescription(IDescription)
ITestObject.FindChildren<TChild>(IDescription)
ITestObject.Exists()
ITestObject.Exists(uint)
ITestObject.GetSnapshot()
ITestObject.Highlight()
ITestObject.HighlightMatches<TChild>(IDescription)
ITestObject.GetTextLocations(string)
ITestObject.GetTextLocations(string, Rectangle)
ITestObject.GetVisibleText()
ITestObject.GetVisibleText(Rectangle)
ITestObject.VerifyImageExists(Image, byte)
ITestObject.VerifyImageMatch(Image, byte, byte)
ITestObject.VerifyImageMatch(Image, ImageMaskArea, byte, byte)
ITestObject.CallFTMethod(string, params object[])
ITestObject.CallFTMethod<TResult>(string, params object[])
ITestObject.Parent
ITestObject.DisplayName
ITestObjectDescriber.Describe<TChild>(IDescription)
Namespace: HP.LFT.SDK.WPF
Assembly: HP.LFT.SDK.dll
Syntax
public interface IList : IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ISupportsNativeObject, ITestObject, ITestObjectDescriber

Properties

CanSelectMultiple

Indicates whether this list allows more than one child element to be selected at the same time.

Declaration
bool CanSelectMultiple { get; }
Property Value
Type Description
bool

HelpText

The help text associated with this object.

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

Items

Returns the list of items in the list object.

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

Name

The name of this object.

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

ParentText

The text associated with the parent object of this object.

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

SelectedItems

Returns the list of items that are selected in the list object.

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

Methods

Deselect(params int[])

Deselects a list of items.

Declaration
void Deselect(params int[] indices)
Parameters
Type Name Description
int[] indices

The 0-based indices of the items to deselect.

Deselect(params string[])

Deselects a list of items.

Declaration
void Deselect(params string[] items)
Parameters
Type Name Description
string[] items

The items to deselect.

ExtendSelect(params int[])

Selects additional items from the multi-selection list, by index.

Declaration
void ExtendSelect(params int[] indices)
Parameters
Type Name Description
int[] indices

The 0-based indices of the items to add to the selection.

Remarks

This method is applicable only to lists that allow multiple selection.

ExtendSelect(params string[])

Selects additional items from the multi-selection list, by name.

Declaration
void ExtendSelect(params string[] items)
Parameters
Type Name Description
string[] items

The names of the items to add to the selection.

Remarks

This method is applicable only to lists that allow multiple selection.

Select(params int[])

Selects a list of items.

Declaration
void Select(params int[] indices)
Parameters
Type Name Description
int[] indices

The 0-based indices of the items to select.

Select(params string[])

Selects a list of items.

Declaration
void Select(params string[] items)
Parameters
Type Name Description
string[] items

The items to select.

SelectRange(int, int)

Selects all list items between (and including) the two specified items.

Declaration
void SelectRange(int indexFrom, int indexTo)
Parameters
Type Name Description
int indexFrom

The 0-based index of the first item in the range.

int indexTo

The 0-based index of the last item of the range.

SelectRange(string, string)

Selects all list items between (and including) the two specified items.

Declaration
void SelectRange(string itemFrom, string itemTo)
Parameters
Type Name Description
string itemFrom

The name of the first item in the range.

string itemTo

The name of the last item of the range.

Extension Methods

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