get, columns, table, scriptless, script-less, scripted, step, view, stepview

Method GetColumns

Gets Table Column Count

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function GetColumns( 
        Boolean UseScrolling [Optional],
        Boolean Report [Optional]
)

Step

GetColumns

true

true

columnCount

UseScrolling

Report

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

Step

GetColumns

true

true

columnCount

Contact Us

1425 Market Blvd Ste 530 - 230

Roswell, GA 30076 USA

(800) 795-3552