Method GetCellColumn
Get the column number of a cell with the input textUsage
Function GetCellColumn(
String CellText [Optional],
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"));
Documentation Categories
![](https://www.zaptest.com/wp-content/uploads/2022/02/1SCRIPT_STEP.jpg)
ZAPTEST
![](https://www.zaptest.com/wp-content/uploads/2022/02/FARM.jpg)
FARM
![](https://www.zaptest.com/wp-content/uploads/2022/02/LOAD.jpg)
Comment
Get cell column and save it to local variable