Usage
Function GetColumns(
Boolean UseScrolling [Optional],
Boolean Report [Optional]
)
Step
GetColumns
true
true
columnCount
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));
Step
GetColumns
true
true
columnCount

Comment
Get column count and save it to local variable