What is TestNG and Annotations and TestNG advantages ?
Anonymous
TestNG: TestNG is an automation testing framework in which NG stands for “Next Generation”. TestNG is inspired by JUnit which uses the annotations (@). TestNG overcomes the disadvantages of JUnit and is designed to make end-to-end testing easy. Using TestNG, you can generate a proper report, and you can easily come to know how many test cases are passed, failed, and skipped. You can execute the failed test cases separately. TestNG Annotations: @BeforeSuite one time execution in our entire project @Beforetest @BeforeClass @Beforemethod @Test @Aftermethod @Afterclass @Aftertest @Aftersuite TestNG advantages : 1.it's provide defult Html report 2.easy to set priority 3.data provider is possible 4.cross browser and parlal execuation is possible 5.using parameter pass the data 6.grouping easy to group the test cases 7.automatically we can return the failed test cases 8.dependencis management
Check out your Company Bowl for anonymous work chats.