{"id":28153761,"url":"https://github.com/prasad8400/e2e-testframework-swaglabs-bdd","last_synced_at":"2026-05-03T17:33:47.324Z","repository":{"id":293180853,"uuid":"983209077","full_name":"Prasad8400/E2E-TestFramework-SwagLabs-BDD","owner":"Prasad8400","description":"End-to-end test automation framework for Swag Labs using Java, Selenium, Cucumber (BDD), and TestNG. Designed for maintainability and CI/CD readiness, featuring parallel execution, custom reports, and external config support.","archived":false,"fork":false,"pushed_at":"2025-05-14T03:53:52.000Z","size":792,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-14T04:58:16.570Z","etag":null,"topics":["bdd-framework","cucumber","java","maven","selenium-java","selenium-webdriver","testng"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Prasad8400.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-05-14T03:40:35.000Z","updated_at":"2025-05-14T03:54:07.000Z","dependencies_parsed_at":"2025-05-14T05:08:55.817Z","dependency_job_id":null,"html_url":"https://github.com/Prasad8400/E2E-TestFramework-SwagLabs-BDD","commit_stats":null,"previous_names":["prasad8400/e2e-testframework-swaglabs-bdd"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prasad8400%2FE2E-TestFramework-SwagLabs-BDD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prasad8400%2FE2E-TestFramework-SwagLabs-BDD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prasad8400%2FE2E-TestFramework-SwagLabs-BDD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prasad8400%2FE2E-TestFramework-SwagLabs-BDD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Prasad8400","download_url":"https://codeload.github.com/Prasad8400/E2E-TestFramework-SwagLabs-BDD/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254283295,"owners_count":22045141,"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","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":["bdd-framework","cucumber","java","maven","selenium-java","selenium-webdriver","testng"],"created_at":"2025-05-15T06:12:02.923Z","updated_at":"2026-05-03T17:33:47.274Z","avatar_url":"https://github.com/Prasad8400.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# E2E-TestFramework-SwagLabs-BDD\nEnd-to-end test automation framework for Swag Labs using Java, Selenium, Cucumber (BDD), and TestNG. Designed for maintainability and CI/CD readiness, featuring parallel execution, custom reports, and external config support.\n# SwagLabs_Ecom_Automation (BDD Framework)\n\n![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)\n\n\n[![Certifications \u0026 Awards](https://img.shields.io/badge/Certifications%20%26%20Awards-10-blue)](https://github.com/Prasad8400/My_AwardsAndCertifications/blob/main/My_AwardsAndCertifications.md)\n\n[![Java](https://img.shields.io/badge/Java-ED8B00?style=flat\u0026logo=java\u0026logoColor=white)](https://www.java.com/)\n[![Selenium](https://img.shields.io/badge/Selenium-43B02A?style=flat\u0026logo=selenium\u0026logoColor=white)](https://www.selenium.dev/)\n[![TestNG](https://img.shields.io/badge/TestNG-FF6C37?style=flat\u0026logo=testng)](https://testng.org/)\n[![Maven](https://img.shields.io/badge/Maven-C71A36?style=flat\u0026logo=apachemaven)](https://maven.apache.org/)\n[![Cucumber](https://img.shields.io/badge/Cucumber-BDD-green?style=flat\u0026logo=cucumber)](https://cucumber.io/)\n\nThis project is a robust, scalable **Selenium WebDriver automation framework** built for testing the [Swag Labs](https://www.saucedemo.com/) e-commerce platform using **Java 17**, **Cucumber (BDD)**, **TestNG**, and **Maven**.\n\nIt leverages the **Page Object Model (POM)** design pattern for maintainability and supports cross-browser execution with detailed reporting.\n\n## 🚀 Features\n\n- ✅ BDD with Cucumber (Gherkin syntax)\n- ✅ Page Object Model (POM) design\n- ✅ Parallel test execution with TestNG\n- ✅ Browser support (Chrome, Firefox)\n- ✅ External configuration via `config.properties`\n- ✅ Detailed HTML report generation\n- ✅ Maven for dependency and build management\n- ✅ Java 17 and Eclipse IDE\n\n## 📂 Project Structure\n\nsrc\n├── main\n│ └── resources\n├── test\n│ ├── java\n│ │ ├── base/ # WebDriver setup and BaseTest\n│ │ ├── pages/ # Page Object classes\n│ │ ├── steps/ # Cucumber step definitions\n│ │ ├── testRunners/ # Cucumber TestNG runner\n│ │ └── utils/ # Report \u0026 Config utilities\n│ └── resources\n│ ├── features/ # Cucumber feature files\n│ └── config.properties # External config\n\n\n## 🛠 Tech Stack\n\n| Tool                | Description                            |\n|---------------------|----------------------------------------|\n| Java 17             | Language                               |\n| Selenium WebDriver  | Browser Automation                     |\n| Cucumber            | BDD Framework                          |\n| TestNG              | Test Execution                         |\n| Maven               | Build \u0026 Dependency Management          |\n| Eclipse IDE         | Development Environment                |\n\n## 📈 Reporting\n\nThe framework supports rich HTML reporting via external Report Manager (`utils/ReportManager.java`) and is configured for scalable test result output.\n\n## 💼 Skills Demonstrated\n\n- ✅ Test automation framework design\n- ✅ Page Object Model (POM) implementation\n- ✅ Behavior-Driven Development with Cucumber\n- ✅ CI/CD readiness using Maven\n- ✅ Cross-browser automation setup\n- ✅ External configuration management\n- ✅ TestNG parallel test setup\n- ✅ Extensive use of Object-Oriented Programming (OOP) principles:\n    🔹Encapsulation – Data hiding and getter/setter usage in page classes\n    🔹Abstraction – Reusable base classes and utility methods\n    🔹Inheritance – Common test setup inherited from base test class\n    🔹Polymorphism – Method overriding (e.g., WebDriver setup across browsers)\n\n## 🚀 Getting Started\n\n```bash\n# Clone the repo\ngit clone https://github.com/your-username/SwagLabs_Ecom_Automation.git\n\n# Navigate to project directory\ncd SwagLabs_Ecom_Automation\n\n# Run tests with Maven\nmvn clean test\n```\n\n## 🔧 Configuration\n\nsrc/test/resources/config.properties\n\n## 📬 Contact\n\n- 📧 Email: prasadsutar6544@gmail.com  \n- 💼 LinkedIn: [linkedin.com/in/prasadsutar8400](https://www.linkedin.com/in/prasadsutar8400/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprasad8400%2Fe2e-testframework-swaglabs-bdd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprasad8400%2Fe2e-testframework-swaglabs-bdd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprasad8400%2Fe2e-testframework-swaglabs-bdd/lists"}