search, row, content, rowtext, tablerow

GetRowText

Gets the text from table or list by row number. Row text is separated by new line and "|" symbol for each column in the table

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function GetRowText( 
    Integer Row,
    Boolean Report [Optional]
)

Step

ZAP Object step

GetRowText

3

True

text

Row

Report

Output Parameter

Parameters

Row

Type: Integer

Row Number

Report (optional)

Type: Boolean

Default Value: False

Generate report for this step

Returns

Row text

Example

Let's take a table on the view with next information:

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

We will get text from Name column

VBScript

rowNumber = Application("Demo").View("DemoView").Table("DemoTable").FindRow("Name")
msgbox Application("Demo").View("DemoView").Object("DemoTable").GetRowText(rowNumber)

JavaScript

var rowNumber = Application("Demo").View("DemoView").Table("DemoTable").FindRow("Name");
alert(Application("Demo").View("DemoView").Object("DemoTable").GetRowText(rowNumber));

Comment

Get text from row with number 3 and add step to report result

Script-Less next step

Step

ZAP Object step

GetRowText

3

True

rowNumber

Contact Us

1425 Market Blvd Suite 530-230

Roswell, GA 30076, USA

(800) 795-3552