Class PromptDialog
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Win32.Dialogs
Assembly: ArtOfTest.WebAii.dll
Syntax
public class PromptDialog : BaseDialog, IDialog
Constructors
PromptDialog(Browser, DialogButton, String)
Declaration
public PromptDialog(Browser parentBrowser, DialogButton dismissButton, string text)
Parameters
Browser
parentBrowser
|
DialogButton
dismissButton
|
System.String
text
|
Fields
CANCEL_BUTTON_ID
Declaration
public const int CANCEL_BUTTON_ID = 2
Field Value
System.Int32
|
EDIT_ID
Declaration
public const int EDIT_ID = 8133
Field Value
System.Int32
|
OK_BUTTON_ID
Declaration
public const int OK_BUTTON_ID = 1
Field Value
System.Int32
|
TITLE_REGEX
Declaration
public static readonly Regex TITLE_REGEX
Field Value
System.Text.RegularExpressions.Regex
|
USUAL_TITLE
Declaration
public static readonly string USUAL_TITLE
Field Value
System.String
|
Properties
Text
Declaration
public string Text { get; set; }
Property Value
System.String
|
Methods
CreatePromptDialog(Browser, DialogButton, String)
Declaration
public static PromptDialog CreatePromptDialog(Browser parentBrowser, DialogButton dismissButton, string text)
Parameters
Browser
parentBrowser
|
DialogButton
dismissButton
|
System.String
text
|
Returns
PromptDialog
|
Handle()
IsDialogActive(WindowCollection)
Declaration
public override bool IsDialogActive(WindowCollection dialogs)
Parameters
WindowCollection
dialogs
|
Returns
System.Boolean
|
Overrides
Implements
MatchesUIAutomationElement(AutomationElement)
Declaration
public override bool MatchesUIAutomationElement(AutomationElement element)
Parameters
System.Windows.Automation.AutomationElement
element
|
Returns
System.Boolean
|