Test Programs

The Windows Agent is supplied with several test programs. They run in various modes in Windows, and their mere function is to help you test your preferred way of starting Windows Jobs or programs.

Files

The following programs are provided in the Windows Agent's subdirectory IMAGE:AGENTS\WINDOWS\EXAMPLE.

  • UCYBTX86C

    32-bit console program (MS-DOS window)

  • UCYBTX86G

    32-bit GUI program (Visual C++)

  • UCYBTX86V

    32-bit GUI program (Visual Basic)

  • UCYBTX64C

    64-bit console program (MS-DOS window)

Using the Test programs

You can define various parameters in the start options that help you run and control the supplied test programs. The parameters are processed in the order in which they occur.

Parameters

  • /w<n> 

    Waits <n> seconds 
    Available for: UCYBTX86C, UCYBTX86G, UCYBTX86V (Loop), UCYBTIA64C, UCYBTX64C

  • /d 

    Dialog, runs a dialog

    Available for: UCYBTX86C, UCYBTX86G (for file selection), UCYBTX86V (for file selection),UCYBTIA64C, UCYBTX64C

  • /m 

    Message (message box) 

    Available for: UCYBTX86C, UCYBTX86G, UCYBTX86V, UCYBTIA64C, UCYBTX64C

  • /o<n>

    STOUT, <n> lines should be output in this standard output, the job report

    Available for: UCYBTX86C , UCYBTX86G, UCYBTIA64C, UCYBTX64C

  • /r<n> 

    Return code, sets the return code to <n> 

    Available for: UCYBTX86C, UCYBTX86G, UCYBTX86V, UCYBTIA64C, UCYBTX64C

Example

UCYBTX86G /w10 /d /r4

The program starts and waits for 10 seconds. It opens a dialog window, sets the return code to 4 and ends.