This topic provides reference information about the recordable user methods for testing the xamOutlookBar™ control.
This topic contains the following sections:
The following table briefly explains the recordable methods for testing the control. Detailed information about the methods is provided in the text blocks following the table.
This method records and replays the closing of the configuration overflow context menu in the xamOutlookBar overflow area.
No additional details.
No parameters are used with this method.
Example
Closing of the overflow context menu:
WpfWindow("MainWindow").XamOutlookBar("xamOutlookBar").HideOverflowContextMenu
No default setting.
No known exceptions.
This method records and replays the hiding of the popup window with the content of the currently selected group when the xamOutlookBar is minimized.
No additional details.
No parameters are used with this method.
Example
Hiding the popup window with selected group content in xamOutlookBar:
WpfWindow("MainWindow").XamOutlookBar("xamOutlookBar").HideSelectedGroupContent
No default setting.
The following table lists the possible exceptions for the method and the reason that is likely to be causing them.
This method records and replays the maximizing action performed by the user on the xamOutlookBar control.
No additional details.
No parameters are used with this method.
Example
Expanding the xamOutlookBar navigation pane:
WpfWindow("MainWindow").XamOutlookBar("xamOutlookBar").MaximizeOutlookBar
No default setting.
No known exceptions.
This method records and replays the minimizing action performed by the user on the xamOutlookBar control.
No additional details.
No parameters are used with this method.
Example
Minimizing the xamOutlookBar navigation pane:
WpfWindow("MainWindow").XamOutlookBar("xamOutlookBar").MinimizeOutlookBar
No default setting.
The following table lists the possible exceptions for the method and the reason that is likely to be causing them.
This method records and replays the resizing of the popup window with the content of the currently selected group when the xamOutlookBar is minimized.
The event of dragging the popup resizer bar is recorded after the drag is completed. This action is recorded only if the height/width of the popup has changed.
The replay is executed with setting the new recorded width and height to the popup window.
The following table explains the method’s parameters along with some sample code.
This action is recorded with the new height and width of the content popup window as parameters.
The following table lists the possible exceptions for the method and the reason that is likely to be causing them.
This method records and replays the resizing the width of the xamOutlookBar control.
The event of dragging the vertical splitter is recorded after the drag is completed. The replay is executed with setting the new recorded width to the xamOutlookBar control.
The following table explains the method’s parameter along with some sample code.
This action is recorded with the new width of the xamOutlookBar as a parameter.
The following table lists the possible exceptions for the method and the reason that is likely to be causing them.
The Selec Group t method selects the clicked group. It records and replays the group selection action performed by the user.
When the group selection is recorded, the method takes as a parameter either the group header text or the group index, depending on whether there are duplicating group headers’ texts. The following selection logic applies:
If the header text is unique, the group header text is used as a parameter.
If the header text is not unique, the group index is used for every duplicating header text.
The following table explains the method’s parameters together with some sample code.
The group selection action is recorded with the group header text passed as a parameter.
The following table lists the possible exceptions for the method and the reason that is likely to be causing them.
This method records and replays the dragging of the xamOutlookBar horizontal splitter and resizing the navigation area by adjusting the count of visible groups in it. This action also changes the number of groups in the context menu and oveflow area.
No additional details.
The following table explains the method’s parameter along with some sample code.
This action is recorded with the new maximum count of visible groups in the navigation area as a parameter.
The following table lists the possible exceptions for the method and the reason that is likely causing them.
This method records and replays the opening of the configuration overflow context menu in the xamOutlookBar overflow area.
No additional details.
No parameters are used with this method.
Example
Opening of the overflow context menu:
WpfWindow("MainWindow").XamOutlookBar("xamOutlookBar").ShowOverflowContextMenu
No default setting.
No known exceptions.
This method records and replays the opening of the popup window with the content of the currently selected group.
No additional details.
No parameters are used with this method.
Example
Expanding the hidden group content in xamOutlookBar:
WpfWindow("MainWindow").XamOutlookBar("xamOutlookBar").ShowSelectedGroupContent
No default setting.
No known exceptions.
The following table lists other topics you may find useful.