# automationframeworkselenium | Anh Tester | Knowledge Base | Instagit

Test Automation Framework Selenium Java with TestNG building by Anh Tester

GitHub Stars: 240

Repository: https://github.com/anhtester/automationframeworkselenium

---

## Articles

### [How to Create Custom Exceptions in anhtester/automationframeworkselenium](/anhtester/automationframeworkselenium/how-to-create-custom-exceptions-in-anhtester-automationframeworkselenium)

Learn to create custom exceptions in anhtester/automationframeworkselenium by extending the base FrameworkException. Implement robust, standardized error handling for your automation.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Configure PDF Report Generation with pdf-config.json in anhtester/automationframeworkselenium](/anhtester/automationframeworkselenium/how-to-configure-pdf-report-generation-with-pdf-config-json-in-anhtester-automationframeworkselenium)

Learn to configure PDF report generation using pdf-config.json in anhtester/automationframeworkselenium. Uncomment the dependency, enable initialization, and load JSON for custom reports.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Implement Database Testing with DatabaseHelpers in automationframeworkselenium](/anhtester/automationframeworkselenium/how-to-implement-database-testing-with-databasehelpers-in-anhtester-automationframeworkselenium)

Implement database testing in automationframeworkselenium using DatabaseHelpers. Connect to MySQL, run SQL queries, and validate data in TestNG tests for robust automation.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Use FrameworkConstants for Centralized Configuration Management in anhtester/automationframeworkselenium](/anhtester/automationframeworkselenium/how-to-use-frameworkconstants-for-centralized-configuration-management-in-anhtester-automationframeworkselenium)

Master centralized configuration with FrameworkConstants in anhtester/automationframeworkselenium. Load properties once for a single source of truth across your Selenium framework. Learn more!

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Set Up Log4j2 Logging with LogUtils in AutomationFrameworkSelenium](/anhtester/automationframeworkselenium/how-to-set-up-log4j2-logging-with-logutils-in-anhtester-automationframeworkselenium)

Configure Log4j2 logging with LogUtils in your automation framework. Add dependencies to pom.xml, set up log4j2 properties, and use LogUtils methods for efficient logging.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Use JsonUtils to Read Test Data from JSON Files in automationframeworkselenium](/anhtester/automationframeworkselenium/how-to-use-jsonutils-to-read-test-data-from-json-files-in-anhtester-automationframeworkselenium)

Learn how to use JsonUtils to read test data from JSON files in automationframeworkselenium. Extract configuration and test data easily without custom parsing.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Take Screenshots on Test Failures Using CaptureHelpers in automationframeworkselenium](/anhtester/automationframeworkselenium/how-to-take-screenshots-on-test-failures-using-capturehelpers-in-anhtester-automationframeworkselenium)

Learn to automatically capture screenshots on test failures with CaptureHelpers in automationframeworkselenium. Enable SCREENSHOT_FAILED_TCS for seamless reporting.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Implement Video Recording with ScreenRecorderHelpers During Test Execution](/anhtester/automationframeworkselenium/how-to-implement-video-recording-with-screenrecorderhelpers-during-test-execution-in-anhtester-automationframeworkselenium)

Implement video recording during test execution using ScreenRecorderHelpers in anhtester/automationframeworkselenium. Set VIDEO_RECORD=yes in config.properties for automatic Monte Screen Recorder management.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Read Configuration from Properties Files Using PropertiesHelpers in the Selenium Automation Framework](/anhtester/automationframeworkselenium/how-to-read-configuration-from-properties-files-using-propertieshelpers-in-anhtester-automationframeworkselenium)

Effortlessly read .properties files in Selenium with PropertiesHelpers from anhtester/automationframeworkselenium. Simplify configuration management for your automation framework.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Configure Selenium Grid Remote Execution with TargetFactory in anhtester/automationframeworkselenium](/anhtester/automationframeworkselenium/how-to-configure-selenium-grid-remote-execution-with-targetfactory-in-anhtester-automationframeworkselenium)

Configure Selenium Grid remote execution with TargetFactory in anhtester/automationframeworkselenium. Learn how TargetFactory routes WebDriver to your Selenium Grid for efficient parallel testing.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Use DataFakerUtils for Generating Random Test Data in anhtester/automationframeworkselenium](/anhtester/automationframeworkselenium/how-to-use-datafakerutils-for-generating-random-test-data-in-anhtester-automationframeworkselenium)

Learn to generate random test data using DataFakerUtils in anhtester/automationframeworkselenium. This guide simplifies locale-aware data generation with reusable helper methods.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Integrate Telegram Bot for Test Report Notifications via TelegramManager in AutomationFrameworkSelenium](/anhtester/automationframeworkselenium/how-to-integrate-telegram-bot-for-test-report-notifications-via-telegrammanager-in-anhtester-automationframeworkselenium)

Easily integrate Telegram bot for test report notifications in AutomationFrameworkSelenium. Learn how to configure TelegramManager and send reports automatically on suite completion to enhance your automation workflow.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Set Up Email Notifications After Test Execution with EmailAttachmentsSender in automationframeworkselenium](/anhtester/automationframeworkselenium/how-to-set-up-email-notifications-after-test-execution-with-email-attachments-sender-in-anhtester-automationframeworkselenium)

Learn to send email notifications with Extent HTML reports using EmailAttachmentsSender in anhtester/automationframeworkselenium. Configure SMTP and flags for automatic test reporting.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Configure Retry Failed Tests with IRetryAnalyzer in TestNG](/anhtester/automationframeworkselenium/how-to-configure-retry-failed-tests-with-iretryanalyzer-in-testng-anhtester-automationframeworkselenium)

Automatically re-run failing TestNG tests with IRetryAnalyzer. Configure retry counts efficiently in anhtester/automationframeworkselenium for robust test automation.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Use FrameworkAnnotation for Test Case Metadata in the Selenium Automation Framework](/anhtester/automationframeworkselenium/how-to-use-frameworkannotation-for-test-case-metadata-in-anhtester-automationframeworkselenium)

Learn to use FrameworkAnnotation for test case metadata in anhtester/automationframeworkselenium. Attach author and category info to TestNG test methods for filtered reporting.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Implement Page Object Model (POM) with CommonPageCRM Base Class in Selenium](/anhtester/automationframeworkselenium/how-to-implement-page-object-model-pom-with-commonpagecrm-base-class-in-anhtester-automationframeworkselenium)

Learn to implement Page Object Model (POM) with a CommonPageCRM base class in Selenium. Centralize shared CRM elements and actions for efficient test automation.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Configure Headless Browser Execution for Chrome, Firefox, and Edge in Selenium](/anhtester/automationframeworkselenium/how-to-configure-headless-browser-execution-for-chrome-firefox-and-edge-in-anhtester-automationframeworkselenium)

Learn to configure headless browser execution for Chrome, Firefox & Edge in Selenium. Set HEADLESS=true in config.properties or override programmatically for effortless automation.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Use the DriverManager ThreadLocal Pattern for Parallel Test Execution in Selenium](/anhtester/automationframeworkselenium/how-to-use-drivermanager-threadlocal-pattern-for-parallel-test-execution-in-anhtester-automationframeworkselenium)

Master parallel test execution in Selenium with the DriverManager ThreadLocal pattern. Learn how this technique prevents race conditions and isolates WebDriver instances for efficient automation. anhtester automation.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Set Up Extent Reports with ExtentReportManager for HTML Test Reports in anhtester/automationframeworkselenium](/anhtester/automationframeworkselenium/how-to-set-up-extent-reports-with-extentreportmanager-for-html-test-reports-in-anhtester-automationframeworkselenium)

Learn to set up Extent Reports with ExtentReportManager in the anhtester/automationframeworkselenium project. Generate thread-safe HTML test reports with ease, including screenshots and metadata.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Configure Allure Reports with the AllureManager Class in automationframeworkselenium](/anhtester/automationframeworkselenium/how-to-configure-allure-reports-with-alluremanager-class-in-anhtester-automationframeworkselenium)

Learn to configure Allure reports using the AllureManager class in automationframeworkselenium easily. Enhance your reports with logs, screenshots, and more.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Implement Custom TestNG Listeners for Reporting in automationframeworkselenium](/anhtester/automationframeworkselenium/how-to-implement-custom-testng-listeners-for-reporting-in-anhtester-automationframeworkselenium)

Learn to implement custom TestNG listeners in automationframeworkselenium to generate automated reports, capture screenshots, and record videos without altering test methods. Enhance your test reporting today.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Read Test Data from Excel Files Using ExcelHelpers in anhtester/automationframeworkselenium](/anhtester/automationframeworkselenium/how-to-read-test-data-from-excel-files-using-excelhelpers-in-anhtester-automationframeworkselenium)

Learn to read test data from Excel files using ExcelHelpers in anhtester/automationframeworkselenium. Enable data-driven tests with TestNG DataProvider and Hashtable.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Configure Parallel Test Execution in Selenium Grid with AutomationFrameworkSelenium](/anhtester/automationframeworkselenium/how-to-configure-parallel-test-execution-in-selenium-grid-with-anhtester-automationframeworkselenium)

Learn to configure parallel test execution in Selenium Grid using anhtester/automationframeworkselenium. Set TARGET=remote, define parallel tests in TestNG XML, and use TargetFactory for RemoteWebDriver.

- Tags: how-to-guide
- Published: 2026-02-24

