Logo Search packages:      
Sourcecode: ldtp-doc version File versions  Download package

rightclick

Syntax

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

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

Description

Right click on the given object.

Implementation

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:
1 on success, LdtpExecutionError exception on failure
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/tree-table.c http://webcvs.freedesktop.org/ldtp/ldtp/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>


Generated by  Doxygen 1.6.0   Back to index