Benefits of using JUnit Error Collector

0 votes
What are some of the benefits of using JUnit Error Collector?
Jun 19, 2019 in Selenium by Disha
132 views

1 answer to this question.

0 votes

Hi Disha, some of the benefits of using JUnit Error Collector are:

  • Junit error collector allows a test to continue even after the first issue is found and test fails at the end

  • Error collector collects all error objects and reports it only, after all, the test execution over

  • The benefit of adding all errors in an Error Collector is that you can verify all the errors at once

  • Error collector simply adds errors using method addError(throwable err) provided by ErrorCollector.java.

  • Test continuity and recovery handling is crucial to test automation success. Error Collector is the best way to handle such kind of scenarios.

answered Jun 19, 2019 by anonymous
• 14,110 points

Related Questions In Selenium

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, 2019 in Selenium by Abha
• 27,930 points
909 views
0 votes
1 answer

isDisplayed Error: No element found using locator instead of boolean

You should check whether an element is ...READ MORE

answered Jul 18, 2018 in Selenium by Samarpit
• 5,890 points
501 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,520 points
3,769 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

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

answered Aug 31 in Selenium by Sri
• 2,970 points
4,751 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,890 points
2,731 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 2 in Selenium by Sri
• 2,970 points
3,094 views
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,110 points
329 views
0 votes
1 answer