What is the difference between testNG listeners and logging using Logger class in Selenium?

Asked by Last Modified  

1 Answer

Follow 1
Answer

Please enter your answer

Professional Trainer

WebDriver listeners too do a similar job...of logging and/or reporting. But then both of them work on different event sets. WebDriver works on different automation events whereas TestNG works on different test's related events. The point to note is that, with WebDriver listeners, "Logging" happens before/after...
read more
WebDriver listeners too do a similar job...of logging and/or reporting. But then both of them work on different event sets. WebDriver works on different automation events whereas TestNG works on different test's related events. The point to note is that, with WebDriver listeners, "Logging" happens before/after event occurance such as click/SendKeys etc. read less
Comments

Related Questions

I completed BCA in 2016. Is learning software testing good for me because as I have a gap in my career? Please suggest.
If you can do programming then, you can start your career with any programming that gives you the right package and scope is very good. But if you are feeling link, you will not be able to do programming,...
Profile Photo
Varun
Is manual testing and it's processes are enough to develop better carrier in QA? Please someone guide me, what exactly necessary for making good carrier in testing?
Yes, Manual testing and related process of QA is enough to start your carrier in good way.. Once you get famillier with basic manual testing then you can move to other testing like Automation or Performance Testing.
Profile Photo
Vidya
Need career switch from manual/QTP to a testing domain which is in demand and has less skilled resources..Please advise
You can join my training classes on Selenium using java. That helps to boost your career and salary as well..!
Profile Photo
Bhavya
I want to know Selenium and Jmeter training institutes in Delhi NCR.
Please contact if you are in pune for selenium ad Jmeter training
Profile Photo
Kapil
I want to do online software testing course. Manual + Automation.
I would recommend a free course of JAVA, Selenium, and Manual testing for you. No charges for tuition at the student home. Online is good but I don't provide that. 100 % free and world class education.
Profile Photo
Baby

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

TestNG Annotations and its sequence
public class TestNGAnnotations { @BeforeMethod public void beforeM() { System.out.println("Before Method"); } @AfterMethod public void afterMethod() { System.out.println("After Method"); } @BeforeClass...
S

Sarthak C.

0 0
View Comments0

Puzzle:There are three boxes. One is labeled apples, another is labeled oranges. The last one is labeled apples an..................
Puzzle: There are three boxes. One is labeled apples, another is labeled oranges. The last one is labeled apples and oranges. You know that each one is labeled incorrectly. You may ask me to pick one fruit...
Profile Photo

Puzzle: A man needs to cross a river in a canoe, with him, he has a bag of grain ..........
Puzzle:A man needs to cross a river in a canoe, with him, he has a bag of grain , a chicken and a fox . He can only carry one of three at a time. If he leaves the grain and the chicken , the chicken will...
Profile Photo

Software Testing Course
Software testing course. Software testing training course What is software testing? Why is testing necessary? Testing Participants Testing Principles Best Practices in Testing Skills For Testing Software...
Profile Photo

Puzzle : You have 2 identical ropes with same shape and size. One rope takes 1 hour to burn completely. How you will measure 45 minutes?
Puzzle: You have 2 identical ropes with same shape and size. One rope takes 1 hour to burn completely. How you will measure 45 minutes.Note: you are not allowed to cut or fold these ropes.Solution: Suppose...
Profile Photo

Recommended Articles

A lot of students who look forward to build a career in IT are keen to know if Software Testing could be stepping stone for them. Software testing is processes by means quality of the software is tested and improved. It is primarily done to figure out the differences between expected output and the actual output in software...

Read full article >

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Looking for Software Testing classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you