Java Test Automation Frameworks Suite
A comprehensive suite of three custom-built Java automation frameworks for API, Mobile, and Web UI testing, implementing advanced design patterns.
Overview
I architected and developed three independent, highly scalable automation frameworks from scratch to handle API (RestAssured), Mobile (Appium), and Web UI (Selenium) testing. They are designed for maintainability, parallel execution, and seamless CI/CD integration.
Architecture
Built on Java 17 and Maven, utilizing TestNG as the core testing engine. The frameworks implement advanced design patterns including Page Object Model (POM), Factory Pattern for driver management, Domain Pattern for API services, and ThreadLocal for thread-safe parallel execution. All setups integrate seamlessly with Allure for comprehensive reporting.
Automation Framework Architecture
- RestAssured API Framework: Features a Domain Pattern architecture (client/service/assertion), Data-Driven Testing via JSON/Excel, Schema validation, and dynamic environment config (-Denv). Uses ThreadLocal for safe token management during parallel runs.
- Appium Mobile Framework: Fully supports Native (UiAutomator2/XCUITest), Hybrid (with auto context-switching), and Mobile Web apps. Implements Keyword-Driven Testing and Factory Pattern for robust Appium server and driver management.
- Selenium Web Framework: Cross-browser automation powered by WebDriverManager. Features comprehensive Web UI actions, thread-safe parallel execution, and automatic screenshot capturing on test pass/fail via Allure listeners.
Detailed Tech Stack
Core Stack
Java >= 17, Maven, TestNG 7.x, Log4j2, Allure Report, Apache POI
Testing Tools
Selenium WebDriver 4.x, Appium 3.x, RestAssured, Jackson/Gson
Design Patterns
POM, Factory Pattern, Domain Pattern, Data-Driven & Keyword-Driven Testing