Testing with Ghost Client

Ghost Client tests are developed separate to your actual 4gl application source code via interfaces that you write.

Typically, you write two separate classes for a test written in Java; the SessionManager and the Scenario.

For tests written in BDL, there will be only one file containing both the SessionManager and Scenario.

Both Java and BDL can be used to write these tests but they must be compiled to Java to be run by the GGC.

Note: In Genero Studio you can write tests using BDL and compile them to Java using the Ghost Client infrastructure through the Java Bridge. The Java Bridge allows you to import GGC classes, which opens up their methods for use. For more information about using BDL, please see the Genero Studio project, GGC_Sample.4pw, available in the samples/BDL directory.