TelerikRadRibbonBar

Telerik RadRibbonBar.

UI element class: Telerik.WinControls.UI.RadRibbonBar

Extends ManagedObject

Extends SeSSimulatedObject

Behavior Pattern: TelerikRadRibbonBarBehavior

Action Summary

Action Description
DoClickApplicationButton Clicks an application button on the ribbon.
DoClickItem Clicks on an item on the ribbon.
DoClickTab Clicks on a tab in the ribbon.

Action Detail

DoClickApplicationButton

Clicks an application button on the ribbon.

DoClickApplicationButton(caption, xOffset, yOffset) 

Parameters:

Name Type Description
caption string Caption of the application button to click.
xOffset number X offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the width (requires Rapise 6.5+, also requires native events mode in Web tests).
Optional.
yOffset number Y offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the height (requires Rapise 6.5+, also requires native events mode in Web tests).
Optional.

Returns:

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

DoClickItem

Clicks on an item on the ribbon.

DoClickItem(caption, xOffset, yOffset) 

Parameters:

Name Type Description
caption string Caption of an item to click.
xOffset number X offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the width (requires Rapise 6.5+, also requires native events mode in Web tests).
Optional.
yOffset number Y offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the height (requires Rapise 6.5+, also requires native events mode in Web tests).
Optional.

Returns:

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

DoClickTab

Clicks on a tab in the ribbon.

DoClickTab(caption, xOffset, yOffset) 

Parameters:

Name Type Description
caption string Caption of a tab to click.
xOffset number X offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the width (requires Rapise 6.5+, also requires native events mode in Web tests).
Optional.
yOffset number Y offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the height (requires Rapise 6.5+, also requires native events mode in Web tests).
Optional.

Returns:

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