Method FindRow

Finds and returns the first row number that matches the specified text

Usage

Function FindRow( 
        String RowText
)

Step

ZAP Object step

FindRow

Name

String RowText

Parameters

RowText

Type: String

The text to find

Returns

First row number that matches the specified text

Example

VBScript

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

JavaScript

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

Comment

Find row with text "Email" and save row number to variable

Script-Less next step

Variable

rowNumber

ZAP Object step

FindRow

Email