LDTP  2.3.1
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: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/embedded-component.c

Example

With respect to gedit application, File menu

from ldtp import *

invokemenu('frmBottomExpandedEdgePanel', 'Volume Control')

Author:
Nagappan Alagappan <nagappan@gmail.com>