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 expectMessageDialogAsync() method and use the returned object.
Instance members
texts
The rendered text output elements.buttons
The rendered button output elements.clickAsync()
Clicks the specified button (matched using the button text).confirmAsync()
Clicks the first button of the dialog (confirm or dismiss button).cancelAsync()
Clicks the last button of the dialog (cancel or dismiss button).
