Table of Contents

Interface ITreeView

A .NET WPF tree-view 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 ITreeView : IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ISupportsNativeObject, ITestObject, ITestObjectDescriber

Properties

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

SelectedNodes

Returns the selected nodes in this tree-view object.

Declaration
ReadOnlyCollection<ITreeViewNode> SelectedNodes { get; }
Property Value
Type Description
ReadOnlyCollection<ITreeViewNode>

VisibleNodes

Returns the visible nodes in this tree-view object.

Declaration
ReadOnlyCollection<ITreeViewNode> VisibleNodes { get; }
Property Value
Type Description
ReadOnlyCollection<ITreeViewNode>

Methods

GetNode(string)

Returns the node with the specified path. If the path is not unique, returns the first node with the specified path.

Declaration
ITreeViewNode GetNode(string nodePath)
Parameters
Type Name Description
string nodePath

Elements of the path are separated by semi-colons (;).

Returns
Type Description
ITreeViewNode

Select(ITreeViewNode)

Selects a node in the tree-view object.

Declaration
void Select(ITreeViewNode node)
Parameters
Type Name Description
ITreeViewNode node

The node to select.

Select(int)

Selects a node in the tree-view object by node index.

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

The index of the node to select.

Select(string)

Selects a node in the tree-view object.

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

The node to select.

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)