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

What are the skills required for a software tester?
Analytical skills and logical thinking. Keep on learning and update yourself everytime.
Misha
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..!
Bhavya
I completed my graduation in 2017, now working as an HR Executive in a Consultancy. I want to move to IT Sector. Which course is best for me to learn and get success in life? Please Suggest me
Dear Kumar, My suggestion is to - become good in one programming language - preferably Java and one O/S preferably Linux. Be aware of Open Source systems. Try to identify the opportunities in your existing...
Kumar
Hello, Dear Sir/Madam, I am an MCA 2014 passed out candidate, I am eagerly searching for a job, but is facing certain problems, can you please tell me if you provide training as well as placement coordination or experience letter along??
Hi Kavya,, I am providing training for just 3000/- for freshers who are trying for job. and Once if you get trained from me you will be in the position to work on selenium using java with out any bodies support..! - Thanks, Jitendra.
Kavya

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

Ask a Question

Related Lessons

Puzzle: There is a boat, which is completely filled with fuel such that even if a bird comes and sit over then it cannot bear
Puzzle: There is a boat, which is completely filled with fuel such that even if a bird comes and sit over then it cannot bear its weight and will get sink. Now after running few kilometers an eagle came...

Puzzle : You have a set of 3 light switches outside a closed door. One of them controls the light inside the room. With the door closed.....
Puzzle : You have a set of 3 light switches outside a closed door. One of them controls the light inside the room. With the door closed from outside the room, you can turn the light switches on or off...

Priority in TestNG
public class Priority { @Test (priority=1)public void login() {System.out.println("login");} @Testpublic void email1() {System.out.println("email1");} @Test (priority=-2)public void email2() {System.out.println("email2");} //I...
S

Sarthak C.

0 0
0

Defect Management
Defect Management Terms: Application Life Cycle (ALM) Development Phase Testing Phase Production Phase ------------------------------------------------------------------ Error ...

What is Software Testing?
Software Testing is an approach to test an Application with different Testing approaches. There are 3 types of Application Web Application Mobile Application Desktop Application Major of applications...

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