Share this page

# MenuItem

## Oracle. MenuItem

A menu item in an Oracle menu.

# Constructor

## new MenuItem()

### Methods

## getMenuSubItems() → {Promise.<Array.<MenuItem>>}

Returns a list of all submenus for the specified menu item.

Returns:

a promise that is fulfilled with the list of all submenus items.

Type
  Promise.<Array.<MenuItem>>

## isChecked() → {Promise.<boolean>}

Indicates whether this menu item is currently checked.

Returns:

a promise that is fulfilled with the indication of whether this menu item has a check mark displayed next to it.

Type
  Promise.<boolean>

## isDisabled() → {Promise.<boolean>}

Indicates whether this menu item is currently disabled.

Returns:

a promise that is fulfilled with the indication of whether this menu item is disabled.

Type
  Promise.<boolean>

## isEnabled() → {Promise.<boolean>}

Indicates whether this menu item is currently enabled.

Returns:

a promise that is fulfilled with the indication of whether this menu item is currently enabled.

Type
  Promise.<boolean>

## isShowing() → {Promise.<boolean>}

Indicates whether this menu item is currently showing.

Returns:

a promise that is fulfilled with the indication of whether this menu item is showing.

Type
  Promise.<boolean>

## isVisible() → {Promise.<boolean>}

Indicates whether this menu item is currently visible.

Returns:

a promise that is fulfilled with the indication of whether this menu item is visible.

Type
  Promise.<boolean>

Tips to improve your search results... UFT Developer JavaScript SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: