* @return The {@link SWTBotMenu} item.
* @throws WidgetNotFoundException Thrown if the menu can not be found or if the view does not contain a menu.
* @since 1.2
*/
public SWTBotViewMenu menu(String label, int index) throws WidgetNotFoundException {
List l = getViewMenuFinder().findMenus((IViewReference) view, new MnemonicTextMatcher(label), true);
if ((l == null) || (l.size() < 1)) {
CommandFinder finder = new CommandFinder();
l = finder.findCommand(new StringMatcher(label));
}