{"id":30770419,"url":"https://github.com/aeshamangukiya/automationpractice","last_synced_at":"2025-09-04T23:06:39.612Z","repository":{"id":300621965,"uuid":"1006545605","full_name":"aeshamangukiya/AutomationPractice","owner":"aeshamangukiya","description":"Hybrid Test Automation Framework | Java + Selenium + Rest Assured + TestNG","archived":false,"fork":false,"pushed_at":"2025-08-24T10:25:24.000Z","size":63,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-24T16:38:42.243Z","etag":null,"topics":["apitesting","automated-reporting","automated-web-tests","cross-browser-testing","end-to-end-testing","extentreports-integration","java-automation-framework","java-test-framework","log4j2-logging","parallel-test-execution","restassured","screenshot-capture-on-failure","selenium-grid-setup","selenium-testing","selenium-webdriver","test-automation","test-automation-framework","testng-framework","testng-parallel-execution","web-automation-testing"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aeshamangukiya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-22T14:07:14.000Z","updated_at":"2025-08-24T10:25:27.000Z","dependencies_parsed_at":"2025-06-22T19:30:31.764Z","dependency_job_id":"e5eb5a25-73ff-48b3-aa6f-bcc33f2b04ab","html_url":"https://github.com/aeshamangukiya/AutomationPractice","commit_stats":null,"previous_names":["aeshamangukiya/automationpractice"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aeshamangukiya/AutomationPractice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeshamangukiya%2FAutomationPractice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeshamangukiya%2FAutomationPractice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeshamangukiya%2FAutomationPractice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeshamangukiya%2FAutomationPractice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aeshamangukiya","download_url":"https://codeload.github.com/aeshamangukiya/AutomationPractice/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeshamangukiya%2FAutomationPractice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273685604,"owners_count":25149722,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apitesting","automated-reporting","automated-web-tests","cross-browser-testing","end-to-end-testing","extentreports-integration","java-automation-framework","java-test-framework","log4j2-logging","parallel-test-execution","restassured","screenshot-capture-on-failure","selenium-grid-setup","selenium-testing","selenium-webdriver","test-automation","test-automation-framework","testng-framework","testng-parallel-execution","web-automation-testing"],"created_at":"2025-09-04T23:05:00.955Z","updated_at":"2025-09-04T23:06:39.602Z","avatar_url":"https://github.com/aeshamangukiya.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hybrid Test Automation Framework  \n### *Built with Java, Selenium WebDriver, Rest Assured, TestNG, Maven \u0026 Log4j2*\n\n---\n\n## Overview\n\nThis is an **End-to-End Hybrid Test Automation Framework** designed for comprehensive testing across both **UI** and **API** layers of a web application. The framework is developed using **Java**, **Selenium**, **Rest Assured**, **TestNG**, **Maven**, and **Log4j2**, enabling teams to write, manage, and execute reliable automated test cases efficiently.\n\nIt follows best practices and design patterns like **Page Object Model (POM)** and emphasizes **modularity**, **scalability**, and **maintainability**. With integrated logging, parallel execution, and rich HTML reporting, this framework offers a robust solution for automation testing and continuous integration pipelines.\n\n---\n\n## Key Features\n\n-  **End-to-End UI \u0026 API Test Automation**\n-  **Modular and Scalable Architecture**\n-  **Parallel Execution Support** using TestNG and Maven Surefire\n-  **Page Object Model (POM)** design pattern for UI automation\n-  **Data-Driven Testing** with Excel, JSON, or Property files\n-  **Cross-Environment Execution** via configuration files\n-  **Detailed Logging** using **Log4j2**\n-  **Rich HTML Reports** (ExtentReports or Allure)\n-  **CI/CD Integration Ready** (Jenkins, GitHub Actions, etc.)\n\n---\n\n## Tech Stack\n\n| Technology     | Purpose                         |\n|----------------|----------------------------------|\n| Java           | Core programming language       |\n| Selenium       | UI automation                   |\n| Rest Assured   | API testing                     |\n| TestNG         | Test orchestration              |\n| Maven          | Build and dependency management |\n| Log4j2         | Logging and debugging           |\n| Extent Reports | Rich HTML reporting             |\n\n---\n\n## Getting Started\n\n1. **Clone the Repository:**\n\n   ```bash\n   git clone https://github.com/aeshamangukiya/AutomationPractice.git\n   # or\n   git clone git@github.com:aeshamangukiya/AutomationPractice.git\n\n2. **Run Tests:**\n\n   ```bash\n   mvn clean test\n\n## Project Structure\n\u003cdetails\u003e \u003csummary\u003eClick to expand\u003c/summary\u003e\n\n```text\n📁 src/\n├── 📁 main/\n│   ├── 📁 java/\n│   │   ├── 📁 pageBase/\n│   │   │   └── BasePage.java\n│   │   ├── 📁 pageObjects/\n│   │   │   ├── 📁 pages/\n│   │   │   │   ├── 📁 accounts/\n│   │   │   │   │   ├── LoginPage.java\n│   │   │   │   │   └── ProfilePage.java\n│   │   │   │   └── 📁 common/\n│   │   │   │       └── Dashboard.java\n│   │   ├── 📁 utilities/\n│   │   │   ├── ConfigReader.java\n│   │   │   ├── WaitUtil.java\n│   │   │   └── WebDriverUtil.java\n│   │   ├── 📁 constants/\n│   │   │   ├── ConstVariables.java\n│   │   │   ├── Timeouts.java\n│   │   │   └── Messages.java\n│   └── 📁 resources/\n│       └── log4j2.xml\n\n📁 test/\n├── 📁 java/\n│   ├── 📁 testBase/\n│   │   └── BaseTest.java\n│   ├── 📁 tests/\n│   │   ├── 📁 account/\n│   │   │   ├── 📁 login/\n│   │   │   │   └── LoginTest.java\n│   │   │   └── 📁 register/\n│   │   │       └── RegisterTest.java\n│   │   └── 📁 apiTests/\n│   │       └── 📁 API_Tests.java/\n│   │           └── GetUsersAPITest.java\n│   ├── 📁 listeners/\n│   │   ├── TestListener.java\n│   │   ├── RetryAnalyzer.java\n│   │   ├── ScreenshotListener.java\n│   │   └── ExtentReportListener.java\n│   ├── 📁 dataProviders/\n│   │   ├── LoginDataProvider.java\n│   │   └── ProfileDataProvider.java\n│   └── 📁 utilitiesTest/\n│       ├── ScreenshotUtil.java\n│       ├── LogUtil.java\n│       ├── ExcelReader.java\n│       └── ReportUtil.java\n├── 📁 resources/\n│   └── 📁 config/\n│       ├── config.properties\n│       └── 📁 testEnvironments/\n│           ├── qa.properties\n│           └── prod.properties\n│   └── log4j2.xml\n\n📁 testXML/\n└── 📁 xmlFiles/\n    └── testng.xml\n\n📁 testData/\n└── 📁 accounts/\n    └── 📁 login/\n        ├── LoginTestData.xlsx\n        └── ResetPasswordData.xlsx\n\n📁 logs/\n└── 📁 account/\n    └── 📁 login/\n        ├── login.log\n        └── register.log\n\n📁 reports/\n└── 📁 account/\n    └── 📁 login/\n        └── ExtentReport.html\n\n📁 screenshots/\n└── 📁 account/\n    └── 📁 login/\n        └── LoginPage_YYYY_MM_DD_HH_MM_SS.png\n\n📁 test-output/         # TestNG output (ignored by VCS)\n📁 target/              # Maven build output (ignored by VCS)\n📄 pom.xml              # Maven configuration file\n📄 README.md            # Project documentation\n```\n\u003c/details\u003e\n\n## API Testing with Rest Assured\n1. **API test sample (GetUsersAPITest.java):**\n```bash\n@Test\npublic void verifyGetUsersAPI() {\n    given()\n        .baseUri(\"https://reqres.in\")\n        .when()\n        .get(\"/api/users?page=2\")\n        .then()\n        .statusCode(200)\n        .body(\"data\", not(empty()));\n}\n```\n\n2. **Location:**\n```bash\ntest/java/tests/api/users/GetUsersAPITest.java\n```\n3. **Extend with:** \n- JSON Schema validation\n- Token authentication\n- Data-driven APIs using Excel or JSON\n\n## Naming Conventions\n| Component        | Convention | Example                               |\n| ---------------- | ---------- | ------------------------------------- |\n| Packages/Folders | camelCase  | `utilitiesTest`, `dataProviders`      |\n| Classes          | PascalCase | `ConfigReader.java`, `LoginTest.java` |\n| Methods/Vars     | camelCase  | `getUserDetails()`, `isActive`        |\n\n## Parallel Execution\nConfigure via testng.xml:\n```bash \n\u003csuite name=\"RegressionSuite\" parallel=\"methods\" thread-count=\"5\"\u003e\n```\nUse with Selenium Grid for remote browsers.\n\n## Reporting \u0026 Logging\n- ExtentReports: Saved in /reports\n- Screenshots: On failure in /screenshots\n- Logs: Module-specific under /logs\n- Log4j2: Config in resources/log4j2.xml\n\n## Retry \u0026 Listeners\n- Retry failed tests using RetryAnalyzer\n- Custom TestNG listeners: screenshots, logs, reports\n\n## Contact \u0026 Credits\n- Maintained by: Aesha Mangukiya\n- Email: aeshamangukiya1@gmail.com\n- GitHub: [GitHub: aeshamangukiya](https://github.com/aeshamangukiya)\n  \n---\n  \n## Contributions\nPull requests, suggestions, and issue reports are welcome!  \n\n- Feel free to suggest improvements or new features.\n- Report bugs or broken links for faster fixes.\n- Submit pull requests with enhancements, documentation updates, or styling improvements.\n- Your contributions help make this resume website more accessible and professional.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeshamangukiya%2Fautomationpractice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faeshamangukiya%2Fautomationpractice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeshamangukiya%2Fautomationpractice/lists"}