Skip to content

CRED Software Testing Interview Questions & Answers

Curated interview practice questions with answers. These are practice scenarios, not a verified list of past interview questions.

Solved for CREDStart practicing
3 QUESTIONS FREESign up or log in to unlock the full question bank and track your progress.Unlock every question and answer, then continue practising company-wise and package-wise.
3 questions free Unlock the rest in seconds
01

What are test data and how do you prepare them?

CREDMedium
Save to ▾
Show answer
The inputs used in tests. Prepare using valid, invalid and boundary values from production-like but masked data, spreadsheets or generators.
02

What is a test environment?

CREDEasy
Save to ▾
Show answer
The hardware, software, data and configuration where testing happens, set up to mirror production as closely as practical.
03

What is use case testing?

CREDMedium
Save to ▾
Show answer
Designing tests from user flows described in use cases to verify complete real-world interactions.
04

What is risk-based testing?

CREDMedium
Save to ▾
Show answer
Prioritising tests by the likelihood and impact of failure, so critical areas get the most coverage when time is limited.
05

What is Agile testing?

CREDEasy
Save to ▾
Show answer
Testing that is continuous and collaborative within each sprint, with testers working alongside developers and product owners from the start.
06

Difference between black box, white box and grey box testing?

CREDEasy
Save to ▾
Show answer
Black box tests behaviour without code knowledge; white box tests internal logic and paths; grey box uses partial knowledge of the internals.
07

Write test cases for a calculator app.

CREDMedium
Save to ▾
Show answer
Basic operations, division by zero, decimals, large numbers, order of operations, clear and backspace, repeated operations and memory keys.
08

What metrics do QA teams track?

CREDMedium
Save to ▾
Show answer
Test execution rate, pass percentage, defect density, defect leakage, defect rejection ratio, requirement coverage and automation coverage.
09

What are the typical JIRA workflows for bugs?

CREDMedium
Save to ▾
Show answer
Statuses like To Do, In Progress, In Review, Ready for QA, Done and Reopened, with transitions that depend on the team's configuration.
10

Write test cases for a file upload feature.

CREDMedium
Save to ▾
Show answer
Allowed and disallowed formats, size limits, empty file, duplicate names, special-character names, cancel upload, slow network and multiple files.
11

What is state transition testing?

CREDMedium
Save to ▾
Show answer
Testing how a system moves between states based on events, for example an order going from placed to paid to shipped to delivered.
12

What is accessibility testing?

CREDMedium
Save to ▾
Show answer
Checking that people with disabilities can use the product, using screen readers, keyboard navigation, colour contrast and WCAG guidelines.
13

Write a SQL query to find duplicate records.

CREDMedium
Save to ▾
Show answer
SELECT email, COUNT(*) FROM users GROUP BY email HAVING COUNT(*) > 1;
14

What is the difference between a test suite and a test run?

CREDMedium
Save to ▾
Show answer
A suite is a collection of related test cases; a run is one execution of a set of tests against a build.
15

How do you reduce the number of defects slipping into production?

CREDHard
Save to ▾
Show answer
Shift left with early reviews, improve test design, automate regression, use better test data, add monitoring and learn from escaped defects.
16

How do you test a REST API with authentication?

CREDMedium
Save to ▾
Show answer
Check access with valid, expired and missing tokens, role-based permissions, error codes and that sensitive data is never exposed.
17

How would you test a login page for security?

CREDHard
Save to ▾
Show answer
Check SQL injection, brute-force lockout, password masking, session timeout, HTTPS, cookie flags, error messages not revealing users and password reset flow.
18

What is a test case and its components?

CREDEasy
Save to ▾
Show answer
A set of steps with inputs and expected results. Components: ID, title, preconditions, steps, test data, expected result, actual result and status.
19

What are the characteristics of a good test case?

CREDMedium
Save to ▾
Show answer
Clear, concise, independent, repeatable, traceable to a requirement, with precise expected results and tested data.
20

What is a REST API?

CREDMedium
Save to ▾
Show answer
An API style using HTTP methods on resources identified by URLs, usually exchanging JSON and staying stateless.
21

What is defect density?

CREDMedium
Save to ▾
Show answer
The number of defects per size of software, for example defects per thousand lines of code or per module, used to compare quality.
22

What is the difference between an error, a defect and a failure?

CREDEasy
Save to ▾
Show answer
A human error causes a defect in the code, and when that defect is executed it produces a failure visible to users.
23

Write test cases for a signup form.

CREDMedium
Save to ▾
Show answer
Mandatory fields, email format, password rules, duplicate email, terms checkbox, captcha, confirmation email and field length limits.
24

What is defect clustering?

CREDMedium
Save to ▾
Show answer
The observation that a small number of modules contain most defects, so testing should focus on those areas.
25

Write test cases for an ATM withdrawal.

CREDMedium
Save to ▾
Show answer
Valid card and PIN, wrong PIN, three failed attempts, amount above balance, amount above daily limit, invalid denomination, machine out of cash, network failure and receipt printing.
26

What is the V-model?

CREDMedium
Save to ▾
Show answer
A development model where each development phase has a matching testing phase, such as requirements with acceptance tests and design with integration tests.
27

What is a bug triage meeting?

CREDMedium
Save to ▾
Show answer
A regular review where QA, development and product assess new bugs and decide severity, priority, owner and target release.
28

What is root cause analysis for defects?

CREDMedium
Save to ▾
Show answer
Finding why a defect was introduced, such as unclear requirements or missed reviews, to prevent similar defects in future.
29

What is the difference between static and dynamic testing?

CREDMedium
Save to ▾
Show answer
Static testing reviews documents and code without executing; dynamic testing executes the software to observe behaviour.
30

What is error guessing?

CREDMedium
Save to ▾
Show answer
Using experience to guess where defects likely hide, such as empty fields, special characters or unexpected sequences, and designing tests for them.
31

Smoke vs sanity testing?

CREDEasy
Save to ▾
Show answer
Smoke testing checks that the critical features of a new build work (broad and shallow). Sanity testing checks that a specific fix or area works after a change (narrow and deep).
32

How do you test database integrity using SQL?

CREDMedium
Save to ▾
Show answer
Verify inserted, updated and deleted rows match UI actions, check constraints, duplicates, NULLs and totals with COUNT and SUM queries.
33

What is test coverage and how do you measure it?

CREDMedium
Save to ▾
Show answer
The extent of requirements or code exercised by tests. Measure requirement coverage with a traceability matrix and code coverage with tools.
34

What are SQL constraints?

CREDMedium
Save to ▾
Show answer
Rules such as NOT NULL, UNIQUE, PRIMARY KEY, FOREIGN KEY and CHECK that keep data valid and consistent.
35

What is API testing and why is it important?

CREDMedium
Save to ▾
Show answer
Testing services directly without the UI, checking status codes, responses, security and performance. It finds issues early and is faster than UI tests.
36

What is CI/CD and how does testing fit?

CREDMedium
Save to ▾
Show answer
Code is built and tested automatically on each change; tests are quality gates that stop faulty builds from moving forward.
37

What is the difference between a bug and an enhancement?

CREDMedium
Save to ▾
Show answer
A bug is behaviour that deviates from agreed requirements; an enhancement is a new or improved capability beyond the current requirements.
38

SQL: find duplicate emails.

CREDMedium
Save to ▾
Show answer
SELECT email, COUNT(*) FROM users GROUP BY email HAVING COUNT(*) > 1;
39

How do you test an application with no documentation?

CREDHard
Save to ▾
Show answer
Talk to developers and users, explore the product, review similar systems, create notes and mind maps, confirm assumptions and write test cases as you learn.
40

What are entry and exit criteria?

CREDMedium
Save to ▾
Show answer
Entry criteria are conditions that must be met to start testing (build ready, environment set); exit criteria define when testing can stop (pass rate, no critical defects).
41

How do you decide the priority of test cases?

CREDMedium
Save to ▾
Show answer
By business criticality, usage frequency, defect history, risk and dependencies, running high-priority cases first.
42

What are positive and negative test cases?

CREDMedium
Save to ▾
Show answer
Positive cases use valid inputs to confirm expected behaviour; negative cases use invalid inputs to confirm the system handles errors gracefully.
43

How do you write a good bug title?

CREDMedium
Save to ▾
Show answer
State the problem, location and condition briefly, for example 'Checkout button disabled after applying a coupon on the cart page'.
44

Write test cases for an online money transfer.

CREDMedium
Save to ▾
Show answer
Valid transfer, insufficient balance, daily limit, wrong beneficiary, OTP failure, network drop mid-transaction, duplicate click and statement update.
45

What is performance testing and its types?

CREDMedium
Save to ▾
Show answer
Measuring speed and stability: load (expected users), stress (beyond limits), spike (sudden surge), endurance (long duration) and scalability testing.
46

Verification vs validation?

CREDEasy
Save to ▾
Show answer
Verification: are we building the product right? (reviews, walkthroughs — no code run). Validation: are we building the right product? (actual testing against user needs).
47

Write test cases for a shopping cart.

CREDMedium
Save to ▾
Show answer
Add, remove, update quantity, price and tax calculation, coupon codes, stock limits, cart persistence after login and checkout navigation.
48

What is a blocker bug?

CREDMedium
Save to ▾
Show answer
A defect that stops testing or release of a feature because no workaround exists, so it is highest priority.
49

Scrum ceremonies and the tester's role?

CREDMedium
Save to ▾
Show answer
Sprint planning (estimate test effort), daily stand-up (status and blockers), sprint review (demo) and retrospective (improve). Testers clarify acceptance criteria early and test within the sprint.
50

What is a test scenario for the login functionality at a high level?

CREDEasy
Save to ▾
Show answer
Valid login, invalid login, forgot password, locked account and session handling are the main scenarios to cover.
51

What is a traceability matrix?

CREDMedium
Save to ▾
Show answer
A grid mapping requirements to test cases and defects, proving every requirement is tested.
52

What is defect leakage?

CREDMedium
Save to ▾
Show answer
Defects found after release that testing should have caught; leakage % = defects in production / total defects x 100.
53

How do you test pagination, sorting and filtering through an API?

CREDMedium
Save to ▾
Show answer
Send page, size, sort and filter parameters, then verify counts, order, boundaries (first, last, empty page) and invalid parameter handling.
54

What is the difference between a story, epic, task and bug in JIRA?

CREDMedium
Save to ▾
Show answer
An epic is a large body of work; stories are user-facing slices of it; tasks are technical work items; bugs are defects.
55

Production has a critical bug. What are your steps?

CREDHard
Save to ▾
Show answer
Reproduce and assess impact, inform stakeholders, help developers fix and verify in staging, run regression and check monitoring after the hotfix, then do a post-mortem.
56

What is the definition of done?

CREDMedium
Save to ▾
Show answer
A shared checklist for when a story is complete, usually including code review, tests passing, no open critical bugs and documentation updated.
57

What is localisation and internationalisation testing?

CREDMedium
Save to ▾
Show answer
Internationalisation tests that the product can support many languages and formats; localisation tests that a specific locale is correct for text, currency, date and layout.
58

What is software testing and why is it needed?

CREDEasy
Save to ▾
Show answer
Evaluating software to find defects and confirm it meets requirements. It reduces risk, protects users and saves the cost of fixing bugs after release.
59

What are the levels of testing?

CREDEasy
Save to ▾
Show answer
Unit, integration, system and acceptance testing, moving from individual components to the complete product in front of users.
60

Write test cases for a login page.

CREDEasy
Save to ▾
Show answer
Valid login, wrong password, empty fields, case sensitivity, max length, SQL-injection strings, password masking, 'remember me', lock-out after N attempts and the forgot-password link.
61

How would you test a payment gateway?

CREDHard
Save to ▾
Show answer
Success, failure and pending flows, timeouts, refunds, double-click payments, every method (UPI, cards, net banking), rounding, security (no card data stored) and reconciliation with bank reports.
62

What is SQL and why do testers use it?

CREDEasy
Save to ▾
Show answer
A language to query databases. Testers use it to verify data saved by the application, prepare test data and check backend results.
63

What is configuration testing?

CREDMedium
Save to ▾
Show answer
Verifying the application works across different hardware, software and settings combinations.
64

How do you use JIRA in testing?

CREDMedium
Save to ▾
Show answer
Log and track bugs, link them to stories, build dashboards and filters with JQL, manage sprints and generate reports.
65

How do you test an API using Postman?

CREDMedium
Save to ▾
Show answer
Create a request with method, URL, headers and body, send it, check status and body, add test scripts and save it in a collection.
66

Explain the bug life cycle.

CREDEasy
Save to ▾
Show answer
New → Assigned → Open → Fixed → Retest → Verified → Closed, with Reopened, Rejected, Deferred and Duplicate as side paths.
67

Functional vs non-functional testing?

CREDEasy
Save to ▾
Show answer
Functional testing checks what the system does (login, checkout). Non-functional testing checks how well it does it (performance, security, usability, compatibility).