double clickcell, tablecell, double mouseclick, cell, table, double-click, scriptless, script-less, scripted, step, view, stepview If you are dealing with list or table object sometimes you may require double click to the list row or table cell For these purposes ZAPTEST offering DblClickRow and DblClickCell methods DblClickRow method initiate double click to the certain row of the list object. As a parametrs you need to specify row number and delay between clicks. DblClickCell method initiate double click to the certain cell of the table object. As a parametrs you need to specify row number, column number and delay between clicks.

Method DblClickCell

1 of 2 declarations

Performs Double Click on a specific cell

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function DblClickCell( 
        Integer Row,
        Integer Column,
        Integer Delay [Optional]
)

Step

DblClickCell

3

4

200

Row

Column

Delay

Parameters

Row

Type: Integer

Row number

Column

Type: Integer

Column number

Delay (optional)

Type: Integer

Default Value: 0

Delay in milliseconds between two clicks

Returns

True if operation is successful; otherwise, false

Example

VBScript

row = 3
column = 4
Application("Demo").View("DemoView").Object("WeekDays").Table("Calendar").DblClickCell row, column

JavaScript

var row = 3;
var column = 4;
Application("Demo").View("DemoView").Object("WeekDays").Table("Calendar").DblClickCell(row, column);

Comment

Perform Double Click on cell with row 3 and column 4

Step

DblClickCell

3

4

Comment

Set delay parameter

Step

DblClickCell

3

4

200


Method DblClickCell

2 of 2 declarations

Performs Double Click on 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 DblClickCell( 
        String CellText,
        Boolean Calendar [Optional],
        Integer Delay [Optional]
)

Step

DblClickCell

Cell text

true

200

CellText

Calendar

Delay

Parameters

CellText

Type: String

The text of the cell to click on

Calendar (optional)

Type: Boolean

Default Value: false

Set to true for Web Calendar object

Delay (optional)

Type: Integer

Default Value: 0

Delay in milliseconds between two clicks

Returns

True if operation is successful; otherwise, false

Example

VBScript

'Note! cellText is String, not Integer!
cellText = "25"
Application("Demo").View("DemoView").Object("WeekDays").Table("Calendar").DblClickCell cellText, true

JavaScript

//Note! cellText is String, not Integer!
var cellText = "25";
Application("Demo").View("DemoView").Object("WeekDays").Table("Calendar").DblClickCell(cellText, true);

Comment

Note! cellText is String, not Integer!

Step

DblClickCell

"25"

Comment

Set calendar and delay parameters

Step

DblClickCell

"25"

true

200

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227