Class to handle javascript alert dialogs.
| C# | Visual Basic | Visual Basic Usage |
public class AlertDialog : BaseDialog
Public Class AlertDialog _ Inherits BaseDialog
Dim instance As AlertDialog
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| AlertDialog(Browser, DialogButton) |
Create a new AlertDialog object to handle the dialog.
| |
| CurrentState |
Gets/Sets the dialog current state. State is handled my DialogMonitor.
(Inherited from BaseDialog.) | |
| DismissButton |
Gets/Sets the dismiss button to use to knock down this dialog.
(Inherited from BaseDialog.) | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetProccessIdForWindow(Window) |
Return the process id from a window handle.
(Inherited from BaseDialog.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Handle()()() |
Handle this dialog.
(Overrides BaseDialog.Handle()()().) | |
| HandleCount |
Gets/Sets the number of times this dialog has been handled.
(Inherited from BaseDialog.) | |
| HandlerDelegate |
Gets/Sets the dialog custom handler
(Inherited from BaseDialog.) | |
| IsDialogActive(WindowCollection) |
Whether the dialog is active or not.
(Overrides BaseDialog.IsDialogActive(WindowCollection).) | |
| IsDialogActiveByTitle(WindowCollection, String) |
Get whether the dialog is active based on its title.
(Inherited from BaseDialog.) | |
| IsDialogActiveByTitle(WindowCollection, String, Boolean) |
Get whether the dialog is active base on its title.
(Inherited from BaseDialog.) | |
| IsDialogActiveByTitleAndTextContent(WindowCollection, String, Boolean, String) |
Gets whether a dialog is active or not using the title and caption of an inner window contained
in the dialog
(Inherited from BaseDialog.) | |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ParentBrowser |
The parent browser object of this dialog
(Inherited from BaseDialog.) | |
| ParentProcessId |
Parent process id of the browser and all the dialogs that this object should handle.
(Inherited from BaseDialog.) | |
| ResetHandleCount()()() |
Resets the handle count back to zero.
(Inherited from BaseDialog.) | |
| SetDialogWindow(Window) |
Set the dialog window.
(Inherited from BaseDialog.) | |
| ToString()()() | (Inherited from Object.) | |
| WaitUntilHandled(Int32) |
Waits for the dialog to be handled atleast once. Always performs a reset at the being of the wait.
(Inherited from BaseDialog.) | |
| WaitUntilHandled()()() |
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.) | |
| WaitUntilHandled(Int32, Int32, Boolean) |
Waits for the dialog to be handled handleCount. You can optionally reset the handle count before waiting.
(Inherited from BaseDialog.) | |
| Window |
The dialog Window object.
(Inherited from BaseDialog.) |
| Object | ||
| BaseDialog | ||
| AlertDialog | ||
