Generate a scenario from a log file
Generate test sets from recorded log files.
Before you begin:
Ensure your environment is configured to run Java and the Genero Ghost Client. See Install and configure for Genero Ghost Client.
The
ggcgen
command transforms a log file into a BDL or a Java
scenario. The log file can be:- a DVM guilog.
- a GDC log.
- a GBC log.
- a uaproxy log.
When using GGC 2.00 or greater, your logs must have been created using FGLGWS 3.10 or greater.
The type of scenario (BDL or Java) is specified by the command.
Type one of the following commands to generate a scenario from a log.
In this example, the myTest.guilog is the recorded log file.
- BDL:
ggcgen bdl myTest.guilog
- Java:
ggcgen java myTest.guilog
The ggcgen bdl
command creates the file myTest.4gl as the
test scenario.
The ggcgen java
command creates a scenario directory in
your working directory where it saves a myTest_provider.java file.
When you have completed generating the test sets from the log, your next task is to compile and run them.