How ajays0011/cucumber---automation-fw works
This repository is an enterprise BDD automation framework for hybrid browser and REST API testing. Its documented workflow is scenario execution through UI page objects or API calls, with configuration and browser-driver support, followed by test reporting. The checked-in tree contains framework source and generated Allure artifacts but not the documented test-layer sources, so the scenario-to-framework handoff is documented rather than traced through implementation. Reporting and utility modules are represented without inferring unshown wiring.
Main entry points: BasePage.java Page helpers · ConfigReader.java Environment config · HomePage.java Home actions · DriverFactory.java WebDriver factory
Components 19
Core Runtime
- Environment config
src/main/java/com/automation/framework/config/ConfigReader.java - WebDriver factory
src/main/java/com/automation/framework/driver/DriverFactory.java - Retry handling
src/main/java/com/automation/framework/utils/RetryAnalyzer.java
Browser Testing
- Page helpers
src/main/java/com/automation/framework/pages/BasePage.java - Home actions
src/main/java/com/automation/framework/pages/HomePage.java - Login and signup
src/main/java/com/automation/framework/pages/LoginPage.java - Account registration
src/main/java/com/automation/framework/pages/SignupPage.java - Product browsing
src/main/java/com/automation/framework/pages/ProductsPage.java - Cart actions
src/main/java/com/automation/framework/pages/CartPage.java
API Testing
- REST API client
src/main/java/com/automation/framework/api/ApiClient.java
Reporting
- Screenshot capture
src/main/java/com/automation/framework/utils/ScreenshotUtil.java - Allure history
src/main/java/com/automation/framework/utils/AllureHistoryManager.java - Execution analytics
src/main/java/com/automation/framework/utils/ExecutionTracker.java - Feature report plugin
src/main/java/com/automation/framework/reporting/FeatureCategoryPlugin.java - Feature report generator
src/main/java/com/automation/framework/reporting/FeatureWiseReportGenerator.java
Other components
- Test author
- Automation Exercise
- Cucumber JSON
- Generated reports
Connections 22
- Test author → Home actions: defines scenarios
README.md - Test author → REST API client: defines API scenarios
README.md - Environment config → WebDriver factory: configures
src/main/java/com/automation/framework/driver/DriverFactory.java - WebDriver factory → Page helpers: provides driver
src/main/java/com/automation/framework/pages/BasePage.java - Home actions → Page helpers: uses helpers
src/main/java/com/automation/framework/pages/HomePage.java - Login and signup → Page helpers: uses helpers
src/main/java/com/automation/framework/pages/LoginPage.java - Account registration → Page helpers: uses helpers
src/main/java/com/automation/framework/pages/SignupPage.java - Product browsing → Page helpers: uses helpers
src/main/java/com/automation/framework/pages/ProductsPage.java - Cart actions → Page helpers: uses helpers
src/main/java/com/automation/framework/pages/CartPage.java - Environment config → REST API client: sets base URL
src/main/java/com/automation/framework/api/ApiClient.java - REST API client → Automation Exercise: sends REST requests
src/main/java/com/automation/framework/api/ApiClient.java - Home actions → Automation Exercise: drives browser
README.md - Environment config → Feature report plugin: sets report metadata
src/main/java/com/automation/framework/reporting/FeatureCategoryPlugin.java - Environment config → Feature report generator: sets report metadata
src/main/java/com/automation/framework/reporting/FeatureWiseReportGenerator.java - WebDriver factory → Screenshot capture: supplies browser capture
src/main/java/com/automation/framework/utils/ScreenshotUtil.java - Feature report plugin → Generated reports: writes Extent report
src/main/java/com/automation/framework/reporting/FeatureCategoryPlugin.java - Cucumber JSON → Feature report generator: provides scenario data
src/main/java/com/automation/framework/reporting/FeatureWiseReportGenerator.java - Feature report generator → Generated reports: generates report
src/main/java/com/automation/framework/reporting/FeatureWiseReportGenerator.java - Screenshot capture → Generated reports: saves captures
src/main/java/com/automation/framework/utils/ScreenshotUtil.java - Allure history → Generated reports: tracks trends
- Execution analytics → Generated reports: summarizes runs
- Retry handling → Home actions: retries scenarios
README.md