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,080 points
15,102 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,150 points
1,698 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,830 points
1,157 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 Jun 1, 2019 in Selenium by Abha
• 28,140 points
8,233 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 12, 2019 in Selenium by Abha
• 28,140 points
4,522 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,500 points
13,440 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

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

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
9,007 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,910 points
7,121 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 3, 2020 in Selenium by Sri
• 3,190 points
7,804 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP