Table of Contents

Interface ITreeView

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

An Oracle Tree test object.

public interface ITreeView : 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

SelectedItem

The value of the selected item.

ITreeViewNode SelectedItem { get; }

Property Value

ITreeViewNode

TooltipText

The text displayed in the object's tooltip.

string TooltipText { get; }

Property Value

string

Methods

Activate(ITreeViewNode)

Activates (double-clicks) the specified node in the tree.

void Activate(ITreeViewNode item)

Parameters

item ITreeViewNode

The item to activate.

Activate(int)

Activates (double-clicks) the specified node in the tree.

void Activate(int item)

Parameters

item int

The 0-based index of the node to activate.

Activate(string)

Activates (double-clicks) the specified node in the tree.

void Activate(string item)

Parameters

item string

The full path of the node to activate. Tip: Use the BuildNodePath method to build the item path string to use for this method's argument.

BuildNodePath(params string[])

Returns the path of a node in the tree.

string BuildNodePath(params string[] nodePathParts)

Parameters

nodePathParts string[]

The tree node parts can be: full path(string). For a full path, separate items by "->" string.

Returns

string

The path constructed from the path parts.

GetNode(int)

Returns the specified node.

ITreeViewNode GetNode(int index)

Parameters

index int

The index of the node.

Returns

ITreeViewNode

GetNode(string)

Returns the specified node.

ITreeViewNode GetNode(string nodePath)

Parameters

nodePath string

The full path of the node to return within the tree. Tip: Use the BuildNodePath method to build the item path string to use for this method's argument.

Returns

ITreeViewNode

Select(ITreeViewNode)

Selects (clicks) the specified node in the tree.

void Select(ITreeViewNode item)

Parameters

item ITreeViewNode

The node to select.

Select(int)

Selects (clicks) the specified node in the tree.

void Select(int item)

Parameters

item int

The 0-based index of the node to select.

Select(string)

Selects (clicks) the specified node in the tree.

void Select(string item)

Parameters

item string

The full path of the node to select. Tip: Use the BuildNodePath method to build the item path string to use for this method's argument.