Share this page

# Menu

## StdWin. Menu

## new Menu(propsopt) → {Menu}

The description of a Menu test object.

##### Parameters:

Name | Type | Attributes | Description
--- | --- | --- | ---
`props` | Object | <optional> | Initializes a Menu test object using the supplied property bag.

##### Returns:

the description object that was initialized.

Type
  Menu

# Methods

## type(typeopt) → {StdWin.MenuType|Description}

The menu type. The possible value is in the enum StdWin.MenuType

##### Parameters:

Name | Type | Attributes | Description
--- | --- | --- | ---
`type` | StdWin.MenuType | <optional> | When provided, this method acts as a setter and sets the type value.

##### Returns:

If no parameter is provided, the method acts as a getter and returns the current stored type value; otherwise it returns 'this' for use with the builder pattern.

Type
  StdWin.MenuType | Description

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: