BaseDialog
Class
Definition
Namespace:ArtOfTest.WebAii.Win32.Dialogs
Assembly:ArtOfTest.WebAii.dll
Syntax:
C#
public abstract class BaseDialog : IDialog
Inheritance: objectBaseDialog
Derived Classes:
Implements:
Constructors
C#
public BaseDialog(Browser parentBrowser, DialogButton dismissButton)
C#
public BaseDialog(WpfApplication application, DialogButton dismissButton)
Fields
C#
protected readonly int m_browserVersionMajor
Properties
C#
public DialogCurrentState CurrentState { get; set; }
Implements:
C#
public DialogButton DismissButton { get; set; }
C#
public int HandleCount { get; set; }
Implements:
C#
public DialogHandlerDelegate HandlerDelegate { get; set; }
Implements:
C#
public int InitializationTime { get; set; }
Implements:
C#
protected Browser ParentBrowser { get; }
C#
public Func<bool> SkipHandling { get; set; }
Implements:
Methods
C#
public abstract void Handle()
Implements:
C#
public abstract bool IsDialogActive(WindowCollection dialogs)
Implements:
C#
protected bool IsDialogActiveByTitle(WindowCollection dialogs, string title, bool partialTitle)
C#
protected bool IsDialogActiveByTitle(WindowCollection dialogs, string title)
C#
protected bool IsDialogActiveByTitleAndTextContent(WindowCollection dialogs, string title, bool partialTitle, string childWindowTextContent)
C#
public virtual bool MatchesUIAutomationElement(AutomationElement element)
Implements:
C#
public void ResetHandleCount()
C#
public static void WaitUntilAnyHandled(IEnumerable<BaseDialog> dialogs, int handleCount, long timeoutMilliseconds, bool resetHandleCount = false)
C#
public void WaitUntilHandled()
Events
C#
public event EventHandler BeforeHandle