Skip to content

HCLTech 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 HCLTechStart 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

Scrum ceremonies and the tester's role?

HCLTechMedium
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.
02

What is API testing and why is it important?

HCLTechMedium
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.
03

What is SDLC and STLC?

Save to ▾
Show answer
SDLC is the full software development life cycle; STLC is the testing life cycle: requirement analysis, test planning, test design, environment setup, execution and closure.
04

What is the definition of done?

HCLTechMedium
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.
05

What are SQL constraints?

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

Write test cases for a file upload feature.

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

What is a test case and its components?

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.
08

What is a sprint retrospective?

HCLTechMedium
Save to ▾
Show answer
A team meeting at the end of a sprint to discuss what went well, what did not and what to improve next.
09

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

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

What is pairwise testing?

HCLTechMedium
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.
11

What is a test environment?

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

What is the use of SQL GROUP BY and HAVING in test validation?

HCLTechMedium
Save to ▾
Show answer
They let testers verify totals and counts per category, such as the number of orders per customer, and compare them with the UI or reports.
13

Write test cases for a login page.

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.
14

What are test data and how do you prepare them?

HCLTechMedium
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.
15

What is JQL?

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

How do you review test cases?

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

Write test cases for an online money transfer.

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

Production has a critical bug. What are your steps?

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.
19

What is software testing and why is it needed?

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

What is a test plan and what does it contain?

Save to ▾
Show answer
A document defining scope, approach, resources, schedule, entry and exit criteria, risks and deliverables of testing.
21

How do you decide the priority of test cases?

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

What is defect clustering?

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

What is the testing pyramid?

HCLTechMedium
Save to ▾
Show answer
A model with many fast unit tests at the base, fewer API or integration tests in the middle and a small number of UI tests at the top.
24

What is the difference between a bug and an enhancement?

HCLTechMedium
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.
25

Smoke vs sanity testing?

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).
26

How would you test a login page for security?

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.
27

What is localisation and internationalisation testing?

HCLTechMedium
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.
28

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

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.
29

How would you test a payment gateway?

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.
30

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

HCLTechMedium
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.
31

What is UAT?

Save to ▾
Show answer
User Acceptance Testing — end users or the client verify that the system meets business needs in a production-like environment before go-live.
32

What is a traceability matrix?

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

What are the characteristics of a good test case?

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

A bug is not reproducible. What next?

HCLTechMedium
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.
35

What are entry and exit criteria?

HCLTechMedium
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).
36

What is the difference between static and dynamic testing?

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

What are common HTTP status codes?

HCLTechMedium
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.
38

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

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

How do you test a REST API with authentication?

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

What goes into a test plan?

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

Write test cases for a lift (elevator).

Save to ▾
Show answer
Moves to the chosen floor, doors open and close, door sensor stops closing on obstruction, overload alarm, emergency button, behaviour in a power cut, max capacity and the floor display.
42

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

HCLTechMedium
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.
43

Write test cases for a search box.

HCLTechMedium
Save to ▾
Show answer
Valid keyword, partial match, no results, special characters, very long text, empty search, case sensitivity, spelling errors, suggestions and speed of results.
44

What is risk-based testing?

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

What is a blocker bug?

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

How do you test an application with no documentation?

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.
47

What is a hotfix?

HCLTechMedium
Save to ▾
Show answer
An urgent patch released outside the normal schedule to fix a critical production defect, followed by regression testing and merge back to the main branch.
48

Write test cases for a calculator app.

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

What is regression testing, and when do you automate it?

HCLTechMedium
Save to ▾
Show answer
Re-testing existing features after a change. Automate stable, repetitive, high-value flows that run every release.
50

What is root cause analysis for defects?

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

What is the difference between alpha and beta testing?

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.
52

Write test cases for a signup form.

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

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

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

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

HCLTechMedium
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.
55

What do you check when testing an API in Postman?

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

What metrics do QA teams track?

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

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

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.
58

Write test cases for an ATM withdrawal.

HCLTechMedium
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.
59

What is boundary value analysis?

HCLTechMedium
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.
60

What is usability testing?

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

What is the difference between GET and POST?

HCLTechMedium
Save to ▾
Show answer
GET retrieves data and has parameters in the URL; POST sends data in the body to create or process something.
62

How do you estimate testing effort?

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.