Skip to content

E-Commerce Store Selenium Automation Testing Training Project

Notifications You must be signed in to change notification settings

EugenMakarevich/ecommerce-store-selenium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selenium WebDriver Training

This is the one of the projects I completed to become a Java QA Automation Engineer within the company. Used knowledge gained throughout the course of an internal company training to develop a testing framework for a demo e-commerce application as part of the final task.

Technology Stack:

  • Programming language - Java
  • Build and project management tool - Maven
  • Testing framework - JUnit 5
  • Automation framework - Selenium WebDriver
  • Reporting framework - Allure

Tasks:

  • Automate 5 scenarios (described below)
  • Tests from 1 test class should be executed in 1 browser (if 3 test classes - browser should be opened 3 times before each test class not before each test method)
  • Required Design Patterns: Page Object + Page Factory, Singleton (can add more)
  • If your project contains DDT - store datasets in txt/xml/json files
  • Project should be shared on Github or Bitbucket
  • Tests should work in Chrome and Firefoxcode> browsers
  • Add switch in code to run tests locally/ using Selenium Grid/ SauceLabs/ Docker (user can give params - url, port, etc.)
  • If test fails attach screenshot, date and time, browser, platform version to your report
  • Add cleanup

Test Plan:

AP-1 Verify the ability to create an account

  • Go to login page: https://magento.softwaretestingboard.com/customer/account/create/
  • Fill required fields
  • Click Create an account button
  • Expected result: Account was created

AP-2 Verify the ability to login in

  • Go to main page: https://magento.softwaretestingboard.com/
  • Fill Email address and Password inputs
  • Click Sign in button
  • Expected result: You were able to login

AP-3 Verify the ability to add an address

  • Login
  • Go to address book: https://magento.softwaretestingboard.com/customer/address/index/
  • Add new address
  • Expected result: New address was added to the address list

AP-4 Verify the ability to add products to Wishlist

  • Login
  • Go to a page with clothes
  • Go to any product detail page and click Add to Wishlist button
  • Expected result: Product was added to Wishlist

AP-5 Verify the ability to add products to cart

  • Login
  • Go to a page with clothes
  • Add 3 different products to cart
  • Go to shopping cart
  • Expected result: All 3 products are in the cart and subtotal is correct