Method GetCellColumn

Get the column number of a cell with the input text

Usage

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

Step

ZAP Object step

GetCellColumn

test

true

colNumber

String CellText

Boolean Report [Optional]

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