How reports can be produced in different ways for TestNG results?

0 votes
Jun 18, 2019 in Selenium by Suraj
80 views

1 answer to this question.

0 votes

Hey Suraj, TestNG offers two ways to produce a report for testing results:

  • Listeners implement the interface org.testng.ITestListener and are notified in real time of when a test starts, passes, fails, etc.
  • Reporters implement the interface org.testng.IReporterand are notified when all the suites have been run by TestNG. The IReporter instance receives a list of objects that describe the entire test run.
answered Jun 19, 2019 by anonymous
• 14,050 points

Related Questions In Selenium

0 votes
1 answer

How @Listener annotation can be used in TestNG?

Hey Barkha, TestNG @listeners are used to configure reports ...READ MORE

answered Jun 10, 2019 in Selenium by Abha
• 27,920 points
193 views
0 votes
1 answer

How Parametermizing tests can be done in TestNG using Data Provider?

Hi Devashish, you can parameterize tests with ...READ MORE

answered Jul 8, 2019 in Selenium by Abha
• 27,920 points
434 views
0 votes
1 answer

How to create a executable jar file for TestNG and the runnnig point should be the Xml file

Use Eclipse Export Wizard. While exporting, select "Create ...READ MORE

answered Aug 24, 2018 in Selenium by Meci Matt
• 9,460 points
3,454 views
0 votes
1 answer

What are the different tools that can be used for Security Testing?

The different tools used for security testing ...READ MORE

answered Feb 19, 2019 in Selenium by Ria
144 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,510 points
2,586 views
0 votes
1 answer
0 votes
1 answer

What is the role of TestNG & JUnit frameworks in Selenium?

Well TestNG and JUnit are test frameworks ...READ MORE

answered Apr 18, 2018 in Selenium by king_kenny
• 3,710 points
641 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,870 points
2,041 views
0 votes
1 answer

How can I refresh a browser window in different ways using Selenium Webdriver?

Hello Piyush, you can refresh a browser ...READ MORE

answered May 28, 2019 in Selenium by Anvi
• 14,050 points
533 views
0 votes
1 answer

How selenium can be used in devops lifecycle?

Hey Catherine, as we know that a ...READ MORE

answered May 8, 2019 in Selenium by Anvi
• 14,050 points
535 views