LDTP  2.3.1
rightclick

Syntax

rightclick('<window name>', '<component name>', '<menu item>', '[data]')

Todo:
icon - rightclick('<window name>', '<component name>')

Description

Right click on the given object.

ImplementationDetails

This function gets the coordinate of the given object and the right click event is generated.

Note:
If the object's window is not in focus, then this function will fail
Return values:
1on success, LdtpExecutionError exception on failure

Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/tree-table.c http://cgit.freedesktop.org/ldtp/ldtp/tree/src/layered-pane.c

Example

# Right click on an embedded component object type

rightclick('frmBottomExpandedEdgePanel', 'Volume Control', None)

Author:
Thanikachalam S <thanika1999@yahoo.com>
Poornima <pnayak@novell.com>
Premkumar J <prem.jothimani@gmail.com>