waitPopupMenu(oper);
}
oper.getTimeouts().sleep("JMenuOperator.WaitBeforePopupTimeout");
JMenuItem item = waitItem(oper, waitPopupMenu(oper), chooser, depth);
if(item instanceof JMenu) {
JMenuOperator mo = new JMenuOperator((JMenu)item);
mo.copyEnvironment(oper);
Object result = push(mo, null, chooser, depth + 1, false);
if(result instanceof JMenu) {
org.netbeans.jemmy.JemmyProperties.getCurrentOutput().printLine("IN HERE" + ((JMenu)result).getText());
org.netbeans.jemmy.JemmyProperties.getCurrentOutput().printLine("IN HERE" + Boolean.toString(((JMenu)result).isPopupMenuVisible()));
if(!((JMenu)result).isPopupMenuVisible()) {