Unified Functional Testing Automation

GetCurrentRow Method

Description

Returns the current (active) row in the first sheet in the design-time or run-time data table (global sheet).

Syntax

DataTable.GetCurrentRow

Return Value

Number

Example

The following example uses the GetCurrentRow method to retrieve the row currently being used in design-time or run-time data table and writes it to the report.

row = DataTable.GetCurrentRow

Reporter.ReportEvent 1, "Row Number", row