Session information

The Genero BDL API for GGC provides functions for retrieving information about sessions.

The following functions allow you to retrieve information from the current session.

Functions getStatistics() or showStatistics() return values in a ggc.Statistics record type.

Table 1. Functions for retrieving session information
Function Description
getApplicationName() 
  RETURNS STRING
Retrieve the application name.
getChildCount()
  RETURNS INTEGER
Retrieve the number of running child applications.
getSessionId()
  RETURNS STRING
Get the current session identifier.
getState()
  RETURNS STRING
Retrieve the application state.
getStatistics()
  RETURNS Statistics
Retrieve the test session statistics.
notifyCheckFailure( message STRING ) 
Report a check failure.
showStatistics()
  RETURNS Statistics
Show test statistics.