SystemHelpers Properties

ArtifactsDirectory

The path to the artifacts directory that is mapped on the SUT. The content of the artifacts directory will be provided for download in artifacts folder for the report in the TestResults.io portal. By default: "R:\"

Syntax: public string ArtifactsDirectory { get; }

InstallerDirectory

The path to the directory where the installer files are mapped on the SUT. By default: "R:\RequestedContent\SoftwareExecutable\"

Syntax: public string InstallerDirectory { get; }

OsType

The Type of the SUT OS, i.e. Windows.

Syntax: public string OsType { get; }

SupportingFilesDirectory

The path to the directory where the supporting files are mapped on the SUT. Default: "R:\SupportingFiles\"

Syntax: public string SupportingFilesDirectory { get; }

SystemInteractions

Gives access to the system interactions implementation that provides basic interactions such as keyboard shortcuts for the target operating system.

Syntax: public ISystemInteractions SystemInteractions { get; }

TempFolderOnSut

The path to a temporary folder that is unique to the currently running tc. Depending on the need, the folder needs to be created first with SystemHelpers.CreateFolderPath(SystemHelpers.TempFolderOnSut); If the folder was created, make sure to call SystemHelpers.DeleteFile(SystemHelpers.TempFolderOnSut); in cleanup step. Default: "C:\Temp\{reportId}\"

Syntax: public string TempFolderOnSut { get; set; }

UsableScreen

The rectangle of the SUT screen that can be used by a windowed application. In particular for Windows it subtracts the taskbar height from the fullscreen.

Syntax: public ResultRectangle UsableScreen { get; }

WindowsVersion

The Windows Version of the SUT. It can be set from externally, but typically is determined during the EnvironmentReady method based on the windows start button.

Syntax: public static WindowsVersion WindowsVersion { get; set; }

Last updated