BaseDialog Class

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
A base implementation for a dialog.
Inheritance Hierarchy

SystemObject
  ArtOfTest.WebAii.Win32.DialogsBaseDialog
    More...

Namespace:  ArtOfTest.WebAii.Win32.Dialogs
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax

public abstract class BaseDialog : IDialog

The BaseDialog type exposes the following members.

Constructors

  NameDescription
Public methodBaseDialog(Browser, DialogButton)
Create a new dialog.
Public methodBaseDialog(WpfApplication, DialogButton)
Initializes a new instance of the BaseDialog class
Top
Properties

  NameDescription
Public propertyCurrentState
Gets/Sets the dialog current state. State is handled my DialogMonitor.
Public propertyDismissButton
Gets/Sets the dismiss button to use to knock down this dialog.
Public propertyErrorText
Public propertyHandleCount
Gets/Sets the number of times this dialog has been handled.
Public propertyHandlerDelegate
Gets/Sets the dialog custom handler
Public propertyInitializationTime
Gets/Sets the time to before handling of the dialog starts.
Protected propertyParentBrowser
The parent browser object of this dialog
Protected propertyParentProcessId
Parent process id of the browser and all the dialogs that this object should handle.
Public propertySkipHandling
Public propertyTags
Custom tags for miscellaneous use.
Public propertyWindow
The dialog Window object.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHandle
Handle the dialog. If HandlerDelegate is set, use the delegate
Public methodIsDialogActive
Detect whether this dialog is active or not. Mostly used for HWND-based controls, such as top-level windows.
Protected methodIsDialogActiveByTitle(WindowCollection, String)
Get whether the dialog is active based on its title.
Protected methodIsDialogActiveByTitle(WindowCollection, String, Boolean)
Get whether the dialog is active base on its title.
Protected methodIsDialogActiveByTitleAndTextContent
Gets whether a dialog is active or not using the title and caption of an inner window contained in the dialog
Public methodStatic memberIsRejectedViaRegexOrExactMatch
Public methodMatchesUIAutomationElement
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnBeforeHandle
Public methodResetHandleCount
Resets the handle count back to zero.
Protected methodSetDialogWindow
Set the dialog window.
Public methodToString (Overrides ObjectToString.)
Public methodStatic memberWaitUntilAnyHandled
Public methodWaitUntilHandled
Waits for the dialog to be handled atleast once. Always performs a reset at the beginning of the wait. Will use the Settings.ClientReadyTimeout.
Public methodWaitUntilHandled(Int32)
Waits for the dialog to be handled atleast once. Always performs a reset at the being of the wait.
Public methodWaitUntilHandled(Int32, Int32, Boolean)
Waits for the dialog to be handled handleCount. You can optionally reset the handle count before waiting.
Top
Events

  NameDescription
Public eventBeforeHandle
Top
Fields

  NameDescription
Protected fieldm_browserVersionMajor
The major version of the browser
Top
See Also

Reference

Inheritance Hierarchy

SystemObject
  ArtOfTest.WebAii.Win32.DialogsBaseDialog
    ArtOfTest.WebAii.Win32.DialogsAlertDialog
    ArtOfTest.WebAii.Win32.DialogsConfirmDialog
    ArtOfTest.WebAii.Win32.DialogsDownloadNotificationBar
    ArtOfTest.WebAii.Win32.DialogsFFOpenDownloadDialog
    ArtOfTest.WebAii.Win32.DialogsFileUploadDialog
    ArtOfTest.WebAii.Win32.DialogsGenericDialog
    ArtOfTest.WebAii.Win32.DialogsIEDownloadCompleteDialog
    ArtOfTest.WebAii.Win32.DialogsIEDownloadDialog
    ArtOfTest.WebAii.Win32.DialogsLogonDialog
    ArtOfTest.WebAii.Win32.DialogsOnBeforeUnloadDialog
    ArtOfTest.WebAii.Win32.DialogsOpenFileDialog
    ArtOfTest.WebAii.Win32.DialogsPromptDialog
    ArtOfTest.WebAii.Win32.DialogsSafariDownloadDialog
    ArtOfTest.WebAii.Win32.DialogsSaveAsDialog