CTRL OA Unit

The CTRL OA Unit CTRL extension contains a set of functions that can be used for testing purposes. The CtrlOaUnit can be used in CTRL script by adding #uses "CtrlOaUnit" to your script. You can utilize the functions of the extension by creating a script and using the available functions. A test result is output into the log viewer by default or in a user-defined output file if a file is specified (see the descriptions of the different functions below). You can find a list of the available functions in the following:

oaUnitSetup

oaUnitGetResultPath

oaUnitPass

oaUnitFail

oaUnitAbort

oaUnitAssertTrue

oaUnitAssertFalse

oaUnitAssertEqual

oaUnitAssertNotEqual

oaUnitAssertGreater

oaUnitAssertLess

oaUnitAssertEqualDelta

oaUnitAssertNotEqualDelta

oaUnitInfo