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
)

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

Variable

rowNumber

GetCellRow

Email

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227