GenericDialog Class

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
A generic dialog handler that can be used for quick and easy way to write a dialog handler for a simply dialog.
Inheritance Hierarchy

SystemObject
  ArtOfTest.WebAii.Win32.DialogsBaseDialog
    ArtOfTest.WebAii.Win32.DialogsGenericDialog

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

public class GenericDialog : BaseDialog

The GenericDialog type exposes the following members.

Constructors

  NameDescription
Public methodGenericDialog(Browser, String, Boolean)
Create a new generic dialog.
Public methodGenericDialog(WpfApplication, String, Boolean)
Create a new generic dialog.
Public methodGenericDialog(Browser, String, Boolean, Int32)
Create a new generic dialog
Public methodGenericDialog(Browser, String, Boolean, String)
Create a new generic dialog.
Public methodGenericDialog(Browser, String, String, Boolean)
Create a new generic dialog.
Public methodGenericDialog(WpfApplication, String, Boolean, Int32)
Create a new generic dialog
Public methodGenericDialog(WpfApplication, String, Boolean, String)
Create a new generic dialog.
Public methodGenericDialog(WpfApplication, String, String, Boolean)
Create a new generic dialog.
Public methodGenericDialog(Browser, String, Boolean, Int32, String)
Create a new generic dialog
Public methodGenericDialog(Browser, String, Boolean, String, String)
Create a new generic dialog.
Public methodGenericDialog(WpfApplication, String, Boolean, Int32, String)
Create a new generic dialog
Public methodGenericDialog(WpfApplication, String, Boolean, String, String)
Create a new generic dialog.
Public methodGenericDialog(Browser, String, Boolean, String, Int32, String)
All-encompassing base constructor.
Public methodGenericDialog(WpfApplication, String, Boolean, String, Int32, String)
All-encompassing base constructor.
Top
Properties

  NameDescription
Public propertyButtonId
Gets/Sets the button id to click.
Public propertyButtonText
Gets/Sets the button text to click.
Public propertyChildTextContext
Gets/Sets the child text of a child window of this dialog.
Public propertyCurrentState
Gets/Sets the dialog current state. State is handled my DialogMonitor.
(Inherited from BaseDialog.)
Public propertyDismissButton
Gets/Sets the dismiss button to use to knock down this dialog.
(Inherited from BaseDialog.)
Public propertyErrorText (Inherited from BaseDialog.)
Public propertyHandleCount
Gets/Sets the number of times this dialog has been handled.
(Inherited from BaseDialog.)
Public propertyHandlerDelegate
Gets/Sets the dialog custom handler
(Inherited from BaseDialog.)
Public propertyInitializationTime
Gets/Sets the time to before handling of the dialog starts.
(Inherited from BaseDialog.)
Protected propertyParentBrowser
The parent browser object of this dialog
(Inherited from BaseDialog.)
Protected propertyParentProcessId
Parent process id of the browser and all the dialogs that this object should handle.
(Inherited from BaseDialog.)
Public propertyPartialTitle
Gets/Sets whether the title is partial title.
Public propertySkipHandling (Inherited from BaseDialog.)
Public propertyTags
Custom tags for miscellaneous use.
(Inherited from BaseDialog.)
Public propertyTitle
Gets/Sets the title of this dialog.
Public propertyWindow
The dialog Window object.
(Inherited from BaseDialog.)
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 this generic dialog
(Overrides BaseDialogHandle.)
Public methodIsDialogActive
If dialog is active.
(Overrides BaseDialogIsDialogActive(WindowCollection).)
Protected methodIsDialogActiveByTitle(WindowCollection, String)
Get whether the dialog is active based on its title.
(Inherited from BaseDialog.)
Protected methodIsDialogActiveByTitle(WindowCollection, String, Boolean)
Get whether the dialog is active base on its title.
(Inherited from BaseDialog.)
Protected methodIsDialogActiveByTitleAndTextContent
Gets whether a dialog is active or not using the title and caption of an inner window contained in the dialog
(Inherited from BaseDialog.)
Public methodMatchesUIAutomationElement (Inherited from BaseDialog.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnBeforeHandle (Inherited from BaseDialog.)
Public methodResetHandleCount
Resets the handle count back to zero.
(Inherited from BaseDialog.)
Protected methodSetDialogWindow
Set the dialog window.
(Inherited from BaseDialog.)
Public methodToString (Inherited from BaseDialog.)
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.
(Inherited from BaseDialog.)
Public methodWaitUntilHandled(Int32)
Waits for the dialog to be handled atleast once. Always performs a reset at the being of the wait.
(Inherited from BaseDialog.)
Public methodWaitUntilHandled(Int32, Int32, Boolean)
Waits for the dialog to be handled handleCount. You can optionally reset the handle count before waiting.
(Inherited from BaseDialog.)
Top
Events

  NameDescription
Public eventBeforeHandle (Inherited from BaseDialog.)
Top
Fields

  NameDescription
Protected fieldm_browserVersionMajor
The major version of the browser
(Inherited from BaseDialog.)
Top
See Also

Reference