Explore BDL demos

This topic provides information about how to view the BDL demos provided with the Ghost Client installation.

About this task

The procedure in this topic shows you how to use the BDL demos provided with the Ghost Client installation to test the integrity of the gwc-demo applications in simulation mode via the Ghost Client.

Before you begin:
  • Make sure that the samples/BDL directory where your GGC package is installed has the DemoTests.4gl file included.
  • If you are using the GAS:
    • Make sure your GAS version is at least version 2.50.34 or greater.
    • Make sure that the standalone dispatcher httpdispatch see Dispatcher: httpdispatch is started and that you can access the GAS demos welcome page, http://localhost:6394/demos.html, from your browser.
  • To compile and run the test you need to have your environment configured to load the Java Virtual Machine, see Configure your environment for Ghost Client.
  1. To compile DemoTests.4gl, at the command line of the directory where the GGC is installed, type the following:
    cd samples/BDL ; fglcomp DemoTests.4gl
  2. To run the tests through the GAS using the application URL, at the command line of the directory where the GGC is installed, type the command:
    cd samples/BDL ; fglrun DemoTests http://localhost:6394

  1. To run the tests using a stand-alone DVM, type the command:

    cd samples/BDL ; fglrun DemoTests "fglrun demo"

    Note: The DVM command line to launch the application just needs to be passed in double quotes, for example "fglrun demo".