ManagedMenuPopupItem¶
Managed MenuPopupItem.
UI element class: System.Windows.Forms.ToolStripDropDown
Extends ManagedObject
Extends SeSSimulatedObject
Behavior Pattern: ManagedMenuItemBehavior
Action Summary¶
| Action | Description |
|---|---|
| DoFullText | Returns text representation of the menu or saves it to a file. |
| DoMenu | Performs click on the menu item. |
Action Detail¶
DoFullText¶
Returns text representation of the menu or saves it to a file.
SeS('SomeManagedMenuPopupItem').DoFullText(separator, filePath, append, includeSeparators)
Parameters:
| Name | Type | Description |
|---|---|---|
| separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". |
| filePath | string | Name of a file that should hold text representation of the menu. |
| append | boolean | If 'false' then file should be overwritten, if 'true' then data should be appended. Optional, Default: "false". |
| includeSeparators | boolean | If 'true' then menu separators are included to the result. Optional, Default: "false". |
Returns:
number |
boolean: Text representation of the menu, 'true' if the file was successfully written, 'false' otherwise.
DoMenu¶
Performs click on the menu item.
SeS('SomeManagedMenuPopupItem').DoMenu(path, separator)
Parameters:
| Name | Type | Description |
|---|---|---|
| path | string | Path from the menu root to a leaf item with components delimited by separator parameter. |
| separator | string | Separator character. Possible values: ";", ",", "\", "/" Optional, Default: ";". |
Returns:
boolean: 'true' if success, 'false' otherwise.