How to add logging to Selenium tests | Log4j2 example

preview_player
Показать описание
Learn how to use Log4j2 to add logging to your Selenium tests.

What is Log4j2?
It is a Java-based logging utility.

In this video, you will learn how to log different types of events such as warning and errors; we will use the power of Log4j2 to accomplish this.

You can find the source code for this project on automateNow's GitHub page.

😀 Subscribe for weekly videos! 👍

📑 CHAPTERS

0:00 ~ Intro to Log4j2
0:15 ~ What is Log4j2?
0:40 ~ Add Log4j2 dependencies
1:44 ~ Add Log4j2 properties file
2:58 ~ Add Log4j2 logger instance
3:45 ~ Add Log4j2 to Selenium WebDriver test
4:57 ~ View Log4j2 logs in the console
5:29 ~ Available Log4j2 logging messages
6:06 ~ When to use each type Log4j2 logging message?
7:00 ~ What else can you do with Log4j2?

👩‍🎓 COURSES

⏯ PLAYLISTS

📫 LET'S CONNECT!

🔗 REFERENCES

Рекомендации по теме