DownloadDialog

Description

Dialog that is shown when a file download is requested, allows to save a file to the filesystem.

DownloadDialog Class

Namespace: Progile.TRIO.EnvironmentModel.WebBrowser Assembly: Progile.TRIO.EnvironmentModel.Windows (in Progile.TRIO.EnvironmentModel.Windows.dll)

Inheritance Hierarchy:

Object Progile.TRIO.BaseModel.OnScreenElement Progile.TRIO.BaseModel.BaseScreen Progile.TRIO.EnvironmentModel.Window Progile.TRIO.EnvironmentModel.WebBrowser.DownloadDialog

Constructors

Syntax:

public DownloadDialog(
	ITester t,
	ISystemHelpers systemHelpers,
	BrowserType browserType
)

Parameter

Description

t

The tester interface.

systemHelper

An instance of the ISystemHelpers interface that allows interaction with the SUT operating system.

browserType

The type of browser. Required because there are some differences in how the dialog behaves in the different browsers.

Methods

Name

Description

Opens the "save as" file dialog. Behavior is different for every browser type.

Properties

Name

Description

The icon to close the notification of the successful download.

The OK button in the Firefox version of the DownloadDialog to confirm the download.

The OpenFolder button in the IE/Edge version of the DownloadDialog that appears after the download is complete.

The SaveAs button in the DownloadDialog to select that the download shall be saved as a file, instead of e.g. opening it.

The Save SplitButton in the IE / Edge version of the DownloadDialog to bring up the SaveAs option.

Last updated