TestNG Tutorial #10 Before Class and After Class in TestNg Automate Myntra
@BeforeClass: The annotated method will be run before the first test method in the current class is invoked. @AfterClass: The annotated method will be run after all the test methods in the current class have been run. @BeforeMethod: The annotated method will be run before each test method.
Watch this video to understand more:
Comments
Post a Comment