Skip to content

Barclays 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 BarclaysStart 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 is pairwise testing?

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

How do you test a REST API with authentication?

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

What are severity and priority? Give examples.

BarclaysMedium
Save to ▾
Show answer
Severity is impact on the system; priority is urgency of the fix. A crash in a rare report is high severity, low priority; a spelling mistake in the logo is low severity, high priority.
04

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

What is API testing and why is it important?

BarclaysMedium
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.
06

What is the difference between DELETE and TRUNCATE?

BarclaysMedium
Save to ▾
Show answer
DELETE removes selected rows and can be rolled back; TRUNCATE quickly removes all rows and resets the table.
07

Write test cases for an online money transfer.

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

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

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

Write test cases for an ATM withdrawal.

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

What is configuration testing?

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

What is CI/CD and how does testing fit?

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

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

What is a test closure report?

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

What is the V-model?

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

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

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

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

Write SQL to verify an order was saved correctly.

BarclaysMedium
Save to ▾
Show answer
SELECT status, amount FROM orders WHERE order_id = 'ORD123'; -- compare with the UI, then check the matching rows in order_items
19

How do you test a REST API that is not ready yet?

Save to ▾
Show answer
Use mocks or stubs from the API contract such as Swagger, write test cases early and validate again when the real service is available.
20

What is exploratory testing?

BarclaysMedium
Save to ▾
Show answer
Learning, test design and execution at the same time, without scripted cases — time-boxed sessions with a charter (e.g. 'explore checkout with coupons'), noting bugs and ideas. Great for finding edge cases.
21

What is a bug triage meeting?

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

What is the difference between a bug and an enhancement?

BarclaysMedium
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.
23

Explain SQL joins briefly.

BarclaysMedium
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.
24

Write test cases for a calculator app.

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

What is state transition testing?

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

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

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

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

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

Give an example of equivalence partitioning.

Save to ▾
Show answer
For a field accepting 1–100: valid class 1–100 (test 50), invalid below 1 (test −5), invalid above 100 (test 150). One value represents each class.
29

What are SQL constraints?

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

What are the seven principles of testing?

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

The developer says "it's not a bug". What do you do?

BarclaysMedium
Save to ▾
Show answer
Re-check the requirement, reproduce with clear steps and evidence (screenshots, logs), discuss with the BA/PO and record the final decision.
32

What is root cause analysis for defects?

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

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

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

What is test coverage and how do you measure it?

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

What is TDD vs BDD?

BarclaysMedium
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.
36

What is the testing pyramid?

BarclaysMedium
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.
37

What is defect density?

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

What is a traceability matrix?

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

How do you write a good bug title?

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

What is a hotfix?

BarclaysMedium
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.
41

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

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

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

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

BarclaysMedium
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.
45

What is defect leakage?

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

Explain the bug life cycle.

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

What is performance testing and its types?

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

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

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

What are test data and how do you prepare them?

BarclaysMedium
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.
51

What is defect clustering?

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

Scrum ceremonies and the tester's role?

BarclaysMedium
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.
53

What is accessibility testing?

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

What do you check when testing an API in Postman?

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

A bug is not reproducible. What next?

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

What are positive and negative test cases?

BarclaysMedium
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.
57

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

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