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 agentA program that enables the de-centralized execution of processes (such as deployments) on target systems (computers or business solutions) or a service that provides connectivity to a target system (such as for databases or middleware). An agent is also an object type in the Automation Engine. [Formerly called "Executor."] See also: host (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 functionPre-defined run book template in the Automation Engine. One single step only, e.g. Start Windows Service, Copy file,…. 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 codeThe value that represents the result of tasks and script functions. 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.

 


Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support

Copyright © 2016 Automic Software GmbH