PUBLIC QUESTION PREVIEW
QA & Testing interview questions
Selenium, Cypress, TestNG, JUnit, API testing, BDD/TDD, performance testing — the full QA toolkit.
Showing 12 of 50 source questions. Sample answers are study material, not employer-specific hiring guidance.
How to work through this preview
Attempt each question before reading its answer. For a concept, give a definition and a concrete example. For code, state constraints, walk through a small input, and check complexity. For design, separate requirements from assumptions and explain failure handling. Use real situations for behavioral answers.
QUESTION 1 / easy / conceptual
What is software testing and why is it important?
Sample answer
Hints to guide your next attempt
- Cost of bugs found late
- Verification vs validation
Source tags: fundamentals / verification / validation / shift-left
QUESTION 2 / easy / conceptual
What are the different levels of software testing? Explain each.
Sample answer
Hints to guide your next attempt
- Unit, integration, system, acceptance
- Who runs each level?
Source tags: levels / unit / integration / system / acceptance / uat
QUESTION 3 / easy / conceptual
What is the test pyramid? Why is it important?
Sample answer
Hints to guide your next attempt
- Wide base of unit tests, narrow top of E2E tests
- Speed and cost at each layer
Source tags: test-pyramid / unit / integration / e2e / strategy
QUESTION 4 / easy / conceptual
What is black-box, white-box, and grey-box testing?
Sample answer
Hints to guide your next attempt
- Does the tester see the source code?
- Who performs each type?
Source tags: black-box / white-box / grey-box / test-techniques
QUESTION 5 / easy / conceptual
What is regression testing? When do you run it?
Sample answer
Hints to guide your next attempt
- What breaks when you make changes?
- Full regression vs partial regression
Source tags: regression / automation / ci-cd / test-strategy
QUESTION 6 / easy / conceptual
What is the difference between smoke testing and sanity testing?
Sample answer
Hints to guide your next attempt
- Smoke = broad shallow, Sanity = narrow deep
- When is each run?
Source tags: smoke-testing / sanity-testing / build-verification
QUESTION 7 / easy / conceptual
What is a defect life cycle? Walk through all stages.
Sample answer
Hints to guide your next attempt
- New → Assigned → Open → Fixed → Retest
- What happens when a fix is rejected?
Source tags: defect-lifecycle / bug-tracking / jira / severity / priority
QUESTION 8 / easy / conceptual
What is equivalence partitioning and boundary value analysis?
Sample answer
Hints to guide your next attempt
- Divide input into valid/invalid partitions
- Bugs cluster at boundaries
Source tags: equivalence-partitioning / boundary-value / test-design / black-box
QUESTION 9 / medium / conceptual
What is test-driven development (TDD)? Explain the red-green-refactor cycle.
Sample answer
Hints to guide your next attempt
- Write test first, then code
- Red = fail, Green = pass, Refactor = clean up
Source tags: tdd / red-green-refactor / unit-testing / best-practices
QUESTION 10 / medium / conceptual
What is BDD (Behaviour-Driven Development)? How does it differ from TDD?
Sample answer
Hints to guide your next attempt
- Gherkin syntax: Given/When/Then
- Collaboration between devs, QA, and business
Source tags: bdd / tdd / gherkin / cucumber / behaviour-driven
QUESTION 11 / medium / conceptual
What is Selenium WebDriver? How does it work under the hood?
Sample answer
Hints to guide your next attempt
- JSON Wire Protocol / W3C WebDriver protocol
- Driver bridges browser commands
Source tags: selenium / webdriver / browser-automation / chromedriver
QUESTION 12 / medium / conceptual
What is the Page Object Model (POM) in Selenium? Why use it?
Sample answer
Hints to guide your next attempt
- Separate page logic from test logic
- One place to update when UI changes
Source tags: pom / page-object-model / selenium / design-pattern / maintainability
Check understanding, not recognition
- Can you explain the answer without reading it?
- Can you show when the approach fails or needs a different assumption?
- Can you connect the concept to a real project, task, or decision you have made?
- Can you distinguish a simplified interview example from a production requirement?
A LITTLE MORE CLARITY
Frequently asked questions
How many QA & Testing questions are shown here?
This public preview shows 12 questions with the supplied answers from the app's 50-question QA & Testing bank. Full interactive practice requires signing in.
Should I memorize the sample answers?
Use them as reference explanations, not a script or a guarantee of technical correctness for every environment. Explain your assumptions, validate code against your language and version, and discuss trade-offs. Behavioral answers should be built from your own experience.
What do hints and solution steps mean?
Hints identify ideas to consider before reading the answer. When the source question includes steps, they are shown as a separate walkthrough. Example capacities and design targets in a solution are assumptions for that exercise, not real system statistics.
BUILD YOUR NEXT OPPORTUNITY
Practice QA & Testing actively.
Sign in to use the full topic bank and interactive practice workspace.