GetTableRowRange Method

UFT One 2022 and later: Following the discontinuance of the Silverlight development framework, UFT One no longer supports the Silverlight Add-in out of the box.

If you need to use and extend the Silverlight Add-in, contact OpenText Support.

Gets the indexes of the first and last visible rows, and the table row count.

Remarks

  • If the index of the first visible row cannot be determined, set pFirstVisible to -1.
    If the index of the last visible row cannot be determined, set both pLastVisible and pFirstVisible to -1.
    Row indexes are 0-based.
  • UFT One calls this method to retrieve the number and range of rows in the table to include in the checkpoint or output value.
  • When working with a table checkpoint or output value, UFT One calls this method before the GetTableData method. The GetTableRowRange method initializes the values of the first and last rows in the data range of the table, which the GetTableData method uses as input.

Syntax

Visual Basic (Declaration) 
Overridable Sub GetTableRowRange( _
   ByRef pFirstVisible As Long, _
   ByRef pLastVisible As Long, _
   ByRef pTotal As Long _
) 
C# 
virtual void GetTableRowRange( 
   out long pFirstVisible,
   out long pLastVisible,
   out long pTotal
)

Parameters

pFirstVisible
Index of first visible row.
pLastVisible
Index of last visible row.
pTotal

Total count of rows in the table.

See Also