RunProcess
Step In-Place Editing
A RunProcess statement runs an external command, such as .exe or a script file.
To edit a RunProcess test step:
Select the step in the Test Steps table. Edit the step parameters as follows:
- Session: This column displays no session at all.
- Return Variable: This column displays the return variable name.
A new variable is specified by clicking into the column and editing in-place. Alternatively, click the
button displaying a drop-down pane, then click the
button to select an existing variable.
- Command String: This column displays the name of the called program or external command and a space separated list of arguments.
Click into the column and edit in-place the command name and the argument value.
Alternatively, click the
button displaying a drop-down pane that provides acces to the following additional parameters:
- Run in background: If selected, a new thread is spawned and the command is run in the background.
- Kill process on timeout: If selected, the process is killed unconditionally when the step timeput expires.
- Working directory: A directory in which the external command is started. If the external command generates any output files, this is the directory these files are stored in.
Example:
RunProcess C:\WINDOWS\system32\arp.exe -a
....