ClassLogonDialog
Class to handle the logon dialog (username/password)
Definition
Namespace:ArtOfTest.WebAii.Win32.Dialogs
Assembly:ArtOfTest.WebAii.dll
Syntax:
public class LogonDialog : BaseDialog, IDialog
Inheritance: objectBaseDialogLogonDialog
Implements:
Inherited Members
Constructors
LogonDialog(Browser, string, string, DialogButton)
Create a new LogonDialog handler.
Declaration
public LogonDialog(Browser parentBrowser, string userName, string password, DialogButton dismissButton)
Parameters
parentBrowser
The parent browser.
userName
The username to set.
password
The password to set.
dismissButton
The button to use to dismiss this dialog.
Properties
Password
Gets/Sets Password
Methods
CreateLogonDialog(Browser, string, string, DialogButton)
Create a new LogonDialog handler.
Declaration
public static LogonDialog CreateLogonDialog(Browser parentBrowser, string userName, string password, DialogButton dismissButton)
Parameters
parentBrowser
The parent browser.
userName
The username to set.
password
The password to set.
dismissButton
The button to use to dismiss this dialog.
Returns
A new LogonDialog handler
Handle()
Handle this dialog.
Declaration
public override void Handle()
Overrides
Implements
IsDialogActive(WindowCollection)
Whether this dialog is active or not.
Declaration
public override bool IsDialogActive(WindowCollection dialogs)
Parameters
dialogs
The list of dialogs to check.
Returns
True/False whether this dialog is active or not.
Overrides
Implements
MatchesUIAutomationElement(AutomationElement)
Matches UI automation element.
Declaration
public override bool MatchesUIAutomationElement(AutomationElement element)
Parameters
element
The element to check against.
Returns
Overrides
Implements
ToString()
Returns a string that represents the current object.