Skip to content

YUIMenuBar

YUI MenuBar.

Extends HTMLObject

Extends SeSSimulatedObject

Behavior Pattern: YUIMenuBarBehavior

Action Summary

Action Description
DoFindChild Searches for specific item in the menu.
DoMenu Performs click on the menu item.

Action Detail

DoFindChild

Searches for specific item in the menu.

SeS('SomeYUIMenuBar').DoFindChild(path, separator, pathType)

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: ";".
pathType string Path type. Can be one of 'name', 'index'.

Returns:

HTMLObject: HTMLObject of the found node

DoMenu

Performs click on the menu item.

SeS('SomeYUIMenuBar').DoMenu(path, separator, pathType)

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: ";".
pathType string Path type. Can be one of 'name', 'index'.

Returns:

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