Skip to content

SDET / QA β€” 300 Most-Asked Interview Questions (with Answers & Examples)

Source: the "SDET QA (Q&A)" list by Junaid Aziz (credit: @Kushal Parikh for the Selenium coding challenges). Every question is answered here in simple English with a definition β†’ plain-words explanation β†’ concrete example/code, so you can read it, cover the answer, and say it out loud.

How to use: pick one file, read a question, cover the answer, speak it. The bold words are what the interviewer is listening for.

Sections (10 Γ— 30 = 300 questions)

# File Topic Answer style
1 01_Manual_Testing.md Manual Testing (concepts + scenarios) Definition β†’ gloss β†’ example; scenario Qs as speakable STAR mini-scripts
2 02_Java_Core.md Java (language) Definition β†’ why it matters β†’ tiny code diff
3 03_Java_OOPs.md Core Java OOP concepts Concept β†’ analogy β†’ minimal example
4 04_Java_Coding.md Java coding for SDET Full working method + approach + say-it-aloud
5 05_Selenium_WebDriver.md Selenium WebDriver Definition β†’ runnable snippet β†’ gotcha
6 06_Maven.md Maven Definition β†’ where it fits β†’ command / pom snippet
7 07_TestNG.md TestNG Definition β†’ annotation/XML snippet β†’ tip
8 08_Cucumber_BDD.md Cucumber BDD Definition β†’ Gherkin/glue snippet β†’ why BDD
9 09_Page_Object_Model.md Page Object Model Concept β†’ POM/PageFactory snippet β†’ best-practice
10 10_Selenium_Coding_Challenges.md Real-time Selenium coding challenges Complete working method + one-line explanation
11 11_Challenges_Faced_And_How_I_Coped.md "Challenges faced & how I coped" β€” Java, Python, Playwright, API, UI STAR stories grounded in real projects + 🎀 say-this + template
12 12_Frameworks_And_Libraries_By_Language.md Frameworks & libraries by language (Java/Python/TS + tools) What each library does + where you used it; don't-over-claim notes
13 13_How_To_Explain_Framework_Libraries_Tools.md Framework/Libraries/Tools answered per project (REST Assured, Playwright, Python, Java UI+API) Clean Frameworkβ†’Librariesβ†’Tools tables per project + 🎀 say-this
14 14_Scenario_Interview_Rounds.md Scenario round (8 API/automation scenarios: Jenkins-vs-local, dynamic price vs API, file upload/download, UI↔API pagination, token expiry, REST Assured validation, retry/429-500, prod RCA) + Round 3 Managerial + Round 4 HR/Salary Approach β†’ code β†’ say-it; STAR + negotiation scripts. PDF in pdf/

How I planned each section

  • Concept questions (Manual, Java, OOP, Maven, TestNG, Cucumber, POM): keep each answer interview-length (2–6 sentences) β€” a crisp definition first (what the interviewer scores), then a plain-English "in other words," then one concrete example. Comparison questions ("X vs Y") use a 2-column contrast so the difference is instant.
  • Coding questions (Java coding, Selenium challenges): give complete, compilable code (not pseudo-code), plus a one-line note on the approach and, where relevant, time/space complexity β€” so you can both write it and explain it.
  • Scenario / behavioural questions ("bug in production", "developer disagrees", "no requirements"): answered as short speakable scripts using a mini-STAR shape, so you sound calm and structured, not theoretical.
  • Cross-links: deeper theory already lives in the parent folder β€” e.g. ../04_Manual_Testing_SDLC_STLC.md, ../05_Selenium_Concepts.md, ../09_API_Testing_RestAssured.md, ../20_Software_Testing_Concepts_NPTEL.md. This set is the fast, memorizable layer on top.

Quick revision order (if short on time)

  1. Manual Testing (asked in ~90% of QA/SDET rounds)
  2. Java Core + OOPs (fundamentals gate)
  3. Selenium WebDriver + POM (the framework story)
  4. TestNG + Maven (the "how it runs" story)
  5. Java coding + Selenium challenges (the coding round)
  6. Cucumber BDD (only if the JD mentions BDD)