I think it’s possible but it would mean some Groovy metaprogramming (if it’s at a point where it can be hooked in). But I don’t know if that is possible right there - @kazurayam may know. And if it is, he’ll probably have a solution for us by tomorrow
that the current behavior of Katalon Studio, according to which the parent test case (containing the callTestCase() command) of a failing child test case creates its own error, is not intended and will be changed?
that in future the error occurring in the child test case (which was called by the callTestCase() command) can also be caught directly in the parent test case?
callTestCase will throw StepFailedException or StepErrorException if the child test case (callee) has errors.
Current: the parent test case (caller) always fails even users catch the right exception.
Next release: the parent test case should fail if users don’t catch the exception and should pass if uses catch the exception.
Yes. In next releases, users can get the root cause exception of StepFailedException or StepErrorException like the below example: