Knowledge Base > Automation Engine and Target Systems > Windows > Test Programs for the Windows Agent

Test Programs for the Windows Agent

Purpose

There are various ways of starting Windows jobs or programs. Therefore, AE supplies a number of test programs which in the various modes in Windows.

Files

The programs are found in the subdirectory EXAMPLE of the Windows agent (IMAGE:AGENTS\WINDOWS...).

The following programs are supplied:

UCYBTX86C - 32Bit Console Program (DOS-Window)
UCYBTX86G - 32Bit GUI Program (Visual C++)
UCYBTX86V - 32Bit GUI Program (Visual Basic)
UCYBTIA64C - 64Bit Console Program (DOS-Window)
UCYBTX64C - 64Bit Console Program (DOS-Window)

Operating the Test Programs

The test programs do not have an actual function. their execution can be controlled through parameters in the startup options.

Parameter Description

/w<n> 

Wait <n> seconds 

/d 

Run Dialog (e.g. file selection) 

/m 

Message (message box) 

/o<n> Output <n> lines in this standard output (=Jobreport)

/r<n> 

Set return code to <n> 

The parameters are executed in the order of their appearance.

Not every parameter is possible with every program:

Program

/w<n> wait /d Dialog /m Message Box /o<n> STDOUT

/r<n> Retcode

UCYBTX86C 

Yes Yes Yes Yes

Yes 

UCYBTX86G 

Yes Yes (file selection) Yes Yes

Yes 

UCYBTX86V

Yes (Loop)

Yes (file selection)

Yes

No

Yes 

UCYBTIA64C

Yes

Yes

Yes

Yes

Yes

UCYBTX64C

Yes

Yes

Yes

Yes

Yes

Example

UCYBTX86G /w10 /d /r4

The 32Bit GUI program is started. It waits for 10 seconds, executes the file dialog without effect, sets the return code to 4 and closes itself.