Interview questions

QA Engineer Interview Questions & Answers

Fifteen questions a hiring manager actually asks a QA Engineer — technical and behavioral — each with why they ask it and a strong, specific sample answer. Plus how to prepare, the red flags that sink candidates, and the questions to ask back.

By Diane Pruett, Lead Career Strategist · Updated June 27, 2026 · ~12 min read

Short version: A QA Engineer interview tests four things — test-design thinking (can you find the bugs that matter with finite time), automation and engineering skill (can you build a stable suite, not just click through a UI), quality judgment (severity vs. priority, when to block a release, bug advocacy), and collaboration (do you work with developers or against them). Expect a recruiter screen, a test-design or "how would you test this" round, often a coding or automation exercise, and a behavioral panel. Below are 15 real questions with sample answers — and if you'd rather have a strategist run mock interviews with you, that's exactly what our Executive interview prep does.

What a QA Engineer interview tests & how the rounds work

A QA Engineer interview is not a quiz on whether you can name a testing type — it's a test of whether you can be trusted to protect a release. Interviewers probe four things, and nearly every question maps to one: test-design thinking, because the job is finding the defects that matter when you can't possibly test everything; automation and engineering skill, since modern QA writes code, builds frameworks, and lives in the CI pipeline rather than running manual scripts by hand; quality judgment, the ability to separate severity from priority, advocate for a bug, and know when a defect should actually block a ship; and collaboration, because a QA engineer who throws bugs over the wall is far less valuable than one who shifts testing left and partners with developers to prevent defects in the first place.

The process usually runs in three or four stages, lighter for a manual or analyst role and heavier for an SDET (software development engineer in test) position:

  • Recruiter or HR screen (25–30 min). Motivation, background, the kinds of products you've tested, your automation stack, and a gut-check that the experience on your résumé is real — high on fit, light on technical depth.
  • Test-design / "how would you test this" round. They hand you a feature — a login form, a vending machine, an elevator, an API — and watch how you generate cases: functional, boundary, negative, edge, security, performance, accessibility. This is the heart of the QA loop.
  • Coding or automation exercise (often, especially for SDET). Write a function and its tests, automate a UI flow with Selenium, Cypress, or Playwright, validate an API, or debug a flaky test. They want to see clean, maintainable test code — not just green checkmarks.
  • Behavioral / hiring-manager panel. STAR questions on a bug you caught, a release you pushed back on, a disagreement with a developer, and how you improved a process — usually with the QA lead or engineering manager who owns the role.

The questions below are grouped the way they're tested: technical first, then behavioral. For the behavioral ones, use the STAR method — Situation, Task, Action, Result — so you tell a tight, specific story instead of speaking in generalities.

Technical & role-specific questions

Test design

1. How do you decide what to test when you can't test everything?

Why they ask: The single most important QA skill. They want risk-based prioritization, not "I'd test all of it" — which is impossible and signals you don't understand the constraint.

"You can never test everything — the input space is effectively infinite — so I test by risk, not by exhaustion. I weight each area by two factors: the probability it breaks and the cost if it does. A rarely used admin export failing is annoying; a checkout flow or an auth boundary failing is a business incident, so those get the deepest coverage. I use equivalence partitioning and boundary-value analysis to collapse huge input ranges into a handful of representative cases — one valid case per partition plus the edges, zero, negative, max, and the off-by-one around limits. I also let the data guide me: where defects clustered historically, what changed in this release, and the most-used paths in production. The goal is the highest defect-detection per hour, with the riskiest things covered first so that if I run out of time, I've already protected what matters most."

"How would you test this"

2. How would you test a login page?

Why they ask: The classic open-ended test-design prompt. They're watching whether you go beyond the happy path into negative, security, and edge cases in a structured way.

"I'd structure it in layers rather than listing random cases. Functional: valid credentials log in, the right landing page loads, 'remember me' and logout work. Negative: wrong password, nonexistent user, empty fields, and clear, non-revealing error messages. Boundary & input validation: max-length fields, leading/trailing spaces, Unicode and emoji, SQL-injection and XSS payloads in the inputs. Security: credentials sent over HTTPS, password masked and not logged, rate-limiting and account lockout after repeated failures, session expiry and token handling. UX & accessibility: tab order, screen-reader labels, error focus, and the form working on mobile. Cross-environment: the major browsers and devices. I'd start by asking clarifying questions — is there SSO, 2FA, a password-reset flow? — because half the value here is showing I scope before I test."

Automation strategy

3. Explain the test pyramid and how you'd structure a suite.

Why they ask: Tests whether you understand automation economics. Many candidates over-invest in slow, brittle UI tests; they want someone who knows where coverage belongs.

"The test pyramid says: many fast unit tests at the base, fewer integration and API tests in the middle, and a thin layer of end-to-end UI tests at the top. The reason is economics and stability — unit tests run in milliseconds, pinpoint the failure, and rarely flake; end-to-end tests are slow, brittle, and tell you that something broke without telling you where. The anti-pattern is the inverted 'ice-cream cone' of mostly UI tests: a slow suite that fails for reasons unrelated to real bugs until everyone stops trusting it. So I push coverage as low as it can meaningfully live — business logic to unit tests, service contracts to API and integration tests — and reserve end-to-end for a small set of critical journeys like sign-up, checkout, and login. I'd rather have fifteen rock-solid end-to-end tests that gate a release than two hundred flaky ones everyone ignores."

Concepts

4. What's the difference between severity and priority?

Why they ask: A fast check on quality judgment. Confusing the two is the mark of someone who can't help a team triage, which is half the job.

"Severity is how bad the defect is technically — its impact on the system if it occurs. Priority is how urgently it needs to be fixed from a business standpoint. They're independent axes. A crash on a core flow is high severity, high priority. A misspelled word in the company logo on the homepage is low severity but high priority — trivial technically, but embarrassing enough to fix now. A data-corruption bug that only triggers on a deprecated path used by two internal users is high severity, low priority. And a cosmetic misalignment on a rarely seen settings page is low on both. I always set them separately in a bug report, because collapsing them into one number is exactly what makes triage meetings go sideways."

Automation · Debugging

5. A test passes locally but fails intermittently in CI. How do you handle the flaky test?

Why they ask: Flaky tests are the daily reality of any automation suite. They want to see you diagnose root cause, not slap a retry on it and move on.

"First, I don't just add a retry — a retried flaky test still hides a real signal. I treat flakiness as a defect in the test or the system. I reproduce by running it in a loop and check the usual culprits: timing and race conditions where the test asserts before the app is ready, hard-coded sleeps instead of waiting on a condition, shared or unclean state between tests, test-order dependency, and time-zone or environment differences between local and CI. The fix is almost always to replace fixed sleeps with explicit waits on the actual condition, isolate test data so tests don't collide, and make each test set up and tear down its own state. If I can't fix it immediately, I quarantine it out of the gating suite and file a ticket — but quarantine is a holding pen with a deadline, not a graveyard. And sometimes the flakiness is exposing a genuine race condition in the product, which is the most valuable bug the test will ever find."

API & integration

6. How do you test a REST API?

Why they ask: Modern QA tests below the UI. They want to know you can validate contracts, status codes, and edge cases with tools or code rather than only clicking through a front end.

"I test an API independently of any UI, because that's where the contract lives. For each endpoint I verify the happy path — correct status code (200, 201), response schema, and body — then the error paths: 400 for bad input, 401/403 for auth and permission boundaries, 404 for missing resources, 422 for validation. I check data validation at the boundaries: required fields, type mismatches, max lengths, and injection payloads. I test idempotency for PUT and DELETE, pagination and filtering on collection endpoints, and auth — that a token from one user can't read another user's data. I'll automate these with Postman/Newman or a code-based approach like REST Assured or pytest with requests, and wire them into CI. I also do contract testing between services so a backend change that breaks the schema fails fast, before it reaches a slow end-to-end test."

Bug reporting

7. How do you write a bug report that actually gets fixed?

Why they ask: A bug nobody can reproduce is a bug nobody fixes. This tests communication and bug advocacy — turning a finding into action.

"A good report makes the developer's life easy and removes every reason to send it back. I lead with a clear, specific title capturing the symptom, then exact reproduction steps anyone can follow, expected vs. actual, and the environment — build, browser/device, OS, and the data or account state. I attach evidence: a screenshot, a screen recording for anything timing-related, and the relevant logs, console errors, or network responses. I set severity and priority separately, because a typo is low severity even if visible, while silent data corruption is critical even if rare. And I practice bug advocacy — I frame the impact in terms of the user and the business, not just 'this looks wrong,' so the team prioritizes correctly. The test of a good report is that a developer can reproduce it in one read without pinging me back."

Regression · CI/CD

8. What's your regression strategy, and where does QA fit in CI/CD?

Why they ask: They need someone who keeps a fast-moving pipeline safe. Re-running everything by hand doesn't scale, so they want a smart, automated approach.

"Regression testing confirms that new changes didn't break existing behavior. I don't re-run everything by hand every release — I maintain an automated regression suite covering the critical paths and high-risk areas, and I use risk-based selection to add targeted coverage around whatever changed in a given release. In CI/CD, I shift testing left: fast unit and API tests run on every pull request and block the merge if they fail; a smoke suite of critical journeys runs on every deploy to staging; and the full regression and end-to-end suite runs nightly or pre-release so it never blocks fast feedback. I gate releases on the right layer — you don't want a thirty-minute end-to-end run on every commit. I also watch for test coverage and pass-rate trends over time so the suite stays meaningful instead of decaying into noise."

Coverage · Judgment

9. If a developer says "it works on my machine," and you've found a bug, what do you do?

Why they ask: A judgment-and-collaboration check disguised as a technical one. They want rigor in isolating the variable, not a standoff.

"'Works on my machine' usually means an environment difference, so I make the bug undeniable by isolating the variable. I confirm exact reproduction steps, capture the full environment — build version, browser/OS, feature flags, config, and the specific data — and grab logs, console output, and network traces. Then I sit with the developer and reproduce it together, or hand them a recording plus a minimal repro so the gap between our setups becomes obvious. Often it's a difference in data, a stale cache, a config value, or a flag that's on in staging and off locally. I treat it as a shared problem to solve, not a 'you're wrong' moment — the goal is the same on both sides, which is shipping something that works for the user, not just on one laptop."

Behavioral questions (use STAR)

For each of these, structure your story as Situation → Task → Action → Result. Keep the Situation short, spend most of your words on the Action, and always land a concrete, ideally quantified Result. For more depth see our guide to behavioral interview questions.

Behavioral · Impact

10. Tell me about the most important bug you ever caught.

Why they ask: Quality is the whole job. They want proof you find bugs that matter — and understand why they mattered to the business.

S/T: "Before a release, I was testing a new discount-code feature and needed to confirm it was safe to ship. A: Beyond the happy path, I tested concurrency — what happens when two users redeem a single-use code at the same instant. The code had a race condition: under simultaneous requests it could be redeemed twice, which on a high-value promotion would have meant uncapped, stackable discounts. I reproduced it reliably with a parallel-request script, filed a high-severity report with the repro, and flagged the revenue exposure rather than just logging a defect. R: The team added a database-level lock on redemption, we verified the fix under load, and we shipped on schedule. The bug never reached production, where it would have been a direct, unbounded revenue loss the moment the promo went viral."

Behavioral · Judgment

11. Tell me about a time you advocated against shipping something on time.

Why they ask: They want to see you hold the quality line responsibly — quantifying risk and offering options, not just blocking the train.

S/T: "During a release-readiness review, regression testing surfaced a currency-rounding bug that silently under-charged a small subset of orders, and the team was under pressure to ship that day. A: I made the risk legible instead of saying 'it feels risky' — I showed how many order types hit the path, the dollar exposure per occurrence, and that it produced wrong financial data silently rather than failing loudly. I proposed two options: a one-day slip to fix it, or shipping with that one payment path feature-flagged off, so leadership had a real decision rather than a veto. R: We flagged the path off, shipped the rest on time, and patched the bug the next day. We hit the date on everything safe and protected the revenue — and the PM said the framing of options made it an easy call instead of a fight."

Behavioral · Collaboration

12. Describe a disagreement with a developer about whether something was a bug.

Why they ask: QA lives at a natural friction point. They want someone who resolves it with evidence and the spec, not ego.

S/T: "I filed a defect on a form that accepted a future date in a 'date of birth' field; the developer pushed back that it wasn't in the requirements. A: Rather than argue it as opinion, I went to the source — the acceptance criteria were silent on it, so I reframed it around the user and the data, showing it let through obviously invalid records that would pollute downstream reporting. I pulled in the product owner to make the ruling instead of forcing my view, and I proposed a concrete fix: validate the field against today's date with a clear error. R: The PO agreed it was a real defect, we added the validation and an acceptance criterion so the ambiguity wouldn't recur, and the developer and I ended up tightening the rest of the form's validation together. Disagreeing about the spec turned into improving it."

Behavioral · Initiative

13. Tell me about a time you improved a testing process or built automation from scratch.

Why they ask: Manual-only QA doesn't scale. They want initiative and an eye for where time and risk hide — the SDET mindset.

S/T: "Our regression pass was fully manual — roughly two days of click-through every release, which slowed shipping and missed things when people rushed. A: I built an automated suite for the critical user journeys using Playwright, started at the top of the risk list, and used the page-object model so the tests stayed maintainable as the UI changed. I wired it into the CI pipeline to run on every deploy to staging and added clear failure reporting so a red build pointed to the exact step. I documented it so the team could extend it without me. R: The regression cycle dropped from about two days to under thirty minutes, we caught several regressions before release that the manual pass had been missing, and it freed the team to spend manual effort on exploratory testing where humans actually add value."

Behavioral · Pressure

14. Tell me about a bug that escaped to production. What did you do?

Why they ask: The accountability question. They want ownership and a systemic fix — not blame, and not pretending it never happens.

S/T: "A defect slipped past us into production where a specific timezone caused a scheduling feature to display the wrong day for some users. A: I didn't hunt for who to blame. I helped reproduce and confirm it fast so engineering could hotfix, then I led a blameless retro to find why our testing missed it. The root cause was that our test data and CI all ran in one timezone, so the class of bug was invisible to us. I added timezone-boundary cases to the regression suite, parameterized the relevant tests to run across multiple timezones in CI, and added a checklist item for any date/time feature. R: The fix shipped within hours, and more importantly, we never shipped a timezone bug of that class again because the gap that let it through was closed, not just the single instance."

Behavioral · Motivation

15. Why QA — and why this role specifically?

Why they ask: Fit and genuine interest. Plenty of people land in QA by accident; they want someone who chose it and will grow in it.

"I like that QA is where you get to think like an adversary on behalf of the user — I genuinely enjoy the puzzle of finding the one input or sequence that breaks an assumption everyone else made, and the satisfaction of a release going out clean because of work that's invisible when it goes right. I'm drawn to this role specifically because you're building automation into the pipeline and treating QA as engineering, not a manual gate at the end — that's exactly the SDET direction I want to grow in. I also saw you ship frequently, which means quality has to be fast and automated rather than a bottleneck, and that's the environment where I do my best work: shifting testing left and partnering with developers to prevent defects, not just catch them."

Pattern to notice: every strong answer above does the same thing — it shows command of the craft and the judgment behind it, thinks in terms of risk and the user rather than checkbox coverage, partners with developers instead of fighting them, and ends in a concrete result. Interviewers reward the QA engineer who prevents and prioritizes defects, not the one who can name the most testing types.

How to prepare for a QA Engineer interview

Preparation for a QA interview is concrete and rehearsable. Don't just re-read theory — practice generating test cases out loud and have your stories ready.

  • Drill "how would you test this" prompts. Practice on a login form, a vending machine, an elevator, a search box, and a payment API. Always answer in layers — functional, boundary, negative, security, performance, accessibility — and start by asking clarifying questions.
  • Make the core concepts automatic. Be able to explain severity vs. priority, the test pyramid, equivalence partitioning and boundary-value analysis, smoke vs. regression vs. sanity testing, and verification vs. validation without hesitating.
  • Sharpen your automation story. Know your stack cold — Selenium, Cypress, or Playwright; the page-object model; how you'd structure a maintainable suite; and how you debug a flaky test. For SDET roles, expect to write code and tests live.
  • Be ready for API and CI questions. Status codes, contract testing, how you'd validate an endpoint, and where tests run in a CI/CD pipeline come up in most modern QA loops.
  • Prepare 5–6 STAR stories. Cover an important bug you caught, a release you pushed back on, a developer disagreement, automation you built, and a defect that escaped. One strong, quantified story can flex across several questions.
  • Know your own résumé cold. Be ready to explain any suite you built, any tool you named, and any number you quantified — "how exactly did you cut the regression cycle from two days to thirty minutes?" is a question you should welcome.
  • Do at least one full mock interview. Generating test cases in your head isn't the same as doing it out loud while someone pushes back on your coverage. A live run surfaces the gaps — which is exactly what Marqee's Executive strategists do before your real interviews.

Common mistakes & red flags

Only testing the happy path. If your "how would you test this" answer stops at "enter valid credentials and log in," you've failed the core test. Interviewers want negative, boundary, and security cases by reflex.
Confusing severity and priority. Treating them as the same number signals you can't help a team triage. Keep them as separate axes with a clean example of each combination.
Over-relying on UI automation. Proposing to automate everything through the UI shows you don't understand the test pyramid. Push coverage down to unit and API where it's fast and stable.
"Just add a retry" for flaky tests. Masking flakiness instead of diagnosing root cause erodes trust in the whole suite — and sometimes buries a real race condition in the product.
Adversarial toward developers. Framing QA as gotcha-hunting or "us vs. them" is a culture red flag. Modern QA shifts left and prevents defects in partnership with engineering.
No numbers in your stories. "I helped with testing" is forgettable. "I cut the regression cycle from two days to thirty minutes and caught a revenue-impacting race condition" is hireable. Quantify the result.

Smart questions to ask the interviewer

Asking nothing is a red flag; asking sharp, role-specific questions signals seniority and helps you screen the team. Pick a few that fit the round, and lean on our full guide to questions to ask the interviewer.

  • What does the automation stack and coverage look like today — and how much of QA is automated versus manual?
  • How does QA fit into the release process — do you gate releases, and where in CI/CD do tests run?
  • What's the relationship between QA and engineering — is testing shifted left, or is QA a gate at the end?
  • How is this role's success measured in the first six months, and what would I own end to end versus support?
  • How do you handle flaky tests and test-suite health as the product and the team grow?
  • Where does the team feel the most quality pain right now — what would I likely tackle first?

Don't walk in cold — have a strategist run mock interviews with you.

Reading sample answers is a start. Our Executive-tier strategists run full mock interviews tailored to your target QA roles, pressure-test your test-design, automation, and bug-advocacy answers, and prep you for your real ones — so you show up rehearsed, not rattled.

See Executive interview prep →How Marqee works

Frequently asked questions

A mix: open-ended test-design prompts ("how would you test a login page / a vending machine / an API"), concept questions on severity vs. priority, the test pyramid, equivalence partitioning and boundary-value analysis, automation and flaky-test debugging, API and regression strategy, and where QA fits in CI/CD; often a coding or automation exercise; and behavioral STAR questions about an important bug you caught, pushing back on a release, disagreeing with a developer, and a bug that escaped to production.

Test-design technique (risk-based prioritization, boundary and negative cases), automation frameworks like Selenium, Cypress, or Playwright with the page-object model, API testing and contract testing, debugging flaky tests, regression strategy, and CI/CD integration. SDET roles also test coding ability — writing a function and its tests, or automating a flow live. Expect to demonstrate judgment on severity vs. priority and when a bug should block a release.

Use STAR — Situation, Task, Action, Result. Keep the situation brief, spend most words on your specific actions, and always land a concrete, ideally quantified result. Prepare stories that show impact (an important bug you caught), judgment (advocating against a risky ship by quantifying it and offering options), collaboration (resolving a disagreement with a developer with evidence), and accountability (a bug that escaped, fixed systemically with a blameless retro).

Yes. Interview prep is part of our Executive-tier Career Concierge: a strategist runs full mock interviews tailored to your target QA and SDET roles, pressure-tests your test-design, automation, and bug-advocacy answers, and preps you for the specific companies you're facing. These free Q&A guides are the self-serve start; the done-for-you version is a real person rehearsing with you. See interview prep or our general interview questions guide.

Have a strategist prep you for the real thing

Sample answers get you thinking. They don't rehearse you, push back when you stop at the happy path, or tailor your prep to the exact company and stack you're facing — and they don't get you the interview in the first place. That's where Marqee comes in. We're a Career Concierge: a real person runs your search, tailors your résumé to each QA posting, reaches the hiring manager directly, and finds a referral inside the company so you skip the pile. And at the Executive tier, your strategist runs full mock interviews and preps you for your real ones, so you walk in rehearsed.

Free guides first — then put a human in your corner.

Use these Q&A guides to prep yourself, or let an Executive strategist run mock interviews and manage your whole search end to end.

Get Executive interview prep →See how Marqee works

Keep exploring