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
- standard_user_flow
Login with standard_user
Opens product Sauce Labs Backpack
Logout
- 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
🧾 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