Trigger-GreenArrow-marked

Triggers are implemented on DataBlocks.  They are used during test execution to cause some change in sequence of tests or modify the behavior of the MxSuite operation.  There are two components to a trigger:

Detection or recognition that a particular predefined event has occurred.  A trigger monitors how the value of a Response Signal changes.  When the Trigger conditions are met the Trigger fires.

Action that is to be taken. The action is taken when the Trigger fires.

There are many uses for Triggers.  Here are a few:

To cause a TestCase to terminate, and the next test case to start.  For example the first test case could be waiting for a temperature to be achieved in an environmental.  Once the temperature is met the trigger will fire, the first TestCase will terminate and the second one will start.

To terminate a Scenario if a particular condition is met.  If some condition is detected, there may be no point in attempting to continue to execute a Scenario, and the Scenario can be terminated.

To mark a point in time when a predefined condition was met.  This is very useful for the specification of Relative Time Criteria. Relative Time Criteria are specified under the TestCase Properties.  They allow you to use the time between two Triggers as part of your Pass/Fail criteria.

Related Topics:

Using Triggers

DataBlock Properties

Relative Time Criteria