Interface ITreeView
An Oracle Tree test object.
Inherited Members
Namespace: HP.LFT.SDK.Oracle
Assembly: HP.LFT.SDK.dll
Syntax
public interface ITreeView : IUiObjectBase, IClickable, ILocationInfoProvider, IEnabledProvider, ITestObject, ITestObjectDescriber
Properties
Caption
The caption of the object.
Declaration
string Caption { get; }
Property Value
| Type | Description |
|---|---|
| string |
ClassPath
The Oracle class hierarchy of the object's Oracle class.
Declaration
string ClassPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
ObjectDescription
The accessibility description of the object, as specified by the server.
Declaration
string ObjectDescription { get; }
Property Value
| Type | Description |
|---|---|
| string |
ObjectName
The internal name of the object, as supplied by the application server.
Declaration
string ObjectName { get; }
Property Value
| Type | Description |
|---|---|
| string |
SelectedItem
The value of the selected item.
Declaration
ITreeViewNode SelectedItem { get; }
Property Value
| Type | Description |
|---|---|
| ITreeViewNode |
TooltipText
The text displayed in the object's tooltip.
Declaration
string TooltipText { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Activate(ITreeViewNode)
Activates (double-clicks) the specified node in the tree.
Declaration
void Activate(ITreeViewNode item)
Parameters
| Type | Name | Description |
|---|---|---|
| ITreeViewNode | item | The item to activate. |
Activate(int)
Activates (double-clicks) the specified node in the tree.
Declaration
void Activate(int item)
Parameters
| Type | Name | Description |
|---|---|---|
| int | item | The 0-based index of the node to activate. |
Activate(string)
Activates (double-clicks) the specified node in the tree.
Declaration
void Activate(string item)
Parameters
| Type | Name | Description |
|---|---|---|
| string | item | 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.
Declaration
string BuildNodePath(params string[] nodePathParts)
Parameters
| Type | Name | Description |
|---|---|---|
| string[] | nodePathParts | The tree node parts can be: full path(string). For a full path, separate items by "->" string. |
Returns
| Type | Description |
|---|---|
| string | The path constructed from the path parts. |
GetNode(int)
Returns the specified node.
Declaration
ITreeViewNode GetNode(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index of the node. |
Returns
| Type | Description |
|---|---|
| ITreeViewNode |
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. Tip: Use the BuildNodePath method to build the item path string to use for this method's argument. |
Returns
| Type | Description |
|---|---|
| ITreeViewNode |
Select(ITreeViewNode)
Selects (clicks) the specified node in the tree.
Declaration
void Select(ITreeViewNode item)
Parameters
| Type | Name | Description |
|---|---|---|
| ITreeViewNode | item | The node to select. |
Select(int)
Selects (clicks) the specified node in the tree.
Declaration
void Select(int item)
Parameters
| Type | Name | Description |
|---|---|---|
| int | item | The 0-based index of the node to select. |
Select(string)
Selects (clicks) the specified node in the tree.
Declaration
void Select(string item)
Parameters
| Type | Name | Description |
|---|---|---|
| string | item | 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. |