Win32MenuBar

Top  Previous  Next

 

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.

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:

 

'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 of the menu item to select.

sep

string

Separator
Optional, Default: ;.

 

Returns:

 

'true' if success, 'false' otherwise.