RunWindow

Description

A class for the windows run dialog that allows to open or run any program, folder, document or web resource. Open the run dialog with RunWindow.OpenRunWindow.

// example for opening up powershell with the RunWindow
var runWindow = RunWindow.OpenRunWindow(t, App.SystemHelpers);
runWindow.RunCommand("powershell");

RunWindow Class

Namespace: Progile.TRIO.EnvironmentModel 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.RunWindow

Constructors

The constructor is private. Use the static method RunWindow.OpenRunWindow to open and instantiate a new run window.

Syntax:

private RunWindow(
	ITester t,
	ISystemHelpers systemHelpers
)

Parameter

Description

t

Type: ITester

The tester interface.

systemHelper

Type: ISystemHelpers

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

Methods

Name

Description

OpenRunWindow

Opens the run window and returns its initialized screen object.

Runs or opens a program, folder, document or web resource from the run window.

Properties

Name

Description

The text box to enter the command that shall be run.

Last updated