Table of Contents

Interface ITreeView

A Java tree.

Inherited Members
ITreeViewBase.BuildNodePath(params object[])
ITreeViewBase.ExtendSelect(params string[])
ITreeViewBase.Deselect(params string[])
ITreeViewBase.DeselectRange(string, string)
ITreeViewBase.Select(params string[])
ITreeViewBase.SelectRange(string, string)
IUiObjectBase.FireEvent(IEventInfo)
IUiObjectBase.SendKeys(string, KeyModifier)
IUiObjectBase.SendKeys(string)
IUiObjectBase.CreateObject(string, params object[])
IUiObjectBase.CreateObject(string)
IUiObjectBase.GetStatics(string)
IUiObjectBase.GetObjectProperty<TValue>(string)
IUiObjectBase.IsFocused
IUiObjectBase.AttachedText
IUiObjectBase.BackgroundColor
IUiObjectBase.ForegroundColor
IUiObjectBase.ObjectName
IUiObjectBase.Label
IUiObjectBase.Path
IUiObjectBase.TagName
IUiObjectBase.NativeClass
IClickable.Click(MouseButton)
IClickable.Click(ClickArgs)
IDoubleClickable.DoubleClick(MouseButton)
IDoubleClickable.DoubleClick(ClickArgs)
ILocationInfoProvider.Location
ILocationInfoProvider.AbsoluteLocation
ILocationInfoProvider.Size
ISupportsNativeObject.NativeObject
IEnabledProvider.IsEnabled
IVisibleProvider.IsVisible
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.Java
Assembly: HP.LFT.SDK.dll
Syntax
public interface ITreeView : ITreeViewBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportsNativeObject, IEnabledProvider, IVisibleProvider, ITestObject, ITestObjectDescriber

Properties

ColumnsCount

Returns the number of columns in the tree.

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

SelectedNodes

Returns the selected nodes in the tree.

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

VisibleNodesCount

Returns the number of visible nodes in the tree.

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

Methods

ActivateNode(ITreeViewNode)

Activates a node in the tree.

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

The specified node to activate in the tree.

ActivateNode(string)

Activates a node in the tree by node path.

Declaration
void ActivateNode(string nodePath)
Parameters
Type Name Description
string nodePath

The full path of the node to activate within the tree. Tip: Use the HP.LFT.SDK.Technologies.Java.API.ITreeViewBase#BuildNodePath method to build the node path string to be used as the nodePath argument for this method

Deselect(params ITreeViewNode[])

Clears the selection of nodes in the tree.

Declaration
void Deselect(params ITreeViewNode[] nodes)
Parameters
Type Name Description
ITreeViewNode[] nodes

The nodes to deselect.

ExtendSelect(params ITreeViewNode[])

Selects additional nodes in the tree.

Declaration
void ExtendSelect(params ITreeViewNode[] nodes)
Parameters
Type Name Description
ITreeViewNode[] nodes

The nodes to add to the selection.

GetColumnHeader(int)

Returns the header of the specified column in the tree.

Declaration
string GetColumnHeader(int columnIndex)
Parameters
Type Name Description
int columnIndex

0-based index of the column from which to return the value.

Returns
Type Description
string

GetNode(string)

Returns the specified node.

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

The full path of the node to return within the tree.

Returns
Type Description
ITreeViewNode

Select(params ITreeViewNode[])

Selects the specified nodes in the tree.

Declaration
void Select(params ITreeViewNode[] nodes)
Parameters
Type Name Description
ITreeViewNode[] nodes

The nodes to select in a tree.

SelectRange(ITreeViewNode, ITreeViewNode)

Selects the specified range of nodes in the tree.

Declaration
void SelectRange(ITreeViewNode fromNode, ITreeViewNode toNode)
Parameters
Type Name Description
ITreeViewNode fromNode

The first node in the range

ITreeViewNode toNode

The last node 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)