This project is a full-featured automation test suite for the BearStore e-commerce demo site. It uses Python and Selenium, follows the Page Object Model (POM) pattern, and includes 9 smart test cases that simulate realistic user behaviors.
- Automated UI testing for BearStore's product, cart, login, and checkout flows.
- Randomized product selection for each run to simulate diverse user behavior.
- Full test coverage including price validation, quantity updates, and order confirmation.
Python_Selenium_Project/
├── Smart_Bear_Classes/ # Page Object Model (POM) classes
│ ├── BearStoreMainPage.py
│ ├── ProductPage.py
│ ├── CartPage.py
│ ├── CartPopUp.py
│ ├── LoginPage.py
│ ├── Checkout.py
│ └── ToolBar.py
├── tests/
│ └── test_smartbear.py # Main test suite with 9 automated test cases
├── README.md
BearStoreMainPage.py– Handles home page and category elementsCategoryPage.py– Product listings per categoryProductPage.py– Product details, quantity changes, and add to cartCartPopUp.py– Right-side cart popup validationCartPage.py– Full cart screen: totals, edits, and clearingLoginPage.py– Login fields and button interactionCheckout.py– Order flow: billing, shipping, confirmationToolBar.py– Top navigation bar: cart icon, login, logo
Located in test_smartbear.py, the test suite includes:
- Page Transitions – Navigation between category and product pages
- Add to Cart – Adding products with quantity and validating totals
- Cart Details – Validating prices × quantities = subtotal
- Cart + Remove Item – Ensures accurate removal
- Cart Transition Flow – Popup to full cart page
- Three Product Validation – Full comparison of names, prices, and totals
- Update Quantities – Changing quantities and recalculating totals
- Full Checkout – Logging in and completing an order
- Login/Logout – Full auth flow with state verification
pip install selenium
python -m unittest tests/test_smartbear.pyEdge driver must be installed and accessible from PATH, or you can configure Chrome instead.
Ilay Marciano
📧 ilay.marciano95@gmail.com
🔗 LinkedIn
💻 GitHub
זהו פרויקט בדיקות אוטומטיות מלא עבור אתר ההדגמה BearStore.
הבדיקות כתובות בפייתון ומבוססות על Selenium ומבנה Page Object Model (POM).
- בדיקות UI מקצה לקצה: קטגוריות, מוצרים, עגלת קניות, התחברות והזמנה.
- בחירת מוצרים אקראית בכל הרצה.
- כיסוי מלא של ולידציית מחירים, כמויות, והזמנה מלאה.
Python_Selenium_Project/
├── Smart_Bear_Classes/ # מחלקות Page Object
├── tests/
│ └── test_smartbear.py # קובץ הבדיקות הראשי
├── README.md
BearStoreMainPage.py– עמוד הבית והקטגוריותCategoryPage.py– עמוד מוצרים בקטגוריהProductPage.py– עמוד מוצרCartPopUp.py– עגלת הקניות הצפהCartPage.py– עמוד עגלת קניות מלאהLoginPage.py– התחברותCheckout.py– תהליך תשלום והזמנהToolBar.py– סרגל ניווט עליון
מופיעים בקובץ test_smartbear.py:
- ניווט בין עמודים
- הוספת מוצרים לעגלה
- בדיקת סכום ביניים (מחיר × כמות)
- הסרת פריט מהעגלה
- ניווט מהפופאפ לעגלה מלאה
- ולידציית 3 מוצרים (שמות, כמויות, מחירים)
- שינוי כמויות ועדכון מחירים
- ביצוע הזמנה מלאה עם התחברות
- התחברות וניתוק משתמש
pip install selenium
python -m unittest tests/test_smartbear.pyיש לוודא ש־EdgeDriver מותקן או להחליף ל־ChromeDriver.
אילאי מרציאנו
📧 ilay.marciano95@gmail.com
🔗 LinkedIn
💻 GitHub