Launch tests to different front-ends

Run tests behaving as different front-ends.

In the syntax of the following command line examples it is assumed that the GGC package was unzipped in the same directory where you are running the Launcher, and that your environment is configured to run Java and the GGC, see Configure your environment for Ghost Client.

Depending on how you want to test, run the command option in example 1 to run your application tests against different front-end clients, or run the command option in example 2 to test all clients at once:
  1. java com.fourjs.ggc.Launcher -u http://localhost:6394/ua/r/myapp -s path.to.mySessionManager.mySessionManager

    The Launcher is the entry point of the Ghost Client Java program which starts a testing session for an application. This command is run by launching Java to run the Launcher class followed by the -u option and the URL of your application. The -s option is used followed by the path to the session manager.
    Tip: Depending on the user agent protocol you provide in the URL, you can specify what front-end the test is to be run as:
    • /ua/r/; for version 3 clients: Genero Web Client for JavaScript (GWC-JS), GDC 3.00, GMA, or GMI - UAProxy.
    • /ja/r/; for Genero Desktop Client (GDC 2.50) - GDCProxy.
    • /wa/r/; for Genero Web Client for HTML5 (GWC-HTML5) - HTML5Proxy.
  2. java com.fourjs.ggc.Launcher -u http://<host>:<port>/gas/ua/r/<group>/<myapp> -s path.to.mySessionManager.mySessionManager  --all_mode

    This example is basically the same instruction but with the addition of the --all_mode option at the end to specify that the test is to be run for all clients. Note, the front-end you specify in the URL will be the first one to be run.