Tools and Commands / Ghost Client and Testing Tools |
The Ghost Client is a Java framework that provides you with the API structure of interfaces, classes and methods for building application tests.
The Ghost Client infrastructure consists of three components:
The methods of these public classes are called in the SessionManager and Scenario classes you define for your test. The GhostRunner class, for example, is the entry point for test case scenarios.
Class | Description |
---|---|
GhostRunner | Provides methods to control a Genero application running in a Genero Application Server. It contains methods for a set of possible actions that an end-user might do on the running application, e.g. set focus on a field, set a value in a field, etc. |
Log | Implements the logging mechanism used to displays errors, warnings, and information as output from the tests. |
Session |
Exposes the application object to your BDL program so that it can be retrieved from the session. |
Application | Exposes the application user interface to your BDL program so that form objects such as field values can be retrieved and set. |
The complete details of the packages that make up the Ghost Client and the classes and interfaces it uses can be found in the /doc directory of your GGC package. For more information please see the help file by launching the /doc/index.html file in your browser.
Class | Description |
---|---|
SessionManager |
Instantiates and manages Scenario instances according to incoming VM connections and new runtime launches. |
Scenario | A Scenario describes the action sequence played during the GhostRunner session to simulate user actions on a Genero application. |