test cases for amazon

50+ Test Cases for Amazon-Like Website: From Login to Checkout

Testing an Amazon-like eCommerce platform is not a checkbox exercise. One broken payment flow, a cart that silently drops a promo code, or a session that doesn't expire is a production failure waiting for the right user. This post gives you 75+ Amazon test cases across every critical module, from login to order confirmation.
Jul 10, 20268 min read
Get a Demo
blog_image

TABLE OF CONTENT

Start your AI testing pilotGenerate, run, and maintain tests across your CI/CD workflow with less manual effort

SHARE THIS ARTICLE

Your checkout flow works perfectly in staging.

Then a user enters an expired promo code during a flash sale, the cart silently fails to update, and they abandon. You never see the error. Your team never filed the bug. That’s a test coverage problem, not a code problem.

Overview

75+ test cases across 9 modules – login, search, cart, checkout, payment, orders, security, performance, and mobile.

Selenium automation guidance – the flows to script first and why raw Selenium breaks at scale.

Manual vs automated comparison – time, cost, and coverage across every testing dimension.

BotGauge AQaaS – how teams recover 20–30 engineering hours per sprint by automating the full suite.

A free template of the Amazon test cases, pre-built with every scenario from login to order confirmation, priority tags, status tracking.

This post gives you 75+ Amazon test cases across every module that touches revenue: login, search, cart, checkout, payment, order management, security, and performance. And how to automate all of it, so your team stops re-running the same flows before every release.

What Is a Test Plan for Amazon Website?

Before you write a single test case, you need a test plan. A test plan for an Amazon-like website defines:

  • Scope – which modules are in scope (login, cart, payments, order history, etc.)
  • Test types – functional, regression, security, performance, usability
  • Priority – which flows block revenue if they break
  • Environment – browsers, devices, operating systems
  • Entry/exit criteria – when testing starts and when it’s done 
  • Automation strategy – which tests run manually vs. on every build

For any Amazon-like eCommerce platform, the minimum test scope looks like this:

ModulePriority
Login & Registration🔴 Critical
Product Search & Filtering🔴 Critical
Product Detail Page🟡 High
Shopping Cart🔴 Critical
Checkout & Payment🔴 Critical
Order Management🟡 High
Security & Access Control🔴 Critical
Performance & Load🟡 High
Mobile & Cross-Browser🟡 High
Accessibility🟢 Medium

Why Amazon-level Testing Is Harder Than It Looks

A few things make eCommerce platforms genuinely difficult to test well.

  • Dynamic personalization – Recommendations, pricing, and offers change per user. Static test data doesn’t cover it.
  • Third-party integrations – Payment gateways, logistics APIs, inventory systems. Each one is its own failure point.
  • Continuous deployment – New features ship weekly. Every release risks breaking something that worked last sprint.
  • Cross-device complexity: The same checkout flow must work on a 2019 Android phone and a 2026 MacBook running Safari.
  • High-volume edge cases – Flash sales, coupon stacking, concurrent cart updates. These happen rarely in testing and constantly in production.
  • One broken payment flow during a sale is a direct hit on revenue. A missed test case is what gets you there.

See how autonomous QA runs your eCommerce test suite in under 30 minutes

75+ Test Cases for Amazon Website

Testing an eCommerce platform like Amazon requires validating every step of the customer journey from product discovery to checkout, payments, order tracking, returns, and account management. The following 75+ test cases for the Amazon website cover the most critical functional, usability, security, and edge-case scenarios to help QA teams build comprehensive test coverage for Amazon-like shopping applications.

Amazon test cases

Amazon Login Page Test Cases

Login is the entry point to every authenticated flow. Bugs here lock users out or, worse, let the wrong user in.

Functional Login Test Cases

TC IDTest caseInputExpected result
TC_LOGIN_01Login with valid credentialsCorrect email + passwordDashboard loads, session starts
TC_LOGIN_02Login with wrong passwordCorrect email + wrong passwordGeneric error shown, no session
TC_LOGIN_03Login with unregistered emailUnknown email + any passwordGeneric error – no account hint
TC_LOGIN_04Login with empty emailBlank email fieldInline validation error
TC_LOGIN_05Login with empty passwordBlank password fieldInline validation error
TC_LOGIN_06Login with both fields emptySubmit blank formBoth fields flagged
TC_LOGIN_07Forgot password – valid emailRegistered emailReset link or OTP sent
TC_LOGIN_08Forgot password – invalid emailUnregistered emailGeneric message – no account disclosure
TC_LOGIN_09Account lockout after 5 failed attempts5 wrong passwords in sequenceAccount temporarily locked
TC_LOGIN_10Login after lockout cooldownWait, then retryLogin succeeds with correct credentials
TC_LOGIN_11Session persistence – same browserLogin, close tab, reopenSession active, no re-login needed
TC_LOGIN_12Session timeout on inactivityLogin, idle 20 minutesSession expires, redirect to login
TC_LOGIN_13Password visibility toggleClick eye iconCharacters revealed/hidden correctly
TC_LOGIN_14Password strength indicatorType weak → strong passwordIndicator updates in real-time
TC_LOGIN_15Email format validationEnter “test@” or “user@domain”Inline error, form not submitted

Watch TC_LOGIN_03 closely. If the error says “email not found” instead of a generic message, you’ve disclosed account existence to anyone probing the login form. That’s a security gap, not a UX issue.

Registration Test Cases

TC IDTest caseInputExpected result
TC_REG_01Register with all valid fieldsValid name, email, phone, strong passwordAccount created, OTP sent
TC_REG_02Register with duplicate emailAlready-registered emailError: “Account already exists”
TC_REG_03Register with weak password“123” or “abc”Strength error, form blocked
TC_REG_04OTP expiry checkSubmit OTP after window closesRejected, prompt to resend
TC_REG_05OTP resend rate limitingClick resend 5 times quicklyThrottled or blocked
TC_REG_06Register with invalid phoneLetters in phone fieldInline error, no submission
TC_REG_07Password reuse preventionReuse last password on resetError: can’t reuse recent passwords

See BotGauge run your full eCommerce test suite, from login to order confirmation

Amazon Product Search & Filtering Test Cases

Search drives discovery. A filter that returns out-of-range products, or a search that breaks on a <script> tag, kills conversions before the cart is ever touched.

TC IDTest caseInputExpected result
TC_SEARCH_01Search by exact product name“Apple iPhone 15”Matching product in results
TC_SEARCH_02Search with partial keyword“iPhon”Relevant results shown
TC_SEARCH_03Autocomplete suggestionsType “sam”Dropdown with matching suggestions
TC_SEARCH_04Search with blank inputPress Enter, empty fieldError or “enter a search term”
TC_SEARCH_05Search with special characters“!@#$” or <script>Input sanitized, no crash
TC_SEARCH_06Search with no results“xyznonexistentproduct123”“No results found” – page intact
TC_SEARCH_07Filter by price range$50 – $100Only in-range products shown
TC_SEARCH_08Filter by brandSelect “Samsung”Only Samsung products
TC_SEARCH_09Filter by rating4 ⭐️ and aboveSub-4 ⭐️ products excluded
TC_SEARCH_10Combine multiple filtersBrand + Rating + PriceAll 3 applied simultaneously
TC_SEARCH_11Clear all filtersClick “Clear All”Unfiltered results restored
TC_SEARCH_12Sort: price low to highApply sortAscending price order
TC_SEARCH_13Sort: price high to lowApply sortDescending price order
TC_SEARCH_14Sort: customer ratingsApply sortHighest-rated appear first
TC_SEARCH_15PaginationClick page 2, then 3Correct products per page
TC_SEARCH_16Infinite scrollScroll to bottomNext batch loads without reload
TC_SEARCH_17Filter persistence on sort changeApply filter → change sortFilter survives the sort change

Amazon Shopping Cart Test Cases

The cart is where intent becomes a purchase. Every bug here is a revenue leak.

TC IDTest caseInputExpected result
TC_CART_01Add single itemClick “Add to Cart”Item in cart with correct price
TC_CART_02Add 3 different itemsAdd product A, B, CAll 3 appear in cart
TC_CART_03Add same item twiceAdd product → add againQuantity becomes 2
TC_CART_04Increase quantityChange quantity 1 → 3Subtotal updates correctly
TC_CART_05Decrease quantityChange quantity 3 → 1Subtotal recalculates
TC_CART_06Decrease quantity below 1Set quantity to 0Item removed or quantity blocked at 1
TC_CART_07Remove itemClick “Remove”Item gone, total updates
TC_CART_08Empty cart stateRemove all items“Your cart is empty” shown
TC_CART_09Add out-of-stock productTry adding unavailable item“Add to Cart” disabled
TC_CART_10Subtotal accuracyAdd items with known pricesSubtotal = sum of all items
TC_CART_11Apply valid promo codeEnter working couponDiscount applied, new total shown
TC_CART_12Apply expired promo codeEnter expired code“Code expired or invalid”
TC_CART_13Apply fake promo codeRandom string“Invalid code”
TC_CART_14Cart persistence – logged inAdd item → logout → loginCart items retained
TC_CART_15Cart persistence – guest to loginAdd as guest → log inCart merges with existing items
TC_CART_16Cart sync across devicesAdd on desktop → open on mobileSame cart on mobile
TC_CART_17Save for laterMove item to “Saved for Later”Item leaves active cart
TC_CART_18Move saved item backClick “Move to Cart”Item back in active cart
TC_CART_19Tax accuracy in cartCheck total vs. expectedTax correct by region
TC_CART_20Quantity exceeds stockSet quantity above stock limitError or quantity capped

Note: Test cases for Amazon website in Excel. Ready-to-use template

Download the free Amazon test case template, pre-built with every scenario from login to order confirmation, priority tags, and status tracking

Amazon Checkout & Payment Test Cases

Checkout is the most frequently broken module in any eCommerce platform. Test it harder than anything else.

Shipping Address Test Cases

TC IDTest caseInputExpected result
TC_ADDR_01Add valid shipping addressComplete address formSaved, proceed to payment
TC_ADDR_02Submit empty required fieldsLeave name/pincode blankField-level errors, no progression
TC_ADDR_03Invalid pincode3-digit or alphabetic pincodeInline validation error
TC_ADDR_04Select saved addressChoose from address bookAuto-fills correctly
TC_ADDR_05Add new address during checkoutClick “Add New Address”Form opens, saves correctly
TC_ADDR_06Same billing and shippingCheck “Use same address”Billing pre-filled
TC_ADDR_07Edit existing addressChange street nameUpdated address saved
TC_ADDR_08Delete saved addressRemove from bookRemoved, no orphan records

Payment Test Cases

TC IDTest caseInputExpected result
TC_PAY_01Pay with valid credit cardCorrect card detailsOrder placed, confirmation shown
TC_PAY_02Pay with expired cardPast expiry datePayment rejected, clear error
TC_PAY_03Pay with invalid card numberRandom 16 digitsValidation error before gateway call
TC_PAY_04Pay with wrong CVVCorrect card, wrong CVVPayment fails, no order created
TC_PAY_05Cash on delivery (COD)Select CODOrder placed, COD confirmation shown
TC_PAY_06UPI paymentValid UPI IDRedirected to UPI app, payment completes
TC_PAY_07Payment gateway failureTrigger test failureError shown, retry option offered
TC_PAY_08Cancel payment mid-processClick Cancel at gatewayNo order created, cart intact
TC_PAY_09Retry after failed paymentFirst fails → retryOrder placed on second attempt
TC_PAY_10Double-click “Place Order”Rapid double-click on submitOnly 1 order created
TC_PAY_11Order confirmation screenComplete paymentOrder ID, summary, ETA displayed
TC_PAY_12Order confirmation email/SMSComplete paymentEmail and SMS within 2 minutes
TC_PAY_13Apply coupon at checkoutValid code at payment stepDiscount in final total
TC_PAY_14Final order summary accuracyReview before paymentItems + tax + shipping = correct total
TC_PAY_15Saved payment methodSelect stored cardPre-filled, needs CVV only

TC_PAY_10 is one of the most commonly skipped test cases. A double-click on “Place Order” on a slow network creates 2 orders – double charge, double fulfillment. It’s an ops nightmare that shows up after a sale weekend, not during testing.

Amazon App Test Cases (mobile-specific)

Statista report shows that mobile devices account for over 77% of eCommerce traffic. These scenarios are specific to app behavior – they won’t surface in desktop testing.

TC IDTest caseExpected result
TC_APP_01App launch timeFully loaded within 3 seconds
TC_APP_02Portrait to landscape switchLayout adjusts cleanly, nothing cut off
TC_APP_03Search via mobile keyboardNative keyboard opens, input accepted
TC_APP_04Add to cart on mobileCart updates, mini-cart shown
TC_APP_05Checkout on 360px screenAll fields visible and tappable
TC_APP_06Payment on mobileGateway loads within app
TC_APP_07Push notification on order updateNotification delivered and tappable
TC_APP_08Low network behavior (2G)Graceful loading or offline message
TC_APP_09WiFi to 4G switch mid-sessionNo crash, session maintained
TC_APP_10Biometric loginFingerprint/FaceID succeeds
TC_APP_11Deep link to productProduct page loads correctly in app
TC_APP_12Back button in checkoutReturns to previous step, data intact

Order Management Test Cases

TC IDTest caseExpected result
TC_ORD_01View order historyAll past orders listed with status
TC_ORD_02View order detailsItem, price, address, tracking visible
TC_ORD_03Cancel before dispatchCancellation accepted, refund triggered
TC_ORD_04Cancel after dispatchBlocked or returns flow initiated
TC_ORD_05Track shipmentReal-time status, tracking number visible
TC_ORD_06Initiate return/refundForm submits, RMA generated
TC_ORD_07Download invoicePDF opens on all browsers
TC_ORD_08Reorder from historyItems added to cart from past order
TC_ORD_09Order status email updatesShipped/delivered emails arrive correctly
TC_ORD_10Review after deliveryReview form accessible, submits correctly

Security Test Cases for Amazon Website

Security bugs on eCommerce platforms aren’t just bugs – they’re legal exposure. These test cases run on every release, no exceptions.

TC IDTest caseExpected result
TC_SEC_01XSS in search bar<script>alert(1)</script> – no execution
TC_SEC_02XSS in review/comment fieldsInput stripped or rejected
TC_SEC_03SQL injection in login‘ OR 1=1 — – auth fails, no DB error exposed
TC_SEC_04Access another user’s account via URL403 or redirect to own dashboard
TC_SEC_05Access /admin as regular userAccess denied, redirect
TC_SEC_06HTTPS on all pagesEvery URL uses HTTPS
TC_SEC_07Cookie securityCookies flagged Secure + HttpOnly
TC_SEC_08Brute force on loginCAPTCHA or lockout after 10 attempts
TC_SEC_09CSRF on cart/order actionsCross-origin POST rejected
TC_SEC_10Session invalidation on logoutPasting previous URL → redirect to login
TC_SEC_11Sensitive data absent from URLCard numbers, passwords not in query string
TC_SEC_12Password not in page sourceDOM inspection shows no plain-text value

Performance Test Cases

TC IDTest casePass criteria
TC_PERF_01Homepage loadUnder 3 seconds
TC_PERF_02Search result responseResults within 1 second
TC_PERF_03Product page loadUnder 2 seconds including images
TC_PERF_04Cart update responseQuantity/remove within 500ms
TC_PERF_05Checkout page loadPayment page under 3 seconds
TC_PERF_061,000 concurrent usersNo crash
TC_PERF_07Flash sale: 5,000 users add same product simultaneouslyNo oversell, no crash
TC_PERF_08API response timeBackend calls under 200ms
TC_PERF_09Image loadingLazy loading confirmed
TC_PERF_1030-minute sessionNo memory leak, no UI degradation

Selenium Test Cases for Amazon: What to Automate First

If you’re using Selenium for eCommerce automation, start with these 6 flows. They cover the highest revenue risk and give you the fastest payback on scripting time.

1. Login flow – Automate valid login, invalid credentials, lockout. Every authenticated test depends on this working.

2. Search and filter – Run the same search with hundreds of keyword inputs. Catch edge cases that manual testing misses by volume alone.

3. Add to cart + quantity update – Add a product, change quantity, verify subtotal. Core revenue flow – run it on every build.

4. Checkout end-to-end – Add item → address → payment → confirmation. This catches integration failures across every module at once.

5. Promo code validation – Valid, expired, fake codes. Coupon logic breaks silently. Automation catches it before a user does.

6. Order confirmation – Verify order ID, email dispatch, order in history. Confirms your back-end and email service are talking.

Recommended Selenium setup:

  • Framework: Page Object Model (POM)
  • Language: Java + TestNG or Python + pytest
  • CI/CD: Jenkins or GitHub Actions
  • Parallel runs across browsers and devices

One honest problem with raw Selenium: it’s brittle. A changed button ID, a renamed CSS class, a layout shift – your suite breaks. Maintaining it for a large eCommerce platform is practically a full-time role. BotGauge handles that maintenance automatically using a robust self-healing engine.

Your QA team shouldn't spend sprint week running cart and checkout tests by hand.

Manual Vs Automated Amazon Test Cases

CriteriaManualBotGauge
Full run of 75 cases8-12 hoursUnder 30 minutes
Human error rateHigh – fatigue sets in around test 40Zero
Regression on every buildNot feasibleRuns by default
Cart + checkout combo testsSkipped under deadline pressureAlways run
Mobile + cross-browserHours of parallel effortParallelized
After a UI changeManual reworkSelf-healing
Security test runsSkipped in most manual cyclesScripted, repeatable
CI/CDNot possibleNative
ReportingSpreadsheetsAutomated pass/fail with coverage
Cost at scaleGrows every sprintFixed

How to Test an Amazon Website: Step-by-Step

  • Step 1 – Define scope

List every module. Rank by revenue impact: login → search → cart → checkout → payment.

  • Step 2 – Write test cases per module

Cover positive, negative, and boundary scenarios. Use the tables above as your base.

  • Step 3 – Set up your environment

Configure test accounts, sandbox payment gateways, mock inventory states: in-stock, out-of-stock, low-stock.

  • Step 4 – Run functional tests first

Confirm the happy path works end-to-end before testing edge cases.

  • Step 5 – Run negative and boundary tests

Invalid inputs, expired coupons, failed payments, concurrent cart updates.

  • Step 6 – Run security tests

XSS, SQLi, session hijacking, HTTPS. Do this in staging – never production.

  • Step 7 – Run cross-device tests

Chrome, Firefox, Safari, Edge. iOS and Android. At 360px, 768px, and 1440px.

  • Step 8 – Run performance tests

Simulate load. Find bottlenecks before they become incidents.

  • Step 9 – Automate what repeats

Everything in steps 4-7 that runs on every build should be automated. Manual testing stays for exploratory work and UX judgment calls.

  • Step 10 – Connect to CI/CD

Every code push triggers the suite. Failing tests block the release.

How BotGauge Automates Amazon Test Cases

Manually creating and maintaining test cases for a complex shopping platform is slow and difficult to scale. BotGauge eliminates scripting by using AI agents to understand user flows, generate comprehensive test scenarios, execute them across critical shopping journeys, and adapt automatically as the application evolves. This helps engineering teams achieve faster, more reliable test coverage with minimal maintenance.

The Autonomous QA as a Solution model combines AI agents with domain-specialized QA experts to own your testing outcomes end-to-end. Our AI agents generate, execute, and maintain your test suite, while human QA experts validate coverage, refine edge cases, and continuously improve quality, eliminating manual test creation and maintenance without compromising reliability.

Here’s what that looks like:

  • AI-generated test cases – Describe your login flow, cart behavior, or checkout steps in plain English. BotGauge writes the test cases and automation scripts.
  • Autonomous execution – Tests run on every commit. No trigger, no scheduled runs, no missed cycles the day before a release.
  • Self-healing – When your cart button changes or the checkout layout shifts, BotGauge updates the test. No broken backlog, no maintenance sprint.
  • E2E coverage – Login → search → cart → checkout → payment → order confirmation. One suite, full journey.
  • Dedicated FDE pod – Our domain-specialized QA experts review coverage, catch edge cases the AI misses, and validate security and UX scenarios.
  • CI/CD ready – Plug BotGauge directly into your current DevOps and CI/CD pipeline.

80% test coverage guaranteed in 2 weeks. Zero setup. Zero scripting.

Conclusion

eCommerce bugs don’t announce themselves. A cart that silently drops a promo. A retry that creates 2 orders. A session that never expires. A filter that shows out-of-range prices. These show up in revenue dashboards and customer complaints – not in your error logs. BotGauge handles the repetitive work. Your team focuses on the testing that actually needs a human.

Frequently Asked Questions

What are Amazon test cases in software testing?
Amazon test cases are structured test scenarios that verify every function of an Amazon-like eCommerce platform – login, search, cart, checkout, payment, order management, security, performance. Each case defines the input, the steps, and the expected result.
What are the most critical Amazon test cases?
These are the five most critical Amazon test cases that should be a part of everyday regression: Login with invalid credentials – confirm no account disclosure Add to cart + checkout end-to-end – confirm the full purchase flow works Payment failure and retry – confirm no duplicate orders Promo code logic – valid, expired, stacked Session hijacking – user A can’t access user B’s account.
How do you write Amazon login page test cases?
Cover valid login, wrong password, unregistered email, blank fields, account lockout, forgot password, OTP expiry, session timeout, and Amazon’s current two-step flow (email first, then password on a separate screen). Use generic error messages throughout – never reveal which field is wrong.
What are Amazon shopping cart test cases?
Adding single and multiple products, quantity updates and limits, item removal, empty cart state, promo code application (valid, expired, fake), cart persistence after logout/login, cart sync across devices, out-of-stock prevention, and subtotal accuracy with tax by region.
How do I automate Amazon test cases with Selenium?
Use Page Object Model for maintainability. Java + TestNG or Python + pytest. Explicit waits for dynamic elements. Parameterized data for search and filter. Jenkins or GitHub Actions for CI/CD. For tests that don’t break when the UI changes, Botgauge handles that layer on top.
What's the difference between web and app Amazon test cases?
Web test cases cover cross-browser compatibility, responsive layouts, and keyboard navigation. App test cases add: launch time, portrait/landscape switching, native keyboard input, push notifications, biometric login, deep links, back button in checkout, and behavior on 2G or mid-session network switches.
Yamini Priya J

About the Author

Yamini Priya J

A content marketer who started out writing code and found my way into brand strategy. Seven years into marketing, I still think like a developer. I break the problem down, find the logic, then tell the story clearly. I write for tech companies whose audiences know their stuff, and so do I. Still powered by coffee ☕️

Autonomous Testing for Modern Engineering Teams