LDTP  3.5.0
 All Pages
invokemenu

Syntax

invokemenu('window name>', 'object name>')

Description

Invokes the menu in an embedded component(accessible) type

Return values
1on success, LdtpExecutionError exception on failure

Refer: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/menu.py

Example

With respect to gedit application, File menu

from ldtp import *

invokemenu('frmBottomExpandedEdgePanel', 'Volume Control')

Note
Linux only feature
Author
Nagappan Alagappan nagap.nosp@m.pan@.nosp@m.gmail.nosp@m..com


Linux Desktop Testing Project