New to Telerik Test StudioStart a free 30-day trial

Definition

Constructors

C#
public LogonDialog(Browser parentBrowser, string userName, string password, DialogButton dismissButton)
Parameters:parentBrowserBrowseruserNamestringpasswordstringdismissButtonDialogButton

Properties

C#
public string Password { get; set; }
C#
public string UserName { get; set; }

Methods

C#
public static LogonDialog CreateLogonDialog(Browser parentBrowser, string userName, string password, DialogButton dismissButton)
Parameters:parentBrowserBrowseruserNamestringpasswordstringdismissButtonDialogButtonReturns:

LogonDialog

C#
public override void Handle()

Overrides: BaseDialog.Handle()

Implements: IDialog.Handle()

C#
public override bool IsDialogActive(WindowCollection dialogs)
Parameters:dialogsWindowCollectionReturns:

bool

Overrides: BaseDialog.IsDialogActive(WindowCollection)

Implements: IDialog.IsDialogActive(WindowCollection)

C#
public override bool MatchesUIAutomationElement(AutomationElement element)
Parameters:elementAutomationElementReturns:

bool

Overrides: BaseDialog.MatchesUIAutomationElement(AutomationElement)

Implements: IDialog.MatchesUIAutomationElement(AutomationElement)

C#
public override string ToString()
Returns:

string

Overrides: BaseDialog.ToString()