This project presents a QA approach for testing the Swag Labs e-commerce web application (https://www.saucedemo.com/), incorporating both manual testing and automation testing using Selenium WebDriver and TestNG. It highlights best practices in test planning, execution, documentation, and automation, completed as part of an internship/job portfolio to demonstrate end-to-end quality assurance skills.
- Selenium WebDriver
- Java
- Maven
- TestNG
project proposal– get approval from the supervisortest_plan– Structured test planning documentfeature wise userStories– identify requiremets & design testScanariosrequirement tracerbilty matrix– mapping requiremnts with test scanarios and test casestest cases- Step-by-step instructions to validate application functionality against expected results.test execution report- A summary showing the pass/fail status of executed test cases.QA summary report- A high-level overview of the testing process, results, and release recommendation.Automation summary report- A report summarizing automated test execution results and key observations.Automation Test Script- Code written to automate testing of application using Selenium
- Clone the Repository
git clone https://github.com/hashandom/Selenium-End-To-End-Testing.git cd Selenium-End-To-End-Testing
2.**Set Up the java **
Make sure you have Java 21 installed. Run:
java --version-
Set Up Maven Dependencies
Make sure you have Maven installed. Run:mvn clean install
-
Execute Tests
You can run tests using:mvn test
- Login functionality
- Product selection
- Cart operations
- Checkout process
- Logout functionality
All testing artifacts are included:
- project proposal
- Test Plan
- feature wise userStories
- requirement tracerbilty matrix
- test cases
- test execution report
- QA summary report
- Automation summary report
- Automation Test Script
- Ensure ChromeDriver or the corresponding WebDriver is installed and set in your system path.
- You can modify the test configuration and base URLs in the config files.