@After ,@before not working in testcase August 21, 2023 by Tarik Use @BeforeEach instead of @Before and @AfterEach instead of @After.