OTX Reference  
OpenTestSystem.Otx.Core.Actions.ActionRealisation Class Reference

Realisations of an Action. More...

Inherits OpenTestSystem.Otx.Core.UniversalTypes.ExtensionInterface.

Inherited by OpenTestSystem.Otx.Core.Actions.Assignment, OpenTestSystem.Otx.Core.Actions.ByteFieldModifier, OpenTestSystem.Otx.Core.Actions.ListModifier, OpenTestSystem.Otx.Core.Actions.MapModifier, OpenTestSystem.Otx.Core.Actions.ProcedureCall, OpenTestSystem.Otx.Extensions.Assertion.Actions.Assert, OpenTestSystem.Otx.Extensions.BusMonitoring.Actions.StartBusMonitoring, OpenTestSystem.Otx.Extensions.BusMonitoring.Actions.StopBusMonitoring, OpenTestSystem.Otx.Extensions.ComInterface.Actions.ActivateEthernet, OpenTestSystem.Otx.Extensions.ComInterface.Actions.CloseComInterface, OpenTestSystem.Otx.Extensions.ComInterface.Actions.ConnectComInterface, OpenTestSystem.Otx.Extensions.ComInterface.Actions.DeactivateEthernet, OpenTestSystem.Otx.Extensions.ComInterface.Actions.TlsSetCertificate, OpenTestSystem.Otx.Extensions.DiagCom.Actions.CloseComChannel, OpenTestSystem.Otx.Extensions.DiagCom.Actions.ExecuteDiagService, OpenTestSystem.Otx.Extensions.DiagCom.Actions.ExecuteHexDiagService, OpenTestSystem.Otx.Extensions.DiagCom.Actions.GetAllResultsAndClear, OpenTestSystem.Otx.Extensions.DiagCom.Actions.IdentifyAndSelectVariant, OpenTestSystem.Otx.Extensions.DiagCom.Actions.SetComParameter, OpenTestSystem.Otx.Extensions.DiagCom.Actions.SetComplexComParameter, OpenTestSystem.Otx.Extensions.DiagCom.Actions.SetParameterValue, OpenTestSystem.Otx.Extensions.DiagCom.Actions.SetParameterValueBySemantic, OpenTestSystem.Otx.Extensions.DiagCom.Actions.SetPdu, OpenTestSystem.Otx.Extensions.DiagCom.Actions.SetRepetitionTime, OpenTestSystem.Otx.Extensions.DiagCom.Actions.StartRepeatedExecution, OpenTestSystem.Otx.Extensions.DiagCom.Actions.StopRepeatedExecution, OpenTestSystem.Otx.Extensions.DiagComPlus.Actions.ExecuteHexDiagServiceFunctional, OpenTestSystem.Otx.Extensions.DiagComPlus.Actions.StartCommunication, OpenTestSystem.Otx.Extensions.DiagComPlus.Actions.StopCommunication, OpenTestSystem.Otx.Extensions.DiagConfiguration.Actions.SelectProject, OpenTestSystem.Otx.Extensions.DiagConfiguration.Actions.SelectVehicleInformation, OpenTestSystem.Otx.Extensions.EcuConfiguration.Actions.AddComchannelConfigurationRecordByDbObject, OpenTestSystem.Otx.Extensions.EcuConfiguration.Actions.AddComchannelConfigurationRecordByNameAndDbConfigurationData, OpenTestSystem.Otx.Extensions.EcuConfiguration.Actions.LoadConfigurationRecordCodingData, OpenTestSystem.Otx.Extensions.EcuConfiguration.Actions.RemoveAllComchannelConfigurationRecord, OpenTestSystem.Otx.Extensions.EcuConfiguration.Actions.RemoveConfigurationRecordReadDiagServices, OpenTestSystem.Otx.Extensions.EcuConfiguration.Actions.RemoveConfigurationRecordWriteDiagServices, OpenTestSystem.Otx.Extensions.EcuConfiguration.Actions.SetConfigurationRecordAsByteField, OpenTestSystem.Otx.Extensions.EcuConfiguration.Actions.SetConfigurationRecordAsDbDataRecord, OpenTestSystem.Otx.Extensions.EcuConfiguration.Actions.SetOptionItemValue, OpenTestSystem.Otx.Extensions.EventHandling.Actions.CloseEventSource, OpenTestSystem.Otx.Extensions.EventHandling.Actions.WaitForEvent, OpenTestSystem.Otx.Extensions.ExternalServiceProvider.Actions.CreateProvider, OpenTestSystem.Otx.Extensions.ExternalServiceProvider.Actions.DisposeProvider, OpenTestSystem.Otx.Extensions.ExternalServiceProvider.Actions.ExecuteService, OpenTestSystem.Otx.Extensions.ExternalServiceProvider.Actions.GetServiceProviderEventValues, OpenTestSystem.Otx.Extensions.ExternalServiceProvider.Actions.SetProperty, OpenTestSystem.Otx.Extensions.ExternalServiceProvider.Actions.TerminateService, OpenTestSystem.Otx.Extensions.File.Actions.CloseFile, OpenTestSystem.Otx.Extensions.File.Actions.DeleteDirectory, OpenTestSystem.Otx.Extensions.File.Actions.DeleteFile, OpenTestSystem.Otx.Extensions.File.Actions.SaveFile, OpenTestSystem.Otx.Extensions.File.Actions.WriteBytes, OpenTestSystem.Otx.Extensions.File.Actions.WriteFile, OpenTestSystem.Otx.Extensions.File.Actions.WriteLine, OpenTestSystem.Otx.Extensions.Flash.Actions.GetDownloadData, OpenTestSystem.Otx.Extensions.Flash.Actions.SetFlashSession, OpenTestSystem.Otx.Extensions.Flash.Actions.StoreUploadData, OpenTestSystem.Otx.Extensions.FlashPlus.Actions.SetActiveFile, OpenTestSystem.Otx.Extensions.HMI.Actions.CloseScreen, OpenTestSystem.Otx.Extensions.HMI.Actions.Dialog, OpenTestSystem.Otx.Extensions.HMI.Actions.HighlightScreen, OpenTestSystem.Otx.Extensions.HMI.Actions.OpenScreen, OpenTestSystem.Otx.Extensions.Job.Actions.AddBranchByIndex, OpenTestSystem.Otx.Extensions.Job.Actions.AddBranchByName, OpenTestSystem.Otx.Extensions.Job.Actions.AddBranchByValue, OpenTestSystem.Otx.Extensions.Job.Actions.AddElement, OpenTestSystem.Otx.Extensions.Job.Actions.AddEnvDataByDtc, OpenTestSystem.Otx.Extensions.Job.Actions.SendFinalResult, OpenTestSystem.Otx.Extensions.Job.Actions.SendIntermediateResult, OpenTestSystem.Otx.Extensions.Job.Actions.SetJobInfo, OpenTestSystem.Otx.Extensions.Job.Actions.SetProgressInfo, OpenTestSystem.Otx.Extensions.Logging.Actions.SetLogLevel, OpenTestSystem.Otx.Extensions.Logging.Actions.WriteLog, OpenTestSystem.Otx.Extensions.Measure.Actions.ExecuteDeviceService, OpenTestSystem.Otx.Extensions.Persistence.Actions.Load, OpenTestSystem.Otx.Extensions.Persistence.Actions.Save, OpenTestSystem.Otx.Extensions.SOD.Actions.GetProxyComParams, OpenTestSystem.Otx.Extensions.SOD.Actions.ServiceOrientedDiagConfig, OpenTestSystem.Otx.Extensions.SQL.Actions.CloseConnection, OpenTestSystem.Otx.Extensions.SQL.Actions.ExecuteQuery, OpenTestSystem.Otx.Extensions.SQL.Actions.ExecuteUpdate, OpenTestSystem.Otx.Extensions.TestResultHandling.Actions.AddFileToTestResult, OpenTestSystem.Otx.Extensions.TestResultHandling.Actions.AddInfoToTestResult, OpenTestSystem.Otx.Extensions.TestResultHandling.Actions.CloseTestResultSession, OpenTestSystem.Otx.Extensions.TestResultHandling.Actions.SetTestResult, OpenTestSystem.Otx.Extensions.TestResultHandling.Actions.SetTestResultHandlingLevel, OpenTestSystem.Otx.Extensions.TestResultHandling.Actions.SetTestResultState, OpenTestSystem.Otx.Extensions.UnitTest.Actions.Assume, OpenTestSystem.Otx.Extensions.UnitTest.Actions.Warning, OpenTestSystem.Otx.Extensions.VWUtil.Actions.CloseAllComChannels, OpenTestSystem.Otx.Extensions.VWUtil.Actions.RemoveComChannelConfigurationRecord, OpenTestSystem.Otx.Extensions.XML.Actions.AddXmlChildElement, OpenTestSystem.Otx.Extensions.XML.Actions.DeleteXmlAttribute, OpenTestSystem.Otx.Extensions.XML.Actions.DeleteXmlChildElement, OpenTestSystem.Otx.Extensions.XML.Actions.SetXmlComment, OpenTestSystem.Otx.Extensions.XML.Actions.SetXmlElementAttribute, OpenTestSystem.Otx.Extensions.XML.Actions.SetXmlElementAttributes, OpenTestSystem.Otx.Extensions.XML.Actions.SetXmlElementText, OpenTestSystem.Otx.Extensions.XML.Actions.SetXmlProcessingInstructions, OpenTestSystem.Otx.Extensions.XML.Actions.ValidateXml, OpenTestSystem.Otx.Extensions.XML.Actions.XmlSaveToFile, OpenTestSystem.Otx.Extensions.ZipHandling.Actions.UnZipFile, and OpenTestSystem.Otx.Extensions.ZipHandling.Actions.ZipFile.

Public Attributes

OtxLink validFor
 Validity of ActionRealisation. More...
 

Detailed Description

Realisations of an Action.

The OTX Core can be extended by so called ActionRealisations via the extension mechanism. An Action can have zero (not realized), one (default) ore more ActionRealisations. If an Action has more than one ActionRealisation the validFor attribute of each ActionRealisation will be evaluated one by one (in the order of appearance in the OTX). The first valid ActionRealisation will be executed. If present, all subsequent ActionRealisations are ignored.

Note
In contradiction to OTX Terms ActionRealisation can have side-effects.This means that the arguments of an ActionRealisation can be changed by ActionRealisation processing.
The abstract OTX ActionRealisation is extensible.This means that OTX extensions may derive new ActionRealisations from the abstract ActionRealisation.
Syntax
action
{
ActionRealisation realisation1 [validFor OtxLink validFor];
ActionRealisation realisation2 [validFor OtxLink validFor];
...
ActionRealisation realisationN [validFor OtxLink validFor];
}
OtxLink validFor
Validity of ActionRealisation.
Definition: Core.cs:5929
Example
// Validities
private validity Validity1 = true;
// Global Declarations
public procedure main()
{
// Local Declarations
Boolean BooleanResult = false;
// Flow
// Action with two realizations
action
{
BooleanResult = NaN == NaN validFor Validity1;
BooleanResult = false;
}
}

Member Data Documentation

◆ validFor

OtxLink OpenTestSystem.Otx.Core.Actions.ActionRealisation.validFor

Validity of ActionRealisation.

An ActionRealisation may be connected to a Boolean context variable, a global Boolean constant or a Validity. Analyzing the validFor attribute of a Realisation element in an Action node determines whether the Realisation is valid or not. The following rules apply:

  • If there is no validFor attribute, the Realisation is valid
  • If there is a validFor attribute, the Boolean context variable, the global Boolean constant or the Validity will be evaluated. The Realisation is valid if and only if the result is true.
Checker rules
Core.CheckerRule.Core_Chk012 – No unreachable realisations in Action and Group nodes
Core.CheckerRule.Core_Chk053 – No dangling OtxLink associations
Core.CheckerRule.Core_Chk013 – Correct referencing of validities