LDTP  2.3.1
mouserightclick

Syntax

mouserightclick('<window name>', '<object name>')

Description

Tries to grab focus of the object, then move the mouse to the center of object and does a right click

Return values:
Returns1 on success, LdtpExecutionError exception will be thrown on failure

Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/device.c

Example

mouserightclick('*-gedit', 'txt1')

Author:
Prashanth Mohan <prashmohan@gmail.com>