Skip to content

MahmoudFawzyAOE2/Sutra_ShoppingWebsite_WebAutomation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sutra Web Automation Testing Project

Table of Contents

Description

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.

Tools and Technologies

c

Installation

To set up the project locally, follow these steps:

  1. Clone the repository (using bash or Github Desktop):

    git clone https://github.com/MahmoudFawzyAOE2/Sutra_ShoppingWebsite_WebAutomation.git
  2. Open the Project in a proper IDE (Intelij Idea, Eclipse,...)

  3. Reload the project to ensure that the dependencies are downloaded correctly

Project Structure

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

Test Excution

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/

Configuration

Update the TestNG.xml file to configure the test suite.

Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages