This blog explains the execution procedure of methods in TestNG. It
explains the order of the methods called. Here is the execution
procedure of the TestNG test API methods with an example.
@BeforeSuite
@BeforeTest
@BeforeClass
@BeforeMethod
@Test
@AfterMethod
@AfterClass
@AfterTest
@AfterSuite
@BeforeSuite
@BeforeTest
@BeforeClass
@BeforeMethod
@Test
@AfterMethod
@AfterClass
@AfterTest
@AfterSuite
No comments:
Post a Comment