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(path, separator, pathType)

Searches for specific item in the menu.

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

Returns:

HTMLObject: HTMLObject of the found node

DoMenu(path, separator, pathType)

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.
separator string Separator character.
Optional, Default: ;.
pathType string Path type. Can be one of 'name', 'index'.

Returns:

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