LDTP  3.5.0
 All Pages
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: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/table.py http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/combo_box.py

Mac: https://github.com/ldtp/pyatom/blob/master/atomac/ldtpd/table.py

Windows: https://github.com/ldtp/cobra/blob/master/Ldtpd/Tree.cs

Example

Right click on an embedded component object type

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

Author
Thanikachalam S thani.nosp@m.ka19.nosp@m.99@ya.nosp@m.hoo..nosp@m.com
Poornima pnaya.nosp@m.k@no.nosp@m.vell..nosp@m.com
Premkumar J prem..nosp@m.joth.nosp@m.imani.nosp@m.@gma.nosp@m.il.co.nosp@m.m


Linux Desktop Testing Project