Record a scenario log

About this task: You can record a log file of a user's interaction with an application's graphical user interface (GUI) from either the runtime Dynamic Virtual Machine (DVM) end or the front-end.
To record the logs from the DVM
  1. To record a log from the DVM end, type the commands shown below:
    cd $FGLDIR/demo; fglrun demo --start-guilog=/path-to-the-ggcdir/samples/test.log

    Where: the demo program is run with the option to start recording a log file and the output is saved to Ghost Client samples directory.

To record a log from the Genero Desktop Client (GDC) end

  1. Start the GDC client in admin and debug mode:
    cd path-to-the-gdcdir/bin; gdc.exe -a -D

    Where: the -a option starts the GDC in administration mode and -D starts debug mode (debug Tree and debug Console are active).

    The GDC opens.
  2. To start recording to the log file, in the Debug panel first select a log file to store the scenario. Then, click on the Record button to start recording.


    Image shows the Genero Desktop Client debug panel with Logging highlighted.

    Figure 1. Recording a log file with GDC

  3. After starting recording to the log file, start the application you wish to record.
    cd $FGLDIR/demo; fglrun demo 

    The gwc-demo demo program is opened by the GDC.

  4. To stop recording to the log file, click on the Stop button.
When you have completed recording the log, your next task is to generate test sets from the recorded log file. See Generate test sets from log file.