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
value = SeS('SomeWin32MenuBar').GetItemCount()
Action Detail¶
DoClickItem¶
Performs click on an item of this object.
SeS('SomeWin32MenuBar').DoClickItem(itemName)
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¶
Performs click on the menu item.
SeS('SomeWin32MenuBar').DoMenu(path, sep)
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. Possible values: ";", ",", "\", "/" Optional, Default: ";". |
Returns:
boolean: 'true' if success, 'false' otherwise.