Advantage of TestNG over JUnit Framework--Selenium
. TestNG has default index.html results report created and we can also customise the report using listeners
. TestNG has more annotations like @BeforeTest,@AfterTest, @BeforeSuite, @AfterSuite,@BeforeGroup,@AfterGroup...etc
. TestNG has DataProvider annotation to specify the testdata and parameterize
. TestNG has a features to configure dependency tests.
. TestNG has annotations for creating Groups for methods
. TestNG has .xml file to integrate multiple tests and run also parameterise the browser to run the script
. TestNG the methods can be set priority
. TestNG has default index.html results report created and we can also customise the report using listeners
. TestNG has more annotations like @BeforeTest,@AfterTest, @BeforeSuite, @AfterSuite,@BeforeGroup,@AfterGroup...etc
. TestNG has DataProvider annotation to specify the testdata and parameterize
. TestNG has a features to configure dependency tests.
. TestNG has annotations for creating Groups for methods
. TestNG has .xml file to integrate multiple tests and run also parameterise the browser to run the script
. TestNG the methods can be set priority
Comments
Post a Comment