Win32MenuBar

This is generic WIn32 menu bar (e.g. main menu of the application). Use DoClickItem to click a particular item from the menu and DoMenu to choose a menu item at the specified path.

Extends SeSSimulatedObject

Behavior Pattern: Win32ItemClickable

Property Summary

Property Description Getter Setter
ItemCount Number of items. GetItemCount

Action Summary

Action Description
DoClickItem Performs click on an item of this object.

Property Detail

ItemCount

Number of items.

Type: number

Accessors: GetItemCount

Action Detail

DoClickItem(itemName)

Performs click on an item of this object.

Parameters:

Name Type Description
itemName string Name of the item to click

Returns:

boolean: 'true' if operation was successful, 'false' otherwise

Behavior Pattern: Win32Menu

Action Summary

Action Description
DoMenu Performs click on the menu item.

Action Detail

DoMenu(path, sep)

Performs click on the menu item.

Parameters:

Name Type Description
path string Path from the menu root to a leaf item with components delimited by separator parameter.
sep string Separator character.
Optional, Default: ;.

Returns:

boolean: 'true' if success, 'false' otherwise.