Class BaseDialog
Inheritance
System.Object
BaseDialog
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 abstract class BaseDialog : IDialog
Constructors
BaseDialog(Browser, DialogButton)
Declaration
public BaseDialog(Browser parentBrowser, DialogButton dismissButton)
Parameters
Browser
parentBrowser
|
Dialog
|
BaseDialog(WpfApplication, DialogButton)
Declaration
public BaseDialog(WpfApplication application, DialogButton dismissButton)
Parameters
Wpf
|
Dialog
|
Fields
m_browserVersionMajor
Declaration
protected readonly int m_browserVersionMajor
Field Value
System.
|
Properties
CurrentState
Declaration
public DialogCurrentState CurrentState { get; set; }
Property Value
Implements
DismissButton
ErrorText
Declaration
public string ErrorText { get; set; }
Property Value
System.
|
Implements
HandleCount
Declaration
public int HandleCount { get; set; }
Property Value
System.
|
Implements
HandlerDelegate
Declaration
public DialogHandlerDelegate HandlerDelegate { get; set; }
Property Value
Implements
InitializationTime
Declaration
public int InitializationTime { get; set; }
Property Value
System.
|
Implements
ParentBrowser
SkipHandling
Declaration
public Func<bool> SkipHandling { get; set; }
Property Value
System.
|
Implements
Tags
Declaration
public object[] Tags { get; set; }
Property Value
System.
|
Window
Methods
Handle()
IsDialogActive(WindowCollection)
Declaration
public abstract bool IsDialogActive(WindowCollection dialogs)
Parameters
Window
|
Returns
System.
|
Implements
IsDialogActiveByTitle(WindowCollection, String)
Declaration
protected bool IsDialogActiveByTitle(WindowCollection dialogs, string title)
Parameters
Window
|
System.
|
Returns
System.
|
IsDialogActiveByTitle(WindowCollection, String, Boolean)
Declaration
protected bool IsDialogActiveByTitle(WindowCollection dialogs, string title, bool partialTitle)
Parameters
Window
|
System.
|
System.
|
Returns
System.
|
IsDialogActiveByTitleAndTextContent(WindowCollection, String, Boolean, String)
Declaration
protected bool IsDialogActiveByTitleAndTextContent(WindowCollection dialogs, string title, bool partialTitle, string childWindowTextContent)
Parameters
Window
|
System.
|
System.
|
System.
|
Returns
System.
|
IsRejectedViaRegexOrExactMatch(String, Object)
Declaration
public static bool IsRejectedViaRegexOrExactMatch(string strActualValue, object regexOrString)
Parameters
System.
|
System.
|
Returns
System.
|
MatchesUIAutomationElement(AutomationElement)
Declaration
public virtual bool MatchesUIAutomationElement(AutomationElement element)
Parameters
System.
|
Returns
System.
|
Implements
OnBeforeHandle(EventArgs)
Declaration
protected virtual void OnBeforeHandle(EventArgs args)
Parameters
System.
|
ResetHandleCount()
Declaration
public void ResetHandleCount()
SetDialogWindow(Window)
ToString()
Declaration
public override string ToString()
Returns
System.
|
Overrides
System.Object.ToString()
ValidatePid(Int32)
Declaration
protected bool ValidatePid(int pid)
Parameters
System.
|
Returns
System.
|
WaitUntilAnyHandled(IEnumerable<BaseDialog>, Int32, Int64, Boolean)
Declaration
public static void WaitUntilAnyHandled(IEnumerable<BaseDialog> dialogs, int handleCount, long timeoutMilliseconds, bool resetHandleCount = false)
Parameters
System.
|
System.
|
System.
|
System.
|
WaitUntilHandled()
Declaration
public void WaitUntilHandled()
WaitUntilHandled(Int32)
Declaration
public void WaitUntilHandled(int timeout)
Parameters
System.
|
WaitUntilHandled(Int32, Int32, Boolean)
Declaration
public void WaitUntilHandled(int handleCount, int timeout, bool resetHandleCount)
Parameters
System.
|
System.
|
System.
|
Events
BeforeHandle
Declaration
public event EventHandler BeforeHandle
Event Type
System.
|