Dialog
Namespace: E2E.Engine
public sealed class DialogA native dialog as a test’s handler sees it (upstream’s Dialog).
Inheritance: object
Properties
Section titled “Properties”Message
Section titled “Message”public string Message { get; }The dialog’s text.
Value: string
public DialogType Type { get; }The native dialog kind, independent of its message.
Value: DialogType
Methods
Section titled “Methods”AcceptAsync(string?)
Section titled “AcceptAsync(string?)”public Task AcceptAsync(string? text = null)Accepts the dialog once. <code class=“paramref”>text</code> answers a prompt.
Parameters
| Name | Type | Description |
|---|---|---|
text |
string |
Returns: Task
DismissAsync()
Section titled “DismissAsync()”public Task DismissAsync()Dismisses the dialog once.
Returns: Task