ITreeViewTable Interface

A JavaFX tree view table.

C# Syntax

Public Properties
 NameDescription
PropertyAbsoluteLocationThis object's coordinates relative to the screen (in pixels). 0,0 is the top-left corner of the (primary) monitor. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
PropertyAttachedTextThe static text attached to the object. (Inherited from HP.LFT.SDK.Java.IUiObjectBase)
PropertyBackgroundColorThe object's background color. (Inherited from HP.LFT.SDK.Java.IUiObjectBase)
PropertyColumnHeaders
Returns the column headers.

C# Syntax

ReadOnlyCollection<string> ColumnHeaders {get;}
PropertyColumnsCount

Returns the number of columns in the tree view table.  

C# Syntax

int ColumnsCount {get;}
PropertyDisplayNameThe object display name defined in the Application Model. (Inherited from HP.LFT.SDK.ITestObject)
PropertyForegroundColorThe object's foreground color. (Inherited from HP.LFT.SDK.Java.IUiObjectBase)
PropertyIsEnabledIndicates whether this object is enabled. (Inherited from HP.LFT.SDK.IEnabledProvider)
PropertyIsFocusedIndicates whether this object has focus. (Inherited from HP.LFT.SDK.Java.IUiObjectBase)
PropertyIsVisibleIndicates whether this object is visible. (Inherited from HP.LFT.SDK.IVisibleProvider)
PropertyLabelThe object's label. (Inherited from HP.LFT.SDK.Java.IUiObjectBase)
PropertyLocationThis object's coordinates relative to the parent window in pixels. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
PropertyNativeClassThe object's Java class name. (Inherited from HP.LFT.SDK.Java.IUiObjectBase)
PropertyNativeObjectReturns the native application object that is represented by this test object instance, enabling you to access the native properties and methods provided by that object. (Inherited from HP.LFT.SDK.ISupportsNativeObject)
PropertyObjectNameThe object's internal name. (Inherited from HP.LFT.SDK.Java.IUiObjectBase)
PropertyParentThe parent test object of this test object. The child object must be obtained using the Describe method, otherwise, it returns null. (Inherited from HP.LFT.SDK.ITestObject)
PropertyPathThe object's hierarchy (object ancestors). (Inherited from HP.LFT.SDK.Java.IUiObjectBase)
PropertyRowsCount

Returns the number of rows in the tree view table.  

C# Syntax

        int RowsCount {get;}
PropertySelectedNodes
Returns the selected nodes in the tree view table.

C# Syntax

ReadOnlyList<ITreeViewTableRow> SelectedNodes {get;}
PropertySizeThis object's size in pixels. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
PropertyTagNameThe object's Java name. (Inherited from HP.LFT.SDK.Java.IUiObjectBase)
Top
Public Methods
 NameDescription
MethodActivate
Activates a node or row in the tree view table.
void Activate( 
   string nodePath
)

Parameters

nodePath
The full path of the node or row to activate within the tree view table. Tip: Use the BuildNodePath method to build the node path string to be used as the nodePath argument for this method.
MethodActivateCellOverloaded. Double-clicks a cell by row and column indexes.  (Inherited from HP.LFT.SDK.Java.ITableBase)
MethodActivateColumnOverloaded. Double-clicks a column by column index. (Inherited from HP.LFT.SDK.Java.ITableBase)
MethodBuildNodePath
Returns the path of a node in the tree table. (Inherited from HP.LFT.SDK.Java.ITreeViewBase)
MethodClickClicks on this object. (Inherited from HP.LFT.SDK.IClickable)
MethodCollapse

Overloaded. Collapses an expandable node in the tree view table.

MethodCreateObject

Creates a native object wrapping an instance of a Java object within your application. (Inherited from HP.LFT.SDK.Java.IUiObjectBase)

MethodDescribe<TChild>Creates a child test object of this test object. (Inherited from HP.LFT.SDK.ITestObjectDescriber)
MethodDeselect
Clears the selection of nodes in the tree view table.

C# Syntax

void Deselect( 
   params ITreeViewTableRow[] nodes
)

Parameters

nodes
The nodes to deselect.
MethodDeselect(String[])
Clears the selection of nodes in the tree table by node paths. (Inherited from HP.LFT.SDK.Java.ITreeViewBase)
MethodDeselectColumn

Overloaded. Clears the selection of a column in the tree view table.

MethodDeselectRowsRange
Clears the selection of the specified range of rows in a tree view table.

C# Syntax

Parameters

fromRow
The first node in the range.
toRow
The last node in the range.
MethodDeselectRowsRangeClears the selection of a range of rows by rows indexes. (Inherited from HP.LFT.SDK.Java.ITableBase)
MethodDoubleClickDouble-clicks on this object using the specified MouseButton. (Inherited from HP.LFT.SDK.IDoubleClickable)
MethodExistsChecks whether this object exists in the AUT before the default object synchronization timeout elapses. (Inherited from HP.LFT.SDK.ITestObject)
MethodExpand

Overloaded. Expands an expandable node in the tree view table.

MethodExtendSelect

Selects additional nodes in the tree view table.

C# Syntax

void ExtendSelect( 
   params ITreeViewTableRow[] nodes
)

Parameters

items

The nodes to add to the selection.

MethodExtendSelect(String[])

Selects additional nodes in the tree table by node paths. (Inherited from HP.LFT.SDK.Java.ITreeViewBase)

MethodFindChildren<TChild>Returns all the child test objects that match the specified test object type and description filter. For example, you can use this method to retrieve all Web buttons on a Page with type="submit". (Inherited from HP.LFT.SDK.ITestObject)
MethodFireEventTriggers an event on the test object. Note: use the EventInfoFactory class to generate the eventInfo argument value. (Inherited from HP.LFT.SDK.Java.IUiObjectBase)
MethodGetDescriptionReturns a clone of the description for this test object. The test object must be obtained using the Describe method, otherwise, this method returns null. (Inherited from HP.LFT.SDK.ITestObject)
MethodGetObjectProperty<TValue>

Returns the value of a test object property. (Inherited from HP.LFT.SDK.Java.IUiObjectBase)

MethodGetNode
Returns the value of the specified node.

C# Syntax

Parameters

index
The 0-based index of the node or row you want to retrieve.
MethodGetSnapshotCaptures a bitmap of this test object and returns a System.Drawing.Image of it. (Inherited from HP.LFT.SDK.ITestObject)
MethodGetStatics

Gets a native object wrapping a Java class capable of accessing static members (methods and fields) of the specified Java class. (Inherited from HP.LFT.SDK.Java.IUiObjectBase)

MethodGetTextLocationsReturns all rectangle areas containing the specified text within this object (Windows only). (Inherited from HP.LFT.SDK.ITestObject)
MethodGetVisibleTextReturns all visible text from this object. (Inherited from HP.LFT.SDK.ITestObject)
MethodHighlightHighlights this object in the AUT. (Inherited from HP.LFT.SDK.ITestObject)
MethodHighlightMatches<TChild>Highlights all children that match the specified test object type and description filter. (Inherited from HP.LFT.SDK.ITestObject)
MethodSelect

Selects the specified nodes in the tree view table.  

C# Syntax

void Select( 
   params ITreeViewTableRow[] nodes
)

Parameters

nodes
The nodes to select in the tree view table.
MethodSelect(String[])
Selects the specified nodes in the tree view table by nodes paths. (Inherited from HP.LFT.SDK.Java.ITreeViewBase)
MethodSelectCellOverloaded. Clicks a cell by row and column indexes. (Inherited from HP.LFT.SDK.Java.ITableBase)
MethodSelectCellRangeOverloaded. Selects a range of cells in a table by rows and columns indexes.  (Inherited from HP.LFT.SDK.Java.ITableBase)
MethodSelectColumn

Overloaded. Selects a specified column in the tree view table.

MethodSelectColumnsRangeOverloaded. Selects a range of columns by column indexes.  (Inherited from HP.LFT.SDK.Java.ITableBase)
MethodSelectRange

Selects the specified range of nodes in the tree view table.

C# Syntax

void SelectRange( 
   ITreeViewTableRow fromNode,
   ITreeViewTableRow toNode
)

Parameters

fromNode
The first node in the range
toNode
The last node of the range
MethodSelectRange(String[])

Selects the specified range of nodes in the tree view table. Tip: Use the BuildNodePath method to build the node path strings to be used as the fromNodePath and toNodePath arguments for this method. (Inherited from HP.LFT.SDK.Java.ITreeViewBase)

MethodSelectRowsRange
Selects the specified range of rows in a tree view table.

C# Syntax

void SelectRowsRange( 
   ITreeViewTableRow fromRow,
  ITreeViewTableRow toRow
)

Parameters

fromRow
The first row in the range.
toRow
The last row in the range.
MethodSelectRowsRangeSelects a range of rows by indexes. (Inherited from HP.LFT.SDK.Java.ITableBase)
MethodSendKeysTypes the specified string into the test object in the application, including special keys or key modifiers. (Inherited from HP.LFT.SDK.Java.IUiObjectBase)
MethodSetDescriptionReplaces this test object's description with the supplied description. (Inherited from HP.LFT.SDK.ITestObject)
MethodVerifyImageExistsChecks whether a snapshot of this object contains the supplied image. (Inherited from HP.LFT.SDK.ITestObject)
MethodVerifyImageMatchChecks whether a snapshot of this object and the supplied image are a match, given the specified pixel and RGB tolerance values. (Inherited from HP.LFT.SDK.ITestObject)
Top