get, cell, column, table, scriptless, script-less, scripted, step, view, stepview

Method GetCellColumn

Get the column number of a cell with the input text

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function GetCellColumn( 
        String CellText [Optional],
        Boolean Report [Optional]
)

Step

ZAP Object step

GetCellColumn

test

true

colNumber

CellText

Report

Parameters

CellText (optional)

Type: String

Text of the cell to look for

Report (optional)

Type: Boolean

Default Value: False

Generate report for this step

Returns

Integer

Example

VBScript

msgbox Application("Demo").View("DemoView").Object("DemoTable").GetCellColumn("test")

JavaScript

alert(Application("Demo").View("DemoView").Object("DemoTable").GetCellColumn("test"));

Comment

Get cell column and save it to local variable

Script-Less next step

Step

ZAP Object step

GetCellColumn

test

true

colNumber

Contact Us

3150 Roswell Rd NW

Atlanta, GA, 30305, USA

(800) 795-3552