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
470 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,150 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 12, 2019 in Selenium by Abha
• 28,140 points
4,221 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,910 points
1,830 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
12,619 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
8,572 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
6,629 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,519 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,150 points
1,416 views
0 votes
1 answer

What are the benefits and drawbacks of using Test Driven Development in Automation testing?

Hi Sharon, Test Driven Development (TDD) is an iterative ...READ MORE

answered Aug 5, 2019 in Selenium by Anvi
• 14,150 points
2,166 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