Class
IEDownloadDialog

IE's initial download dialog.

Definition

Namespace:ArtOfTest.WebAii.Win32.Dialogs

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
public class IEDownloadDialog : BaseDialog, IDialog

Inheritance: objectBaseDialogIEDownloadDialog

Implements: IDialog

Inherited Members BaseDialog.m_browserVersionMajorBaseDialog.ValidatePid(int)BaseDialog.ValidateReadFileAccess(string, string, out string)BaseDialog.ValidatePaths(string, out string)BaseDialog.GetFilePaths(string)BaseDialog.SetDialogWindow(Window)BaseDialog.IsDialogActiveByTitle(WindowCollection, string)BaseDialog.IsDialogActiveByTitle(WindowCollection, string, bool)BaseDialog.IsRejectedViaRegexOrExactMatch(string, object)BaseDialog.IsDialogActiveByTitleAndTextContent(WindowCollection, string, bool, string)BaseDialog.ToString()BaseDialog.ResetHandleCount()BaseDialog.WaitUntilHandled(int)BaseDialog.WaitUntilHandled()BaseDialog.WaitUntilHandled(int, int, bool)BaseDialog.WaitUntilAnyHandled(IEnumerable<BaseDialog>, int, long, bool)BaseDialog.MatchesUIAutomationElement(AutomationElement)BaseDialog.OnBeforeHandle(EventArgs)BaseDialog.ParentBrowserBaseDialog.ErrorTextBaseDialog.CurrentStateBaseDialog.WindowBaseDialog.HandleCountBaseDialog.HandlerDelegateBaseDialog.DismissButtonBaseDialog.SkipHandlingBaseDialog.TagsBaseDialog.InitializationTimeBaseDialog.BeforeHandle

Constructors

IEDownloadDialog(Browser, DialogButton, Desktop)

Create the dialog passing it the parent browser and the button to use to dismiss the instance of this dialog.

Declaration

cs-api-definition
public IEDownloadDialog(Browser parentBrowser, DialogButton dismissButton, Desktop desktop)

Parameters

parentBrowser

Browser

The parent browser.

dismissButton

DialogButton

The button to use to dismiss the dialog. Accepts: RUN, CANCEL, SAVE or OPEN.

desktop

Desktop

The desktop object.

Methods

Handle()

This is called by the DialogMonitor whenever IsDialogActive returns true.

Declaration

cs-api-definition
public override void Handle()

Overrides BaseDialog.Handle()

IsDialogActive(WindowCollection)

Check whether the dialog is present or not. This function is called by the dialog monitor object

Declaration

cs-api-definition
public override bool IsDialogActive(WindowCollection dialogs)

Parameters

dialogs

WindowCollection

This is a list of dialog passes in the by the DialogMonitor object.

Returns

bool

True/False whether this dialog is present.

Overrides BaseDialog.IsDialogActive(WindowCollection)