Skip to content

mazwaay/Selenium-Web-SwagLabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hi, I'm Mazway 👋

I will create a simple automation test using Selenium Python, Pytest and Unittest, for reporting, I will use Allure Report on the Swag Labs Website.

Installation

  • clone this project
  • install required.txt

Scenario Test

  • 1. Login using standard user

    • Test Step
      1. Open the website
      2. Input username as standard_user
      3. Input password as secret_sauce
      4. Click button login
      • Expected : Successfully logged in and redirects to the product page.
  • 2. Login using locked user

    • Test Step
      1. Open the website
      2. Input username as locked_out_user
      3. Input password as secret_sauce
      4. Click button login
      • Expected : Will display an error message "Epic sadface: Sorry, this user has been locked out."
  • 3. Login using problem user

    • Test Step
      1. Open the website
      2. Input username as problem_user
      3. Input password as secret_sauce
      4. Click button login
      • Expected : Successfully logged in but an inappropriate image is displayed.
  1. 4. Login using performance user
    • Test Step
      1. Open the website
      2. Input username as performance_glitch_user
      3. Input password as secret_sauce
      4. Click button login
      • Expected : Login is successful but it takes a longer time.

Screen Record

selenium-web-swaglabs.mp4

Reporting

for reporting Allure Report, check this.

About

Automate Test using Selenium-Python on https://www.saucedemo.com/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages