LDTP  3.5.0
 All Pages
selectmenuitem

Syntax

selectmenuitem('<window name>', '<menu hierarchy>')

Description

Selects the menu item specified.

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

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

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

Example

With respect to gedit menu structure

selectmenuitem('*-gedit', 'mnuFile;mnuNew')

Author
Nagappan Alagappan nagap.nosp@m.pan@.nosp@m.gmail.nosp@m..com
Thanikachalam S thani.nosp@m.ka19.nosp@m.99@ya.nosp@m.hoo..nosp@m.com


Linux Desktop Testing Project