How to run BDL tests
The Genero BDL tests that you have compiled, are run from the command line as shown.
Before you begin:
- If you are using the GAS:
- Make sure your GAS version is at least version 3.00 or greater.
- Make sure that the standalone dispatcher
httpdispatch
is started and that you can access the GAS demos welcome page,http://localhost:6394/demos.html
, from your browser. See the Genero Application Server User Guide for more information.
When running tests, you need to pass the name of the application and how to test it as an argument. This can be either:
- a command (for direct mode)
- a URL (when running tests over GAS)
Examples of running tests for both methods are given.
Before you begin:
- It is assumed that you have compiled the Genero BDL test file, for example
myapp_tests.4gl
. - It is assumed that you have placed the compiled file in the directory path/to/myTests and that you have changed to that directory.
Steps
Alternatively, you can run the test in direct connection mode without using the GAS.
The GGC does not render a graphical user
interface. If you use
forward-gui
option, the GGC still connects to the DVM, but also forwards the
Abstract User Interface (AUI) tree to the running Genero Desktop Client (GDC) so that you can see
your scenario being executed. For example, to run the test through the GAS to view it running on the
GDC on the localhost, run the following
command:fglrun myapp_tests.42m ua --url http://localhost:6394/ua/r/myapp -f localhost:0