Skip to content

RaresCode/SwagLabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testing SwagLabs Demo

The purpose of this project is to thoroughly test the saucedemo ecommerce application, focusing on critical functionalities such as login, checkout, database interaction, and the accuracy of the sorting feature. By conducting comprehensive testing.

Objectives

The primary objectives of this project are as follows:

  • Verify the functionality and security of the login process, ensuring that user authentication works correctly and sensitive data remains protected.
  • Test the checkout process, including the accuracy of pricing calculations, proper handling of shipping options, and successful completion of the purchase.
  • Evaluate the interaction between the ecommerce app and the underlying database, ensuring that data is stored, retrieved, and updated accurately.
  • Validate the accuracy of product data displayed on the app, such as name, description, and price, by comparing it with the corresponding entries in the database.
  • Verify the sorting feature on the website, ensuring that it accurately reflects the order of products based on the selected sorting criteria.

Features

  • Page Object Model
  • Database Testing
  • Data Validation
  • Html Reporting
  • Test Logging
  • Bugs Screenshots
  • Parallel Testing

Watch The Entire Testing Process

swaglabs.video.test.mp4

HTML Report

swaglabs report html

Setup

  • Install and configure Python3

  • Setup your IDE

  • Import cloned repository as project

  • Install all the required packages:

  pip install -r requirements.txt
  • To run tests, use TestRunner.py