@Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.METHOD }) public @interface AfterTestCase
Marks method that will be invoked after every test case launches. AfterTestCase methods also invoke after TearDown methods of the launched test case. In AfterTestCase method, clients can get some related information for the current executed test case by declaring a TestCaseContext parameter. Test listener execution flow:
Invoke all BeforeTestSuite methods Invoke all Test Suite's SetUp methods Each Test Case Invoke all BeforeTestCase methods Invoke all Test Case's SetUp methods Execute Test Case's Script Invoke all Test Case's TearDown methods Invoke all AfterTestCase methods Invoke all Test Suite's TearDown methods Invoke all AfterTestSuite methodsFor more details, please check our document page via https://docs.katalon.com/pages/viewpage.action?pageId=5126383