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

Method GetCellColor

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

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function GetCellColor( 
        String CellText [Optional],
        Boolean Calendar [Optional],
        Boolean Report [Optional]
)

Step

ZAP Object step

GetCellColor

test

false

true

cellColor

CellText

Calendar

Report

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"));

Comment

Fill all parameters

Script-Less next step

Step

ZAP Object step

GetCellColor

test

false

true

cellColor

Contact Us

3150 Roswell Rd NW

Atlanta, GA, 30305, USA

(800) 795-3552