class RenderedTestMessageDialog
A class that represents a rendered message dialog (for testing).
class RenderedTestMessageDialog
Notes
- This class can be used to validate the contents of a message dialog, and to click its buttons (asynchronously).
- To wait for a message dialog to be rendered, use the TestCase.expectMessageDialogAsync() method and use the returned object.
Instance Members
- labelsThe rendered label output elements.
- buttonsThe rendered button output elements.
- clickAsync(button)Clicks the specified button (matched using the button label).
- confirmAsync()Clicks the first button of the dialog (confirm or dismiss button).
- cancelAsync()Clicks the last button of the dialog (cancel or dismiss button).