Results Log


When vTask executes a file, it can keep a detailed record of what happened during the run. This is useful to later check the results, and see what steps had failures.

Typical log entries appear as follows:

    ----------------------------------------
    Starting Run at 10:47:53 for Notepad Sample
    [STEP 1]: Display Message "This is a simple demo"
    [STEP 2]: Input Value "What's your name?"
        %person = "asdf"
    [STEP 3]: Start "NOTEPAD.EXE"
        Translated run buffer: [C:\WINDOWS\NOTEPAD.EXE]   
    [STEP 4]: Use Window "Untitled - Notepad"   


The log indicates the steps that vTask is performing, including all formatting and failures. Detailed error information is also written to the log.

*Tip:  The Output toolbox also displays the same information as the log file. Use it whenever you have difficulties running a script.


Standalone executables (compiled .EXE's) can turn logging on and off with the command line switches /L (on) and /F (off).

If vTask is installed on the PC, the logfile will be written to the directory specified in Tools > Options.
If vTask is NOT installed on the PC, the logfile will be written to the directory of the EXE.

Therefore, for a given compiled EXE:

      1) vTask installed --> log written to location set in vTask
      2) no vTask installed, "vTask \Logfile" is set in registry --> log written to directory you specified in "vTask \Logfile"
      3) no vTask installed, no "vTask \Logfile" (clean PC) --> log written to directory of EXE


To view the logfile without manually opening it, choose "Tools - Open Logfile" menu item.