ClassConfirmDialog
Class
Class to handle javascript confirm dialogs.
Definition
Namespace:ArtOfTest.WebAii.Win32.Dialogs
Assembly:ArtOfTest.WebAii.dll
Syntax:
cs-api-definition
public class ConfirmDialog : BaseDialog, IDialog
Inheritance: objectBaseDialogConfirmDialog
Implements:
Inherited Members
Constructors
ConfirmDialog(Browser, DialogButton)
Create a new AlertDialog object to handle the dialog.
Declaration
cs-api-definition
public ConfirmDialog(Browser parentBrowser, DialogButton dismissButton)
Parameters
parentBrowser
The parent browser.
dismissButton
The dismiss button to use.
Methods
CreateConfirmDialog(Browser, DialogButton)
Declaration
cs-api-definition
public static ConfirmDialog CreateConfirmDialog(Browser parentBrowser, DialogButton dismissButton)
Parameters
parentBrowser
dismissButton
Returns
Handle()
Handle this dialog.
Declaration
cs-api-definition
public override void Handle()
Overrides
Implements
IsDialogActive(WindowCollection)
Whether the dialog is active or not.
Declaration
cs-api-definition
public override bool IsDialogActive(WindowCollection dialogs)
Parameters
dialogs
The list of dialogs on the desktop.
Returns
True/False whether the dialog is active or not.
Overrides
Implements
MatchesUIAutomationElement(AutomationElement)
Matches UI automation element.
Declaration
cs-api-definition
public override bool MatchesUIAutomationElement(AutomationElement element)
Parameters
element
The element to check against.
Returns
Overrides
Implements