IDialog Interface

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
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

public interface IDialog

The IDialog type exposes the following members.

Properties

  NameDescription
Public propertyCurrentState
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.
Public propertyErrorText
When a dialog encounters an error and needs to abort, this property is set
Public propertyHandleCount
Gets/Sets the number of times this dialog has been handled.
Public propertyHandlerDelegate
Gets/Sets a dialog handler delegate that will be used instead of the Handle() function.
Public propertyInitializationTime
Gets/Sets the time to before handling of the dialog starts.
Public propertySkipHandling
Gets/Sets a dialog delegate that will be used if handling dialog will be skipped.
Public propertyWindow
The Window object that represents this dialog. IsDialogActive() should set this property if it is returning true.
Top
Methods

  NameDescription
Public methodHandle
If a HandlerDelegate is set, this function should call the delegate, otherwise handle the dialog itself.
Public methodIsDialogActive
Whether the dialog is active or not.
Public methodMatchesUIAutomationElement
Detect whether this UI element completes the awaited conditions. For situations where window handles do not or need not apply.
Top
See Also

Reference