fbpx

Method GetCellRow

Gets the row number of a cell with the input text

Usage

Function GetCellRow( 
  String CellText,
  Boolean Report [Optional]
)

Parameters

CellText

Type: String

Text to look for

Report (optional)

Type: Boolean

Default Value: False

Generate report for this step

Returns

Row number as Integer value

Example

VBScript

tableRowNumber = Application("Demo").View("DemoView").Table("DemoTable").GetCellRow("Email")
'tableRowNumber is 4

JavaScript

var tableRowNumber = Application("Demo").View("DemoView").Table("DemoTable").GetCellRow("Email");
// tableRowNumber is 4

Documentation Categories

ZAPTEST

FARM

LOAD

Virtual Expert

ZAPTEST

ZAPTEST Logo