Genero Ghost Client Types

The Genero BDL API for GGC provides types for testing.

Table 1. Genero Ghost Client - BDL Types
Types Description
PUBLIC TYPE FrontCallAnswer RECORD
    type STRING,
    status STRING,
    errorMessage STRING,
    returnValues DYNAMIC ARRAY OF RECORD
        isNull BOOLEAN,
        value STRING,
        index INTEGER,
        dataType STRING
    END RECORD
END RECORD
The FrontCallAnswer type defines a record for retrieving the result of a front call.
PUBLIC TYPE FrontCallRequest RECORD
    frontCall RECORD
        moduleName STRING,
        functionName STRING,
        paramCount INTEGER,
        returnCount INTEGER,
        parameters DYNAMIC ARRAY OF RECORD
            dataType STRING,
            isNull BOOLEAN,
            value STRING
        END RECORD
    END RECORD,
    errorMessage STRING
END RECORD
The FrontCallRequest type defines a record for retrieving front call request details.
PUBLIC TYPE Message RECORD
    isErrorMessage INTEGER,     
    message STRING              
END RECORD
The Message type defines a record for retrieving errors and messages.
# Statistics data
PUBLIC TYPE Statistics RECORD
    sessionId STRING,
    bytesSent STRING,
    bytesReceived INTEGER,
    scenarioCount INTEGER,
    scenarioFailed INTEGER, 
    downloadCount INTEGER,
    downloadFailed INTEGER,
    downloadBytes INTEGER,
    sessionDuration RECORD
        startTime BIGINT,
        endTime BIGINT
    END RECORD,
    downloadFailures DYNAMIC ARRAY OF STRING,
    checkFailures DYNAMIC ARRAY OF RECORD
        fileName STRING,
        lnum INTEGER,
        message STRING
    END RECORD,
    failures DYNAMIC ARRAY OF RECORD
        fileName STRING,
        lnum INTEGER,
        message STRING
    END RECORD,
    vmErrors DYNAMIC ARRAY OF STRING
END RECORD
The Statistics type defines a record for retrieving test result statistics.