Top Method Summary
Options Name Purpose
Consultingwerk.ISerializable DeserializeParameterObject (longchar) Deserializes the parameter object
LOGICAL Execute (ITestSuite) Executes the test suite described by the ITestSuite instance
ExecuteAssertions (handle, JsonArray, int64, logical, IDataSourceQueryInfo) Executes the provided Assertions
ExecuteCanFindAssertions (handle, JsonArray, logical) Executes the Can Find Assertions
ExecuteDataSourceQueryAssertion (IDataSourceQueryInfo, character) Executes the assertion for "DataSourceQuery"
ExecuteIndexNamesAssertion (IDataSourceQueryInfo, JsonArray) Executes the assertion for "IndexNames"
ExecuteMaxReadsAssertions (JsonObject) Executes the Can Find Assertions
ExecuteMaxRuntimeAssertion (int64, int64) Executes the MaxRuntime Assertion
ExecuteNumResultsAssertions (handle, JsonObject) Executes the NumResults Assertions
ExecuteScenario (character, dataset-handle) Executes a scenario
ExecuteScenario (IScenario, character, dataset-handle) Executes a scenario
ExecuteScenario (IScenario, dataset-handle) Executes a scenario
Consultingwerk.SmartUnit.TestRunner.TestResult ExecuteTest (ITestSuite, character, character) Executes a scenario as an unit test
ExecuteWholeIndexAssertion (IDataSourceQueryInfo, JsonArray) Executes the assertion for "WholeIndex"
Consultingwerk.OERA.IFetchDataRequest FetchDataRequestOfScenario (IScenario) Returns the FetchDataRequest object for the given scenario
Consultingwerk.OERA.IDataAccessFactory InitializeMockDataAccessFactory (character[]) Initializes the Mock Data Access Factory
Consultingwerk.Framework.IServiceContainer InitializeTestServices (character[]) Initializes a new Service Container with the test services

Top Constructor Summary
Options Name Purpose
ScenarioRunner () Constructor for the ScenarioRunner class

Top Property Summary
Options Name Purpose
LOGICAL LogMessages
CHARACTER TestClassName
CHARACTER TestsuiteName


Method Detail
Top

Consultingwerk.ISerializable DeserializeParameterObject (longchar)

Purpose: Deserializes the parameter object
Notes:

Parameters:
pcParameter LONGCHAR
The LONGCHAR representation of the parameter object
Returns Consultingwerk.ISerializable
The deserialized parameter object
Top

LOGICAL Execute (ITestSuite)

Purpose: Executes the test suite described by the ITestSuite instance
Notes:

Parameters:
poTestSuite Consultingwerk.SmartUnit.ITestSuite
The ITestSuite to execute
Returns LOGICAL
Logical value, when set to false halt will be signalled to the caller (ANT script)
Top

ExecuteAssertions (handle, JsonArray, int64, logical, IDataSourceQueryInfo)

Purpose: Executes the provided Assertions
Notes:

Parameters:
phDataset HANDLE
The handle of the dataset with the read result
poAssertions Progress.Json.ObjectModel.JsonArray
The JsonArray with the assertions to execute
piRuntime INT64
The runtime of the FetchData request in msecs
plSkipMaxRuntimeTest LOGICAL
Logical value indicating if the MaxRuntime test/assertion should be skipped
poDataSourceQueryInfo Consultingwerk.OERA.IDataSourceQueryInfo
The IDataSourceQueryInfo with the query details from the request
Top

ExecuteCanFindAssertions (handle, JsonArray, logical)

Purpose: Executes the Can Find Assertions
Notes:

Parameters:
phDataset HANDLE
The handle of the dataset to examine
poCanFinds Progress.Json.ObjectModel.JsonArray
The JsonArray with the can-find criteria
plMustExist LOGICAL
Logical value indicating if the test performs CAN-FIND or NOT CAN-FIND
Top

ExecuteDataSourceQueryAssertion (IDataSourceQueryInfo, character)

Purpose: Executes the assertion for "DataSourceQuery"
Notes:

Parameters:
poDataSourceQueryInfo Consultingwerk.OERA.IDataSourceQueryInfo
The IDataSourceQueryInfo describing the DataSource query
pcDataSourceQuery CHARACTER
The expected query string
Top

ExecuteIndexNamesAssertion (IDataSourceQueryInfo, JsonArray)

Purpose: Executes the assertion for "IndexNames"
Notes:

Parameters:
poDataSourceQueryInfo Consultingwerk.OERA.IDataSourceQueryInfo
The IDataSourceQueryInfo describing the DataSource query
poIndexNames Progress.Json.ObjectModel.JsonArray
The JsonArray with the expected index names (one per data-source buffer)
Top

ExecuteMaxReadsAssertions (JsonObject)

Purpose: Executes the Can Find Assertions
Notes:

Parameters:
poMaxReads Progress.Json.ObjectModel.JsonObject
The JsonObject with th eMaxReads criteria
Top

ExecuteMaxRuntimeAssertion (int64, int64)

Purpose: Executes the MaxRuntime Assertion
Notes:

Parameters:
piRuntime INT64
The actual runtime of the FetchData request
piMaxRuntime INT64
The maximum allowed runtime of the FetchData request
Top

ExecuteNumResultsAssertions (handle, JsonObject)

Purpose: Executes the NumResults Assertions
Notes:

Parameters:
phDataset HANDLE
The handle of the dataset to examine
poNumRecords Progress.Json.ObjectModel.JsonObject
The JsonObject with the can find criteria
Top

ExecuteScenario (character, dataset-handle)

Purpose: Executes a scenario
Notes:

Parameters:
pcFileName CHARACTER
The name of the .scenario file
phDataset DATASET-HANDLE
OUTPUT DATASET-HANDLE The handle of the ProDataset to be returned
Top

ExecuteScenario (IScenario, character, dataset-handle)

Purpose: Executes a scenario
Notes:

Parameters:
poScenario Consultingwerk.SmartUnit.OERA.RetrieveDataScenario.IScenario
The Scenario instance to execute
pcTestOptions CHARACTER
The testOptions attribute of the test definition (e.g. SkipMaxRuntimeTest)
phDataset DATASET-HANDLE
OUTPUT DATASET-HANDLE The handle of the ProDataset to be returned
Top

ExecuteScenario (IScenario, dataset-handle)

Purpose: Executes a scenario
Notes:

Parameters:
poScenario Consultingwerk.SmartUnit.OERA.RetrieveDataScenario.IScenario
The Scenario instance to execute
phDataset DATASET-HANDLE
OUTPUT DATASET-HANDLE The handle of the ProDataset to be returned
Top

Consultingwerk.SmartUnit.TestRunner.TestResult ExecuteTest (ITestSuite, character, character)

Purpose: Executes a scenario as an unit test
Notes:

Parameters:
poTestSuite Consultingwerk.SmartUnit.ITestSuite
The reference to the current test suite
pcLogFolder CHARACTER
The name of the folder to use for log files etc.
pcScenario CHARACTER
The name of the scenario to execute
Returns Consultingwerk.SmartUnit.TestRunner.TestResult
The TestResult of the executed test
Top

ExecuteWholeIndexAssertion (IDataSourceQueryInfo, JsonArray)

Purpose: Executes the assertion for "WholeIndex"
Notes:

Parameters:
poDataSourceQueryInfo Consultingwerk.OERA.IDataSourceQueryInfo
The IDataSourceQueryInfo describing the DataSource query
poWholeIndex Progress.Json.ObjectModel.JsonArray
The JsonArray with the expected whole-index values (one per data-source buffer)
Top

Consultingwerk.OERA.IFetchDataRequest FetchDataRequestOfScenario (IScenario)

Purpose: Returns the FetchDataRequest object for the given scenario
Notes:

Parameters:
poScenario Consultingwerk.SmartUnit.OERA.RetrieveDataScenario.IScenario
The scenario instance
Returns Consultingwerk.OERA.IFetchDataRequest
The FetchDataRequest instance
Top

Consultingwerk.OERA.IDataAccessFactory InitializeMockDataAccessFactory (character[])

Purpose: Initializes the Mock Data Access Factory
Notes: Based on a comma delimited list of mock data access definitions

Parameters:
pcConfiguration CHARACTER
The configuration data
Returns Consultingwerk.OERA.IDataAccessFactory
The IDataAccessFactory instance
Top

Consultingwerk.Framework.IServiceContainer InitializeTestServices (character[])

Purpose: Initializes a new Service Container with the test services
Notes: Based on a comma delimited list of service.xml files. The new
service container will be used as the overloading service container
of the default service container

Parameters:
pcConfiguration CHARACTER
The configuration data
Returns Consultingwerk.Framework.IServiceContainer
The IServiceContainer instance


Constructor Detail
Top

ScenarioRunner ()

Purpose: Constructor for the ScenarioRunner class
Notes:



Property Detail
Top

LOGICAL LogMessages


Returns LOGICAL
Top

CHARACTER TestClassName


Returns CHARACTER
Top

CHARACTER TestsuiteName


Returns CHARACTER


Temp-Table Detail


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.04.2026 22:31:02