Interface to implement for dialogs to be monitored and handled by the DialogMonitor object.
Namespace: ArtOfTest.WebAii.Win32.Dialogs
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
The IDialog type exposes the following members.
Properties
Name | Description | |
---|---|---|
CurrentState |
The dialogs current state. This property is Managed by the dialog monitor.
Implementors should simply provide a private field to store this value for get/set operations.
| |
ErrorText |
When a dialog encounters an error and needs to abort, this property is set
| |
HandleCount |
Gets/Sets the number of times this dialog has been handled.
| |
HandlerDelegate |
Gets/Sets a dialog handler delegate that will be used instead of the Handle() function.
| |
InitializationTime |
Gets/Sets the time to before handling of the dialog starts.
| |
SkipHandling |
Gets/Sets a dialog delegate that will be used if handling dialog will be skipped.
| |
Window |
The Window object that represents this dialog.
IsDialogActive() should set this property if it is returning true.
|
Methods
Name | Description | |
---|---|---|
Handle |
If a HandlerDelegate is set, this function should call the delegate, otherwise handle the dialog itself.
| |
IsDialogActive |
Whether the dialog is active or not.
| |
MatchesUIAutomationElement |
Detect whether this UI element completes the awaited conditions. For situations where window handles do not or need not apply.
|
See Also