This topic provides reference information about the recordable user methods for testing the xamDialogWindow™ 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.
The Move method moves the xamDialogWindow to the specified location. It is used for recording and replaying the move action performed by the user.
When replaying the method, the X parameter value is assigned to the xamDialogWindow control’s Left property; the Y parameter value - to the Top property.
The following table explains the method’s parameters along with some sample code.
No default settings.
The following table lists the possible exceptions for the method and the reason that is likely to be causing them.
The Resize method is used for recording and replaying the resizing action performed by the user on the xamDialogWindow control.
When replaying the method, the Width parameter value is assigned to the xamDialogWindow control’s Width property; the Height parameter value - to the Height property.
The following table explains the method’s parameters along with some sample code.
No default settings.
The following table lists the possible exceptions for the method and the reason that is likely to be causing them.
The Maximize method is used for recording and replaying the maximizing action performed by the user on the xamDialogWindow control.
No additional details.
No parameters are used with this method.
Example
Maximizing the xamDialogWindow:
WpfWindow("DWMainWindow").XamDialogWindow("xamDialogWindow1").Maximize
No default settings.
The following table lists the possible exceptions for the method and the reason that is likely to be causing them.
The Minimize method is used for recording and replaying the minimizing action performed by the user on the xamDialogWindow control.
No additional details.
No parameters are used with this method.
Example
Minimizing the xamDialogWindow:
WpfWindow("DWMainWindow").XamDialogWindow("xamDialogWindow1").Minimize
No default settings.
The following table lists the possible exceptions for the method and the reason that is likely to be causing them.
The Restore method is used for recording and replaying the restoring the xamDialogWindow to a normal state after being maximized or minimized.
No additional details.
No parameters are used with this method.
Example
Restoring the xamDialogWindow to its normal size after being maximized:
WpfWindow("DWMainWindow").XamDialogWindow("xamDialogWindow1").Maximize
WpfWindow("DWMainWindow").XamDialogWindow("xamDialogWindow1").Restore
No default settings.
The following table lists the possible exceptions for the method and the reason that is likely to be causing them.
This method is used for recording and replaying the closing of the xamDialogWindow.
No additional details.
No parameters are used with this method.
Example
Closing of the xamDialogWindow:
WpfWindow("DWMainWindow").XamDialogWindow("xamDialogWindow1").Close
No default settings.
The following table lists the possible exceptions for the method and the reason that is likely to be causing them.
The following table lists other topics you may find useful.