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 in Selenium by Nitesh
• 2,920 points
219 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 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 in Selenium by Anvi
• 13,840 points
123 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 in Selenium by Frankie
• 9,810 points
42 views
0 votes
1 answer
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 in Selenium by Abha
• 25,740 points
99 views
0 votes
1 answer

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,090 points
800 views
0 votes
1 answer
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,130 points
1,040 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
743 views
0 votes
1 answer