Skip to content

TCS 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 TCSStart 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

How do you handle a bug found late in a release cycle?

Save to ▾
Show answer
Assess impact and risk, discuss with product and dev, decide to fix, defer with a workaround or delay release, and document the decision.
02

Release is tomorrow and you can't test everything. What now?

TCSHard
Save to ▾
Show answer
Risk-based testing: cover critical user flows, recent changes and high-defect areas first. Clearly communicate the untested risks and get stakeholder sign-off.
03

What makes a good bug report?

TCSEasy
Save to ▾
Show answer
A clear title, steps to reproduce, expected vs actual result, environment/build, severity and priority, and evidence (screenshot, video, logs).
04

What do you check when testing an API in Postman?

TCSMedium
Save to ▾
Show answer
Status code, response body and schema, headers, response time, error messages for invalid input, authentication (401/403) and that data is saved in the database.
05

What is a sprint planning meeting and what does QA contribute?

TCSMedium
Save to ▾
Show answer
The team selects stories for the sprint. QA helps estimate testing effort, clarifies acceptance criteria and flags dependencies and risks.
06

Functional vs non-functional testing?

TCSEasy
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).
07

What is a test closure report?

TCSEasy
Save to ▾
Show answer
A final document summarising what was tested, defects found and open, metrics, lessons learned and the recommendation for release.
08

How do you estimate testing effort?

TCSHard
Save to ▾
Show answer
Break the work into modules and test cases, use past velocity or three-point estimation (optimistic, likely, pessimistic), add time for test data, environment issues, retesting and regression, and keep a risk buffer.
09

How do you test an application with no documentation?

TCSHard
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.
10

What is JQL?

TCSMedium
Save to ▾
Show answer
JIRA Query Language, used to search issues, for example project = ABC AND status = Open AND priority = High.
11

What is test coverage and how do you measure it?

TCSMedium
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.
12

How do you decide the priority of test cases?

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

Write test cases for a file upload feature.

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

What is boundary value analysis?

TCSMedium
Save to ▾
Show answer
Testing at the edges of input ranges, such as 17, 18 and 19 for an age limit of 18, since errors cluster at boundaries.
15

Production has a critical bug. What are your steps?

TCSHard
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.
16

Write a SQL query to find duplicate records.

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

What is defect density?

TCSMedium
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.
18

What goes into a test plan?

TCSMedium
Save to ▾
Show answer
Scope (in and out), objectives, approach, environments, schedule, roles, entry/exit criteria, risks and mitigation, deliverables and tools.
19

Verification vs validation?

TCSEasy
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).
20

What is API testing and why is it important?

TCSMedium
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.
21

What is a test environment?

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

What is mobile app testing and what extra checks does it need?

TCSMedium
Save to ▾
Show answer
Test on real devices and OS versions, interrupts such as calls, battery, network changes, gestures, permissions and app store guidelines.
23

What is Agile testing?

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

What is risk-based testing?

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

What is pairwise testing?

TCSMedium
Save to ▾
Show answer
A technique that tests all pairs of input values instead of every combination, greatly reducing test cases while catching most defects.
26

What are common HTTP status codes?

TCSMedium
Save to ▾
Show answer
200 OK, 201 Created, 204 No Content, 400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found, 500 Internal Server Error.
27

What is the difference between a test case and a test scenario?

TCSEasy
Save to ▾
Show answer
A scenario is a high-level thing to test (user logs in); test cases are the detailed steps and data that verify it.
28

What is use case testing?

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

What is defect clustering?

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

What is root cause analysis for defects?

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

What are the seven principles of testing?

TCSMedium
Save to ▾
Show answer
Testing shows presence of defects, exhaustive testing is impossible, test early, defects cluster, the pesticide paradox, testing is context-dependent and absence-of-errors is a fallacy.
32

What is accessibility testing?

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

Write test cases for a calculator app.

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

Smoke vs sanity testing?

TCSEasy
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).
35

What metrics do QA teams track?

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

Explain SQL joins briefly.

TCSMedium
Save to ▾
Show answer
INNER returns matching rows, LEFT keeps all left rows, RIGHT keeps all right rows and FULL keeps all rows from both tables.
37

How do you use JIRA in testing?

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

What are the typical JIRA workflows for bugs?

TCSMedium
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.
39

What is error guessing?

TCSMedium
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.
40

What is the difference between alpha and beta testing?

TCSEasy
Save to ▾
Show answer
Alpha is done in-house by internal teams before release; beta is done by a limited group of real users in their own environment.
41

What is usability testing?

TCSMedium
Save to ▾
Show answer
Evaluating how easy and pleasant a product is to use by observing real users complete tasks and noting confusion.
42

What are the characteristics of a good test case?

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

What are entry and exit criteria?

TCSMedium
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).
44

What is the difference between smoke testing in CI and full regression?

TCSMedium
Save to ▾
Show answer
Smoke tests run on every build for quick feedback; full regression runs less often, such as nightly or before release.
45

What is a test case and its components?

TCSEasy
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.
46

What are the levels of testing?

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

What is software testing and why is it needed?

TCSEasy
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.
48

A bug is not reproducible. What next?

TCSMedium
Save to ▾
Show answer
Re-check environment, data, browser and steps; check the logs; try the reporter's setup; add video and console logs; mark it 'cannot reproduce' only after discussing with the developer, and keep monitoring.
49

Explain the bug life cycle.

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

Write test cases for a signup form.

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

What is TDD vs BDD?

TCSMedium
Save to ▾
Show answer
TDD writes unit tests before code to drive design; BDD describes behaviour in business language scenarios that become automated acceptance tests.
52

What are SQL constraints?

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

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

TCSEasy
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.
54

What is a REST API?

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

What is the V-model?

TCSMedium
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.
56

What is compatibility testing?

TCSMedium
Save to ▾
Show answer
Checking the application works across browsers, devices, operating systems, screen sizes and network conditions.
57

What is the difference between static and dynamic testing?

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

What are the boundary values for an age field that accepts 18–60?

TCSEasy
Save to ▾
Show answer
Test 17, 18, 19, 59, 60 and 61.
59

How do you review test cases?

TCSMedium
Save to ▾
Show answer
Peer review for clarity, coverage of requirements, correct expected results, test data and traceability, then update and baseline them.
60

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

TCSMedium
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.
61

How do you test an application when requirements change frequently?

TCSMedium
Save to ▾
Show answer
Keep tests modular, prioritise by risk, use exploratory testing, automate stable parts and keep close contact with product owners.