Changing the default message

Is it possible to change the default message that is displayed after the test case execution? So that people running the tests could interpret the results without knowing the details of the script?

Purpose of this is for the non technical people (e.g. customer support) to be able to interpret the reason for test failure.
In the example above, how to change “Unable to set alert text (Root cause: No alert found)” to, let’s say, “Test failed because it is Wednesday and you shouldn’t run tests on Wednesdays”?


Ok, found it:

import com.kms.katalon.core.util.KeywordUtil
KeywordUtil.logInfo('Test failed because it is Wednesday and you shouldn't run tests on Wednesdays')