Skip to main content
Crewman
October 3, 2025

Challenge by Naveen: E-Commerce Checkout Flow with Dynamic Obstacles

  • October 3, 2025
  • 13 replies
  • 973 views

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

  1. 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
  2. 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)
  3. Cart Validation
    • Assert that cart shows correct items and prices
    • Calculate and verify the subtotal dynamically
    • Remove one item and verify the cart updates
  4. Checkout Process
    • Fill checkout information using Page Object Model
    • Verify the overview page shows correct item total, tax, and final total
    • Complete the purchase
  5. 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

Time Limit: deadline is October 9

    13 replies

    Ramanan
    Ace Pilot
    October 29, 2025

    Hi ​@NaveenKhunteta ,  ​@Mustafa  , ​@PolinaKr

    Thank you so much for hosting the session last week. I have submitted the challenge given by @NaveenKhunteta. Thank you, Naveen for sharing this awesome challenge. It was really a great learning while automating https://www.saucedemo.com website.

     

    My git repository url:

    https://github.com/AshwiniBhawar/SwagLabsAutomationChallenge

     

    Execution video-

    1)Suite Execution Video-

    https://drive.google.com/file/d/13FChnoGRt6arL7ww9iothOlT8GBV2uei/view?usp=sharing

     

    2)Allure Report Outcome Video-

    https://drive.google.com/file/d/1C-374CNQbOAe0rcPC27CmdFQFMn1anbK/view?usp=sharing

     

    Many Thanks

    Ashwini

    @bhawar.ashwini ,

    Congratulations, Ashwini! 🎉
    Great effort on the challenge. I did notice a few points from the original requirements — design decisions document — seemed to be missing.

    Just curious to understand how the evaluation was done. 🙂

    Hunt the bugs, ensure the hugs. Quality is everything.
    Chris Gafney
    Ensign
    October 29, 2025

    Hi ​@NaveenKhunteta ,  ​@Mustafa  , ​@PolinaKr

    Thank you so much for hosting the session last week. I have submitted the challenge given by @NaveenKhunteta. Thank you, Naveen for sharing this awesome challenge. It was really a great learning while automating https://www.saucedemo.com website.

     

    My git repository url:

    https://github.com/AshwiniBhawar/SwagLabsAutomationChallenge

     

    Execution video-

    1)Suite Execution Video-

    https://drive.google.com/file/d/13FChnoGRt6arL7ww9iothOlT8GBV2uei/view?usp=sharing

     

    2)Allure Report Outcome Video-

    https://drive.google.com/file/d/1C-374CNQbOAe0rcPC27CmdFQFMn1anbK/view?usp=sharing

     

    Many Thanks

    Ashwini



     

    Hey ​@bhawar.ashwini,
     

    Congratulations 🎉
    I couldn’t find the “Brief document explaining design decisions” mentioned in the challenge requirements was it included in your submission or missed by any chance?
     

    Best,
    Chris

    PolinaKr
    Community Manager
    October 29, 2025

    @Chris Gafney 
    @Ramanan 

    The winner was selected by Naveen based on the quality of performed work, and the decision will not be changed.

    We are kindly asking to respect the choice of the challenge host! 

     

    And may the quality be with you