RunWindow Methods

OpenRunWindow

Opens the run window and returns its initialized screen object. This is a static method that allows you to get a new initialized instance of a run window. E.g. var runWindow = RunWindow.OpenRunWindow(t, SystemHelpers)

Syntax:

public static RunWindow OpenRunWindow(
    ITester t,
    ISystemHelpers systemHelpers
)

Parameters:

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.

Return value:

A new initialized instance of the Run Window.

RunCommand

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

Syntax:

public void RunCommand(
	string command
)

Parameters:

Parameter

Description

command

Type: String The command that shall be run.

Last updated