Teststep Exception
Definition
A Teststep Exception occurs during the execution of a Teststep. A Teststep Exception occurs because in the Application Instance where the test was executed, a Mendix Error occured that was not handled by a Mendix Error Handler.
If a Teststep Exception is not handled by Mendix, it can be handled by MTA, by setting a Teststep Exception Handler to Continue.
A Teststep Exception is not to be confused with the Coverage Exception.
Properties
Message
The Exception message text.
Business rules
None.
Actions on Teststep Exception
View Teststep Exception
Unhandled Exception
- When a Test Run is Stopped because of a Teststep Exception, the executed Teststep is marked red.
- In the details of the executed Teststep, this text is shown: Execution caused an exception - Execution stopped. Also, the Exception Message is shown.
MTA Handled Exception
- When a Test Run Continues because of an Assert that expects a Raised Teststep Exception, the executed Teststep is not marked red, but marked with a colored
Asserttag. - In the details of the executed Teststep, this text is shown: Execution caused an exception - Execution continued. Also, the Exception Message is shown.
Mendix Handled Exception
- If an Exception occurs during execution that is handled by a Mendix Error Handler, it will not be visible in MTA.
Related topics
Feedback?
Missing anything? Let us know!
Last updated 26 November 2025