UFT Reserved Objects > DTSheet Object > GetCurrentRow Method
Unified Functional Testing Automation

GetCurrentRow Method

Description

Returns the row number of the current (active) row in the run-time Data pane sheet.

Syntax

DTSheet.GetCurrentRow

Return Value

Number

Example

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

row = DataTable.GetSheet("MySheet").GetCurrentRow

Reporter.ReportEvent 1, "Row Number", row




© Copyright 1992 - 2017 Hewlett-Packard Enterprise Development Company, L.P.