How rajyenekal/appiumautomationframework works
Project type and purpose
• This is a Java-based Appium Automation Framework (an open-source test automation tool) organized as a Maven project. It is designed to run mobile UI tests (Android/iOS) against a Demo APK, with built-in reporting, logging, retry logic, screenshot capture, and scrolling utilities.
File structure
• Top-level files:
• pom.xml – Maven config/dependency management
• testng.xml – TestNG suite definition
• README.md – Project overview
• logs/, reports/, test-output/ – Execution logs and HTML reports
• src/main/java:
• pomPages/ – Page Object classes (ApiDemoPage, ViewsPage, BaseScreen)
• utilities/ – Helper classes (GestureUtils, WaitUtility)
• src/test/java:
• test/base/ – Test base classes (BaseTest, ExtentReportManager, RetryAnalyzer)
• tests/ – Test cases (TC001, TC002, TC003)
• Resources:
• log4j2.xml – Logging config
• target/ – Compiled artifacts and generated Maven reports
Key architecture insights from README
• Uses TestNG for test orchestration with retry analyzer
• ExtentReports for HTML test reports (with embedded screenshots)
• Log4j2 for logging
• Page Object Model design pattern
• Utilities for dynamic scrolling & waiting
Details
• Retry logic path for failed tests back into TestNG
• File-system outputs (reports/, logs/) as storage sinks