I want to get error from failed test case, how to do that? like the expected result are Y but actual result are X.
Update:
I want to get the error message, so i can send it to slack channel as report what test case has failed and why it fail.
example error from log katalon:
Unable to verify match between actual text ‘Pengembalian Dana’ and expected text ‘Pengembalian Dana 0’ (Root cause: com.kms.katalon.core.exception.StepFailedException: Actual text ‘Pengembalian Dana’ and expected text ‘Pengembalian Dana 0’ are not matched
I want to get this part:
Actual text ‘Pengembalian Dana’ and expected text ‘Pengembalian Dana 0’ are not matched