New to Telerik Test StudioStart a free 30-day trial

Definition

Constructors

C#
public PromptDialog(Browser parentBrowser, DialogButton dismissButton, string text)
Parameters:parentBrowserBrowserdismissButtonDialogButtontextstring

Fields

C#
public const int CANCEL_BUTTON_ID = 2
C#
public const int EDIT_ID = 8133
C#
public const int OK_BUTTON_ID = 1
C#
public static readonly Regex TITLE_REGEX
C#
public static readonly string USUAL_TITLE

Properties

C#
public string Text { get; set; }

Methods

C#
public static PromptDialog CreatePromptDialog(Browser parentBrowser, DialogButton dismissButton, string text)
Parameters:parentBrowserBrowserdismissButtonDialogButtontextstringReturns:

PromptDialog

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)