Method GetRows

Gets Table Row Count

Usage

Function GetRows(
        Boolean Report [Optional]
)

Step

ZAP Object step

GetRows

true

rowCount

Boolean Report [Optional]

Parameters

Report (optional)

Type: Boolean

Default Value: False

Generate report for this step

Returns

Row count or -1 in case of recognition problem

Example

VBScript

msgbox Application("Demo").View("DemoView").Object("DemoTable").GetRows(true)

JavaScript

alert(Application("Demo").View("DemoView").Object("DemoTable").GetRows(true));

Comment

Get row count and save it to local variable

Script-Less next step

Step

ZAP Object step

GetRows

true

rowCount