verifymenucheck ('<window name>', '<menu item>')
Verify whether a menu is checked or not
- Todo:
- Return values:
-
| 1 | on success, 0 on failure |
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/check-menu-item.c
With respect to gedit, View menu and Toolbar check menuitem, we can verify whether the menu is checked or not. If checked 1 will be returned, else 0 will be returned.
verifymenucheck ('*-gedit', 'mnuView;mnuToolbar')
- Author:
- Nagappan <nagappan@gmail.com>
Linux Desktop Testing Project