Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any idea how to get a list of menu items in GEdit ? #50

Open
stuaxo opened this issue Jan 22, 2019 · 0 comments
Open

Any idea how to get a list of menu items in GEdit ? #50

stuaxo opened this issue Jan 22, 2019 · 0 comments

Comments

@stuaxo
Copy link
Contributor

stuaxo commented Jan 22, 2019

I've been playing with Gedit. What I want to check is that my menu items under the tools menu are available (it's a submenu: Shoebot, with another submenu: Examples).

The aim would be to verify the structure of the menu is there.

I can look for individual items, and verify the Tools menu exists, but any idea how to get the list of items in a menu ?

import ldtp

ldtp.launchapp('gedit')
ldtp.click('*-gedit', 'tbtnMenu')


>>> ldtp.listsubmenus('*-gedit', 'Tools')
[]


ldtp.selectmenuitem('*-gedit', 'Quit')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant