AI QA Bootcamp · Pro

Day 20 · Data-driven tests

🎫 QA-120Week 4 · Day 20⏱ 90 minutesPriority: Medium

From: Priya, QA Lead

Advertisement

We designed coupon and validation cases in Week 2. Automate them data-driven: the cases live in data files, one test per row, so anyone can add a case without touching code. Start with coupons and the checkout Contact step.

Data-driven tests turn your Week 2 design work into automation that scales. The AI is great at the loop — and careless with the data: expected values it calculated wrongly, rows the UI cannot reach, and characters that look the same but are not. Today the app decides every expected value.

📦 What you will deliver today
  • automation/data/coupons.json and automation/data/contact.json.
  • automation/tests/coupons.spec.ts and automation/tests/contact-validation.spec.ts — one test per row, all green.

🔒 The rest of this mission is part of SQA Tools Pro

Step-by-step prompts for ChatGPT, Claude and Gemini, the “Catch the AI” traps, the acceptance checklist, the reference solution and your interview line.

Start your 7-day free Pro trial See plans

New accounts get every Pro feature free for 7 days — no card needed.