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

0 votes
Jun 18 in Selenium by Suraj
37 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 by anonymous
• 13,960 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 in Selenium by Abha
• 27,180 points
56 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 in Selenium by Abha
• 27,180 points
76 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,420 points
2,055 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 in Selenium by Ria
82 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,110 points
934 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,650 points
333 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,130 points
1,114 views
0 votes
1 answer
0 votes
1 answer

How selenium can be used in devops lifecycle?

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

answered May 8 in Selenium by Anvi
• 13,960 points
52 views