@Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.METHOD }) public @interface BeforeTestDataBindToTestCase
Marks method that will be invoked before a test case in a test suite is executed. In BeforeTestDataBindToTestCase method, clients can get some related information for the current executed test suite and test case through TestCaseContext and TestSuiteContext parameters. A third parameter is a mapping from String to Object that represents the mapping between this test case variables to corresponding test data columns Test listener execution flow:
Invoke all BeforeTestSuite methods Invoke all Test Suite's SetUp methods Each Test Case If Test Case is in Test Suite Invoke all BeforeTestDataBindToTestCase methods 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