What are the advantage of using testNG?

0 votes
What are the different advantages of testNG? Can someone help me know what are those?
Jan 3, 2019 in Selenium by Nitesh
• 3,020 points
1,745 views

1 answer to this question.

0 votes

The main advantage of testNG can be listed as follows:

  1. TestNG provides parallel execution of test methods
  2. It allows to define dependency of one test method over other method
  3. It allows to assign priority to test methods
  4. It allows grouping of test methods into test groups
  5. It has support for parameterizing test cases using @Parameters annotation
  6. It allows data driven testing using @DataProvider annotation
  7. It has different assertions that helps in checking the expected and actual results
  8. Detailed (HTML) reports
Hope this helps.
answered Jan 3, 2019 by Dyna

Related Questions In Selenium

0 votes
2 answers

What are the benefits of using TestNG with Selenium?

Hi Falguni, some of the benefits of ...READ MORE

answered May 31, 2019 in Selenium by Anvi
• 14,090 points
298 views
0 votes
2 answers

What are the type of Parameterization in TestNG?

A Data Provider is a method on your class ...READ MORE

answered May 28, 2019 in Selenium by Frankie
• 9,810 points
194 views
0 votes
1 answer

What are the main disadvantages of using implicit wait in Selenium?

Hey Aaron, the main disadvantage of implicit ...READ MORE

answered May 31, 2019 in Selenium by Abha
• 27,930 points
1,146 views
0 votes
1 answer

What are the benefits of using Junit testing framework?

Hi Prakhar, some of the benefits of ...READ MORE

answered Jun 11, 2019 in Selenium by Abha
• 27,930 points
839 views
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,510 points
3,517 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31 in Selenium by Sri
• 2,970 points
4,524 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,890 points
2,589 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 2 in Selenium by Sri
• 2,970 points
2,848 views
0 votes
1 answer