Method GetColumns
Gets Table Column CountUsage
Function GetColumns(
Boolean UseScrolling [Optional],
Boolean Report [Optional]
)
Parameters
UseScrolling (optional)
Type: Boolean
Default Value: True
Scroll page during dynamic table recognition
Report (optional)
Type: Boolean
Default Value: False
Generate report for this step
Returns
Column count or -1 in case of recognition problem
Example
VBScript
msgbox Application("Demo").View("DemoView").Object("DemoTable").GetColumns(true, true)
JavaScript
alert(Application("Demo").View("DemoView").Object("DemoTable").GetColumns(true, true));
Comment
Get column count and save it to local variable