get, cell, row, table, tablerow, cell, tablecell, scriptless, script-less, scripted, step, view, stepview

Method GetCellRow

Gets the row number of a cell with the input text

Watch this video to learn how to use this method

Have a problem with playback?

Usage

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

Step

ZAP Object step

GetCellRow

Email

True

rowNumber

CellText

Report

Output Parameter

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

Lets take a table on the view with next information:

FieldName FieldValue
Name John Smith
Phone (123)456-7890
Email jsmith@zap.com

We will find Email row

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

Comment

Get row number with text "Email" and save it to variable

Script-Less next step

Variable

rowNumber

ZAP Object step

GetCellRow

Email

True

rowNumber

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function GetCellRow( 
        String CellText
)

Step

ZAP Object step

GetCellRow

Email

CellText

Parameters

CellText

Type: String

Text to look for

Returns

Row number as Integer value

Example

Lets take a table on the view with next information:

FieldName FieldValue
Name John Smith
Phone (123)456-7890
Email jsmith@zap.com

We will find Email row

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

Comment

Get row number with text "Email" and save it to variable

Script-Less next step

Variable

rowNumber

ZAP Object step

GetCellRow

Email

Contact Us

3150 Roswell Rd NW

Atlanta, GA, 30305, USA

(800) 795-3552