Join the challenge to win a 1-on-1 career consultation with Jan Tegze, Tricentis’ Director of Technical Hiring — plus a ShiftSync gift box🎁
Objective
Automate the complete purchase flow on https://www.saucedemo.com with the following requirements:
Task Requirements
- Login with Data-Driven Approach
- Read credentials from an external file (CSV/JSON/Excel)
- Handle multiple user types (standard_user, problem_user)
- Implement proper error handling for locked_out_user
- Dynamic Product Selection
- Add the 2 most expensive products to cart
- Verify cart badge count updates correctly
- Handle the scenario where a product might be out of stock (simulate by checking if Add to Cart button exists)
- Cart Validation
- Assert that cart shows correct items and prices
- Calculate and verify the subtotal dynamically
- Remove one item and verify the cart updates
- Checkout Process
- Fill checkout information using Page Object Model
- Verify the overview page shows correct item total, tax, and final total
- Complete the purchase
- Bonus Challenges
- Implement a custom wait strategy for a slow-loading element (add artificial wait if needed)
- Take screenshots at each major step
- Generate an HTML report with test results
- Handle the "problem_user" scenario where images might be broken
Evaluation Criteria
- Code Quality (30%): Clean code, proper naming conventions, reusability
- Framework Design (25%): Page Object Model implementation, separation of concerns
- Error Handling (20%): Exception handling, meaningful error messages, recovery strategies
- Test Coverage (15%): Edge cases, negative scenarios
- Reporting & Logging (10%): Clear test results, screenshots, execution logs
Submission Format
- GitHub repository link with README explaining setup
- Video/screenshots showing successful execution
- Brief document explaining design decisions



