- Description
- Tools and Technologies
- Installation
- Project Structure
- Test Excution
- Configuration
- Authors
Sutra Web Automation Testing Project is a test automation framework tailored for testing core functionalities in this E-commerce website. It provides a structured approach to testing and validating various functionalities, ensuring reliability and efficiency in the testing process. This framework facilitates testing functionalities for searching, retrieving, and navigating through the website pages using Selenium WebDriver.
To set up the project locally, follow these steps:
-
Clone the repository (using bash or Github Desktop):
git clone https://github.com/MahmoudFawzyAOE2/Sutra_ShoppingWebsite_WebAutomation.git
-
Open the Project in a proper IDE (Intelij Idea, Eclipse,...)
-
Reload the project to ensure that the dependencies are downloaded correctly
This project includes testing requests related to 4 functionalities, each in a separate directory
- Home Page
- Accessories Page (as an example of a specific product category)
- Search Functionality
- Register Functionality
Test Automation Features added to this project:
- Test Listeners: To prevent the driver from closing the window in case of test failure to help debug
- Screenshots of the found bugs
- Handling the test data in separate Java classes to improve maintainability
To run the entire test scenario, excute TestNG.xml
file. or run a single test independently.
Test results will be available in the allure-results
directory [allure setup needed]
allure serve PATH\TO\PROJECT\Sutra_ShoppingWebsite_WebAutomation\allure-results
Here is the generated Test report https://mohanadehab.github.io/web-allure-report/
Update the TestNG.xml
file to configure the test suite.
- Mahmoud Fawzy - MahmoudFawzyAOE2
- Mohanad Ehab - Mohanadehab