fbpx

Method GetCellColor

Get the color of the first cell that has the input text

Usage

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

ZAPTEST

FARM

LOAD