I want to update a field in Jira based upon the reason of failure of a test case. How can I access this information in a custom keyword? The status can be obtained from testCaseContext.getTestCaseStatus() but I require TestCaseFailureMessage.
The topic is moved to New Feature/Suggestion for further discussion.
+1 for this.
This feature request has been acknowledged and logged to Github: https://github.com/katalon-studio/katalon-studio/issues/14.
Please follow up its status there.
Please ensure this proposal is approached in a way that encompasses the entire logging mechanism. As you will recall, for this same reason, I rewrote how logging and reporting works for my test harnesses since the required hooks were not available (this proposed API/hook included).
Thanks for your suggestion, Russ.
Anyway, in the scope of this request, we have added the failure message and stack trace into the test case context since Katalon Studio 5.9.
Dharmesh, can you help check the new version out to see if it works for you.