What is TestNG and why it is used in selenium

0 votes
I am new to TestNG and befor using it wanted to know as what is it and why use TestNG?
Dec 24, 2018 in Selenium by Anjali
• 2,950 points
1,302 views

1 answer to this question.

0 votes
Hello @User,

Talking about TestNG, it is an open source testing framework. It was inspired by JUnit.

TestNG stands for Test Next Generation.

It is more powerful than Selenium webdriver and JUnit and easier to use.

It has more functionalities than JUnit.

This was What is TestNG.

Talking about Why TestNG.

As we know that Selenium WebDriver cannot generate proper reports, but when it is combined with TestNG, you can generate reports of proper format and it also overcomes the limitations of JUnit.
answered Dec 24, 2018 by Shuvodip

Related Questions In Selenium

0 votes
1 answer

What is Robot Class in selenium webdriver and why it is used?

Hello Akanksha, Robot Class is used for those ...READ MORE

answered May 9, 2019 in Selenium by Pratibha
• 3,690 points
2,027 views
0 votes
1 answer

What is Apache POI in Selenium and what it is used for?

Hi Raj, Apache POI is the most commonly ...READ MORE

answered May 8, 2019 in Selenium by Abha
• 28,140 points
3,026 views
0 votes
1 answer

What is POM in Selenium and what it is used for?

Hello Rubina, POM is Page Object Model which ...READ MORE

answered May 12, 2019 in Selenium by Anvi
• 14,150 points
1,770 views
0 votes
1 answer

What is a Modular Framework and why it is useful in Selenium webdriver?

Hi Junaid, as the name suggests, Modular ...READ MORE

answered May 13, 2019 in Selenium by Abha
• 28,140 points
13,259 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,673 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,142 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,221 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,874 views
0 votes
1 answer

What is JavaScriptExecutor and how it helps in Selenium automation?

@Rohan, JavaScript executor is an interface of ...READ MORE

answered Jun 4, 2019 in Selenium by Pratibha
3,213 views
0 votes
1 answer

What is Base class in Selenium and how it works?

Hey Prashant, in Selenium Base class is the main ...READ MORE

answered Jul 18, 2019 in Selenium by Abha
• 28,140 points
20,834 views
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