![]() |
OTX Reference
|
|
To simulate the environment More...
Classes | |
class | CallbackProcedureRealisation |
Specifies the CallbackProcedure implementation. More... | |
Public Attributes | |
System.Boolean | disabled |
To turn on/off a callback procedure. More... | |
CallbackProcedureRealisation | realisation |
Specifies the CallbackProcedure implementation. More... | |
![]() | |
ExtensibleData[] | extendedData |
Declares general data for NamedAndSpecified which can be extented by new general data defined in new OTX extensions using the standardised extension mechanism. For example it can be used to specify specification relevant content in a better structured way. More... | |
OtxId | id |
Unique identifier of an element More... | |
MetaData | metaData |
Additional tool-specific data More... | |
OtxName | name |
Name of an element More... | |
NamedAndSpecifiedSpecification[] | specification |
Descriptive specification More... | |
To simulate the environment
To simulate the environment, a callback function is called for the corresponding actions instead of the real implementation. The user can then simulate the behavior in OTX in the callback function. The callback function has fixed parameters depending on the type. The parameters give the user everything they need for the simulation. If values are to be returned, this is also done via the parameters of the callback function, so-called expected values. If an exception is thrown inside the callback function, the callback function terminates and the exception will be mapped to a related exception of the caller. For example if the author throws an UserException inside OpenScreen callback, it will be mapped to a ScreenException.
System.Boolean OpenTestSystem.Otx.Extensions.UnitTest.TestProcedures.CallbackProcedure.disabled |
To turn on/off a callback procedure.
CallbackProcedureRealisation OpenTestSystem.Otx.Extensions.UnitTest.TestProcedures.CallbackProcedure.realisation |
Specifies the CallbackProcedure implementation.