OTX Reference  
OpenTestSystem.Otx.Extensions.BlackBox Namespace Reference

Container data type for transporting data types unknown in OTX More...

Namespaces

namespace  DataTypes
 Data types, see also Core data types.
 
namespace  Terms
 Lists all Terms.
 
namespace  Variables
 Variable Access.
 

Detailed Description

Container data type for transporting data types unknown in OTX

The BlackBox data type can be used as a transport or container data type. A BlackBox data type can contain a value of a user-specific data type which is unknown to OTX.

For example, the main procedure may have an in parameter of type BlackBox. When the main procedure is called, the runtime system uses this parameter to pass in a value of a proprietary (non-OTX) data type. The OTX procedures do not interact with the contents of this BlackBox data type. They pass it on to an otx:ActionRealisation of a proprietary OTX extension. This proprietary extension is able to handle the value contained in the BlackBox data type. In other words, the user can transport data through code layers (code is embedded in between test system specific runtime code) even if its type is unknown to OTX (not defined in core or standardized extensions). This extension provides no way of initializing BlackBoxValue.

Terms and actions can be added in new, proprietary extensions to interact with the BlackBox data type.