Learn › Software Testing › Interview Questions › Company-wise › CRED 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 CRED Start practicing
3 QUESTIONS FREE Sign 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.
Sign up free Log in
01 What are test data and how do you prepare them? Show answerThe 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? Show answerThe hardware, software, data and configuration where testing happens, set up to mirror production as closely as practical.
03 What is use case testing? Show answerDesigning tests from user flows described in use cases to verify complete real-world interactions.
04 What is risk-based testing? Show answerPrioritising tests by the likelihood and impact of failure, so critical areas get the most coverage when time is limited.
Show answerTesting 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? Show answerBlack 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. Show answerBasic 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? Show answerTest 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? Show answerStatuses 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. Show answerAllowed 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? Show answerTesting 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? Show answerChecking 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. Show answerSELECT email, COUNT(*) FROM users GROUP BY email HAVING COUNT(*) > 1;
14 What is the difference between a test suite and a test run? Show answerA 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? Show answerShift 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? Show answerCheck 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? Show answerCheck 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? Show answerA 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? Show answerClear, concise, independent, repeatable, traceable to a requirement, with precise expected results and tested data.
Show answerAn API style using HTTP methods on resources identified by URLs, usually exchanging JSON and staying stateless.
Show answerThe 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? Show answerA 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. Show answerMandatory fields, email format, password rules, duplicate email, terms checkbox, captcha, confirmation email and field length limits.
24 What is defect clustering? Show answerThe 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. Show answerValid 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.
Show answerA 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? Show answerA 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? Show answerFinding 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? Show answerStatic testing reviews documents and code without executing; dynamic testing executes the software to observe behaviour.
Show answerUsing experience to guess where defects likely hide, such as empty fields, special characters or unexpected sequences, and designing tests for them.
Show answerSmoke 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? Show answerVerify 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? Show answerThe 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? Show answerRules 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? Show answerTesting 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? Show answerCode 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? Show answerA 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. Show answerSELECT email, COUNT(*)
FROM users
GROUP BY email
HAVING COUNT(*) > 1;
39 How do you test an application with no documentation? Show answerTalk 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? Show answerEntry 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? Show answerBy business criticality, usage frequency, defect history, risk and dependencies, running high-priority cases first.
42 What are positive and negative test cases? Show answerPositive 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? Show answerState 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. Show answerValid 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? Show answerMeasuring speed and stability: load (expected users), stress (beyond limits), spike (sudden surge), endurance (long duration) and scalability testing.
46 Verification vs validation? Show answerVerification: 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. Show answerAdd, remove, update quantity, price and tax calculation, coupon codes, stock limits, cart persistence after login and checkout navigation.
Show answerA 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? Show answerSprint 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? Show answerValid login, invalid login, forgot password, locked account and session handling are the main scenarios to cover.
51 What is a traceability matrix? Show answerA grid mapping requirements to test cases and defects, proving every requirement is tested.
Show answerDefects 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? Show answerSend 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? Show answerAn 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? Show answerReproduce 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? Show answerA 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? Show answerInternationalisation 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? Show answerEvaluating 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? Show answerUnit, 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. Show answerValid 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? Show answerSuccess, 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? Show answerA 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? Show answerVerifying the application works across different hardware, software and settings combinations.
64 How do you use JIRA in testing? Show answerLog 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? Show answerCreate 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. Show answerNew → Assigned → Open → Fixed → Retest → Verified → Closed, with Reopened, Rejected, Deferred and Duplicate as side paths.
67 Functional vs non-functional testing? Show answerFunctional testing checks what the system does (login, checkout). Non-functional testing checks how well it does it (performance, security, usability, compatibility).