Command Plug-in

<< Click to Display Table of Contents >>

RayQC > 7.3 u2 > User Guide > Plug-ins > Internal Plug-ins 

Command Plug-in

The Command plug-in offers simple access to the Windows command prompt, allowing users to either start a process or run a VB script.

 

Function Summary

RunVBS

StartProcess

 

Function Details

RunVBSData Field

Launches a visual basic script and returns the last line of output.

Usable in combination with elements of type Data Field.

 

Input parameters

Name

Type

Description & Examples

Script

formatted string

 
 

The name and path of the VB Script that has to be run.

 

Example:

C:\Program Files (x86)\RayPack\RayPackHelper.vbs

Arguments

string

optional

default value: none

The optional set of arguments used to transfer additional parameter information for the script execution itself.

 

Example:
"MSI C:\RayPack\Projects\FileZilla_3_1_1_2\_MSI\FileZilla.msi"

Timeout

integer

optional

default value: -1

Time in milliseconds the script is allowed to run.
 

Options:

-1 indicates infinite timeout.

0 leads to immediate timeout at script execution. (This setting may be used for test purposes)

All other positive integer values are evaluated as allowed script run time in milliseconds.

ResultSource

formatted string

 

The definition of the scripts communication pipe that has to be used as source for the return value.

 

Options:

"Standard output"

"Standard error"

"Exit Code"

 

StartProcessData Field

Starts a process.

Usable in combination with elements of type Data Field.

 

Input parameters

Name

Type

Description & Examples

Command

formatted string
 

The name and path of the command that has to be executed. In case the file is located in a folder that is part of the environment variable PATH, the path of the file can be omitted.

 

Example:

ipconfig

Arguments

string

optional

default value: none

 

The optional set of arguments used to specify details of the command parameter.

 

Example:

/all

Timeout (ms)

integer

optional

default value: -1

Time in milliseconds the script is allowed to run.
 

Options:

-1 indicates infinite timeout.

0 leads to immediate timeout at script execution. (This setting may be used for test purposes)

All other positive integer values are evaluated as allowed script run time in milliseconds.

ResultSource

formatted string

The definition of the scripts communication pipe that has to be used as source for the return value.

 

Options:

"Standard output"

"Standard error"

"Exit Code"