PracticeQAAutomation logoPracticeQAAutomation

📘 Project KT · Automotive

🚘 AutoDrive

Car configurator & test drive

Complexity
Beginner
Screens
3
Scenarios
7
Test cases
14

1Business context

AutoDrive is a car configurator and test-drive booking site. Buyers configure trim, colour, wheels, interior and packages with live pricing (on-road = ex-showroom + 12%), save a configuration and book a test drive at a dealer.

Configure a car — trim, colour swatches that recolour an SVG preview, wheels, interior and option packs — with live ex-showroom and on-road pricing, a trim comparison, then book a test drive.

2Users & roles

  • 👤 Car buyer — configures, compares trims, saves and books a test drive

3Modules & screens

ScreenRouteWhat it does
Models/apps/autoModel list
Configurator/apps/auto/configure/[model]Trim, colour swatches, wheels, interior, packs, live price, compare, save
Test drive/apps/auto/test-driveDealer, day (Sundays closed), time, driver details, licence

4Main end-to-end journey

Configure, save and book test drive

  1. Configure Aero VX in Racing Red, 18" wheels, leather and Tech package
  2. Compare trims and close
  3. Save the configuration
  4. Book a test drive at Pune Baner on the first open day at 11:30 with licence ticked

Expected: Ex-showroom ₹9,27,000, on-road ₹10,38,240, a CFG- code, and a TD- confirmation

5Business rules & validations

  • Swatch stateBeginner

    color-* buttons are role=radio with aria-checked; car-preview's data-color matches the chosen hex.

  • SVG attributesIntermediate

    Changing wheels-* updates data-wheels on car-preview (and the wheel radius).

  • Price mathsIntermediate

    price-options sums colour, wheels, interior and packs; price-on-road = ex-showroom × 1.12.

  • Compare modalBeginner

    compare-trims opens trim-compare-table with one column per trim.

  • Save & carry overIntermediate

    save-config shows a CFG- code; the test-drive page shows the same code and price.

  • Test-drive validationIntermediate

    Missing dealer, day, time, bad phone or unticked has-licence each show error-*.

  • Disabled SundaysBeginner

    Pick the first enabled drive-day chip with :not([disabled]).

6Test data & credentials

URL
/apps/auto
On-road
ex-showroom + 12%
Dealers
closed Sundays
Prices
fictional

7Glossary

Ex-showroom
Base price before taxes and registration
On-road price
Ex-showroom + 12%
CFG / TD codes
Saved configuration id and test-drive confirmation id

8Watch-outs for automation

  • ⚠️Colour swatches are role=radio with aria-checked
  • ⚠️The car preview is an SVG whose data attributes change
  • ⚠️Pick an enabled drive day with :not([disabled])

9Suggested test strategy

1 · Smoke

2

P1 positive and end-to-end cases — run on every build.

2 · Regression

14

All cases, incl. 4 negative and 2 edge — run before release.

3 · End-to-end

3

Full user journeys — run nightly.

Start with these smoke cases

  • AUTODRIVE-01 — Configure and book a test drive
  • AUTODRIVE-E2E-01 — Configure, save and book test drive