This Project requires you to automate and generate a report for a created test plan for an e-commerce application to test all possible test scenarios. It's required to automate a test plan for an e-commerce application to test all possible test scenarios and test cases for the major functionalities of the e-commerce website/app. This E-commerce application has a log-in page w/ username and password with no extra authentication other than the email password.
- User could register with valid data
- User could log in with valid email and password
- User could reset his/her password successfully
- Logged User could search for any product
- Logged User could switch between currencies US-Euro
- Logged user could select different Categories
- Logged user could select different tags
- Logged user could add different products to Shopping cart
- Logged user could add different products to Wishlist
- Logged user could add different products to compare list
- Create successful Order
- Java 8 or higher.
- Selenium WebDriver.
- TestNG.
- cucumber.
- EdgeDriver.
1 - Clone this repository to your local machine.
2 - nstall the required dependencies using Maven.
3 - Download the latest version of EdgeDriver and place it in the project's root directory.
4 - Open the config.properties file and update the browser property to edge.
5 - Running the Tests
The project generates a test report in HTML format. The report can be found in the target/surefire-reports directory after running the tests. Open the index.html file in a web browser to view the report.
Contributions are welcome! To contribute, please fork this repository, make changes, and submit a pull request.