- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
How to Add Loggers Using Log4j in Your Test Automation Framework (Java)
In this video, we’ll learn how to add loggers using Log4j in a Test Automation Framework so that our Selenium tests are easier to debug, maintain, and monitor.
We’ll integrate Log4j step-by-step and wire it into the framework so every important action is logged: test start/end, page actions, failures, and more.
✅ What you’ll learn:
• Why logging is important in automation frameworks
• How Log4j works (basic concepts)
• Adding Log4j dependency (Maven/Gradle)
• Creating a reusable Logger utility
• Configuring log4j2.xml / log4j.properties
• Using loggers in Page classes & Test classes
• Logging test start, end, and failures
• Tips for readable, useful logs
🔧 Tech stack:
• Java
• Selenium WebDriver
• Log4j / Log4j2
• TestNG / JUnit (whichever you used)
• Maven / Gradle
By the end, you’ll have framework-wide logging that makes failures much easier to understand.
👍 Like, 🔔 subscribe, and comment if you want the framework repo or a video on log levels & advanced Log4j config.
Видео How to Add Loggers Using Log4j in Your Test Automation Framework (Java) канала Automation Talk
We’ll integrate Log4j step-by-step and wire it into the framework so every important action is logged: test start/end, page actions, failures, and more.
✅ What you’ll learn:
• Why logging is important in automation frameworks
• How Log4j works (basic concepts)
• Adding Log4j dependency (Maven/Gradle)
• Creating a reusable Logger utility
• Configuring log4j2.xml / log4j.properties
• Using loggers in Page classes & Test classes
• Logging test start, end, and failures
• Tips for readable, useful logs
🔧 Tech stack:
• Java
• Selenium WebDriver
• Log4j / Log4j2
• TestNG / JUnit (whichever you used)
• Maven / Gradle
By the end, you’ll have framework-wide logging that makes failures much easier to understand.
👍 Like, 🔔 subscribe, and comment if you want the framework repo or a video on log levels & advanced Log4j config.
Видео How to Add Loggers Using Log4j in Your Test Automation Framework (Java) канала Automation Talk
Комментарии отсутствуют
Информация о видео
2 августа 2023 г. 2:45:01
00:06:33
Другие видео канала





















