Hi,
In case of multiple testcases(here,2) the flow should be like:
@BeforeTestSuite → @BeforeTestCase1 → @AfterTestCase1 → @BeforeTestCase2 → @AfterTestCase2 -> @AfterTestSuite
But in my case, it is like
@BeforeTestSuite → **@BeforeTestCase1 → @****BeforeTestCase2 ****-> @**AfterTestCase1 -> @AfterTestCase2 -> @AfterTestSuite
Please help. As my code would not work in this approach