{"id":23627268,"url":"https://github.com/nibrazkhan/testng_ecommerce_automation","last_synced_at":"2025-07-01T13:07:23.040Z","repository":{"id":115697024,"uuid":"527293738","full_name":"NibrazKhan/TestNG_Ecommerce_Automation","owner":"NibrazKhan","description":"This is an automation testing project of an e-commerce site built using Selenium Web driver and TestNG as testing framework.","archived":false,"fork":false,"pushed_at":"2022-08-23T17:06:59.000Z","size":11197,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-01T13:07:06.858Z","etag":null,"topics":["allure-report","gradle","intellij-idea","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NibrazKhan.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":"2022-08-21T18:31:22.000Z","updated_at":"2025-02-07T16:25:46.000Z","dependencies_parsed_at":"2023-12-05T19:15:10.617Z","dependency_job_id":null,"html_url":"https://github.com/NibrazKhan/TestNG_Ecommerce_Automation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NibrazKhan/TestNG_Ecommerce_Automation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NibrazKhan%2FTestNG_Ecommerce_Automation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NibrazKhan%2FTestNG_Ecommerce_Automation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NibrazKhan%2FTestNG_Ecommerce_Automation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NibrazKhan%2FTestNG_Ecommerce_Automation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NibrazKhan","download_url":"https://codeload.github.com/NibrazKhan/TestNG_Ecommerce_Automation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NibrazKhan%2FTestNG_Ecommerce_Automation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262969883,"owners_count":23392529,"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":["allure-report","gradle","intellij-idea","java","selenium-webdriver","testng"],"created_at":"2024-12-27T23:57:59.555Z","updated_at":"2025-07-01T13:07:23.028Z","avatar_url":"https://github.com/NibrazKhan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TestNG_Ecommerce_Automation\n### This is a complete project where an [E-commerce site](http://automationpractice.com/) site is automated by writing test suites using selenium-webdriver and TestNg as testing framework.\nThe following key modules/pages are automated:\n- **SignUp** \n- **Login**\n- **Search**\n- **Cart**\n- **Checkout**\u003c/br\u003e\n\nKey test cases(total **51**) are written for each module and test suites created including the positive and negative test cases.\u003c/br\u003eA state-transition flow of test-cases are designed and run like a user buying a product from an e-commerce site.\u003c/br\u003e\nFor failed test cases it will take a screenshot aswell at the point of failure.\n\u003c/br\u003eThe test runner codes can be extracted from this [link](https://github.com/NibrazKhan/TestNG_Ecommerce_Automation/tree/main/src/test/java/TestRunner).\u003c/br\u003e\nThe module test case steps code can be extracted from this [link](https://github.com/NibrazKhan/TestNG_Ecommerce_Automation/tree/main/src/test/java/TestRunner).\u003c/br\u003e\n**The test cases are written following standard test case format in this excel file:**\n[Test_cases.xlsx](https://github.com/NibrazKhan/TestNG_Ecommerce_Automation/files/9394338/Test_cases.xlsx) \u003c/br\u003e\nView the excel file from this [link](https://docs.google.com/spreadsheets/d/1uAqOdIspQ-dDN8d99kBDqDSwsI-ATvWx/edit?usp=sharing\u0026ouid=103007158823477190559\u0026rtpof=true\u0026sd=true).\n\n### Technology: \u003c/br\u003e\n- Tool: Selenium Webdriver\n- IDE: Intellij IDEA\n- Build tool: Gradle\n- Language: Java\n- Testing Framework : TestNG\n\n### Prerequisite: \u003c/br\u003e\n- Need to install jdk 11, gradle and allure\n- Configure Environment variable for jdk 11, gradle and allure\n- Clone this project and unzip it\n- Open the project folder\n- Double click on \"build.gradle\" and open it through IntellIJ IDEA\n- Let the project build successfully\n- Click on \"Terminal\" and run the automation scripts\n\n### Run the Automation Script by the following command:\n ```\n gradle clean test \n ```\n- Selenium will open the browser and start automating.\n- After automation to view allure report , give the following commands:\n ```\nallure generate allure-results --clean -o allure-report\nallure serve allure-results\n ```\n\n**Below is my allure overview report**:\n\n![Overview](https://user-images.githubusercontent.com/55280106/185918375-8ac0df03-ee09-4215-a6df-ecdbcf9fd5cd.png)\n\n**Here are the suites of this project**:\n\n![suites](https://user-images.githubusercontent.com/55280106/185918539-c40ea3e9-dd3f-4e56-b223-adcf80fcbf25.png)\n\n**Here is the overall walkthrough of the project:** [Video](https://drive.google.com/file/d/1fx4bMzsdBhugkUjqPKAI1z9UCwFo8W_-/view?usp=sharing)\u003c/br\u003e\n**You can watch the sanity testing of Checkout module from here:** [Video](https://drive.google.com/file/d/1nsk8-EKik-BnvjvH4mSwOwV7COD7dsas/view?usp=sharing)\n\n\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnibrazkhan%2Ftestng_ecommerce_automation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnibrazkhan%2Ftestng_ecommerce_automation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnibrazkhan%2Ftestng_ecommerce_automation/lists"}