RunWindow
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");
Namespace: Progile.TRIO.EnvironmentModel
Assembly: Progile.TRIO.EnvironmentModel.Windows (in Progile.TRIO.EnvironmentModel.Windows.dll)
Object
Progile.TRIO.BaseModel.OnScreenElement
Progile.TRIO.BaseModel.BaseScreen
Progile.TRIO.EnvironmentModel.Window
Progile.TRIO.EnvironmentModel.RunWindow
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 | The tester interface. |
systemHelper | An instance of the ISystemHelpers interface that allows interaction with the SUT operating system. |
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. |
Name | Description |
The text box to enter the command that shall be run. |
Last modified 3mo ago