Method GetRows
Gets Table Row CountUsage
Function GetRows(
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));
Documentation Categories
![](https://www.zaptest.com/wp-content/uploads/2022/02/1SCRIPT_STEP.jpg)
ZAPTEST
![](https://www.zaptest.com/wp-content/uploads/2022/02/FARM.jpg)
FARM
![](https://www.zaptest.com/wp-content/uploads/2022/02/LOAD.jpg)
Comment
Get row count and save it to local variable