Method GetCellColor
Get the color of the first cell that has the input textUsage
Function GetCellColor(
String CellText [Optional],
Boolean Calendar [Optional],
Boolean Report [Optional]
)
Parameters
CellText (optional)
Type: String
the text of the cell to click on
Calendar (optional)
Type: Boolean
Default Value: False
Set to True for Web Calendar object
Report (optional)
Type: Boolean
Default Value: False
Generate report for this step
Returns
String
Example
VBScript
msgbox Application("Demo").View("DemoView").Object("DemoTable").GetCellColor("test")
JavaScript
alert(Application("Demo").View("DemoView").Object("DemoTable").GetCellColor("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
Fill all parameters