Skip to content

About

Testing website with Selenium

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Selenium Project - SauceDemo

Web automation using Selenium on SauceDemo with Python.

📂 Project Structure

saucedemo.py: initial version of the login flow.

SwagLabs.py: improved/modular version with test flows.

screenshots/: automatic screenshots (before/after login and errors).

logs/: execution details and error logs stored in a log file.

✅ Implemented Test Flows

  1. standard_user_flow

Login with standard_user

Opens product Sauce Labs Backpack

Logout

  1. performance_user_flow

Login with performance_glitch_user

Opens product Sauce Labs Bike Light

Adds product to cart

Logout

🛠️ Requirements

Python 3.10+

Google Chrome installed

Install dependencies:

pip install selenium webdriver-manager

▶️ Execution python SwagLabs.py

🧾 Test Evidence

Screenshots stored in screenshots/

Logs available in logs/execution.log

📌 Notes

SwagLabs.py is the recommended version to continue expanding the project.

saucedemo.py remains as a reference for initial implementation steps.

👨‍💻 Author

About

Testing website with Selenium

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages