QA Interview Hub · Knowledge base · Quizzes · Українська

QA Fundamentals

Types of testing

smoke, regression, exploratory and more

Functional and non-functional testing: what is the difference?

Functional testing checks what the system does: business rules, inputs and outputs, conformance to requirements. Non-functional testing checks how well it does it: speed, security, usability, compatibility and reliability. A non-functional requirement is written with a measurable threshold and conditions, otherwise there is nothing to test it against, and the line between the groups is blurry, so it helps to name the risk a check covers.

QA Fundamentals · Types of testing

The transfer calculates everything correctly, but the confirmation takes 14 seconds. Is that a bug?

The transfer test cases pass: the amount is debited, the recipient sees the money, the 1% fee is exact. Yet at peak hours a user stares at a spinner for fourteen seconds and presses "Confirm" a second time. Functionally everything is fine, but the product is hard to use. This lesson covers the two questions every feature is tested against, why the answers are obtained differently, and how to make sure the second question does not stay without a requirement.

How it works and why. Every feature gets two questions. The first: does it do what it should? That is functional testing: inputs and outputs, business rules, state transitions, conformance to requirements. The second: how well does it do it? That is non-functional testing: speed, security, usability, compatibility, reliability. ISTQB CTFL 4.0 relies on the ISO/IEC 25010 quality model: functional suitability (completeness, correctness, appropriateness) is one characteristic, and the rest are the non-functional ones.

The split is not for the sake of terms. Functional behaviour is checked with a click and a comparison with the expected result, but non-functional behaviour cannot be seen with one click: speed needs load and measurement, security needs attacker scenarios, compatibility needs a set of devices. Different tools, different environment, different timing: so non-functional testing has to be planned on its own rather than hoping it "happens" during functional testing.

One feature, two questions

Functional: "what does it do?"

A transfer of 1000 UAH debits 1000 UAH and a 10 UAH fee.

An amount above the balance is rejected with an explanation.

The recipient sees the money in the history.

Non-functional: "how well?"

95% of transfers confirm within 2 s at a peak of 200 requests per second.

Other people's accounts are not reachable by a swapped id.

The form works in Safari on iOS and with a keyboard.

Figure 1. Both sets of checks concern the same transfer. Neither replaces the other.

The non-functional characteristics of the quality model work well as a "did we think about it" checklist:

CharacteristicQuestionExample for a transfer
PerformanceHow much time and resources it takesp95 response time under load
SecurityWho can see and change whatAccess to another account, a session after logout
UsabilityIs it understandable and accessibleThe error text says what to fix
CompatibilityDoes it work in different environmentsBrowsers, screen sizes, OS versions
ReliabilityDoes it survive failures and recoverA network drop mid-transfer does not duplicate it

The 2023 revision of ISO 25010 renamed some of them: usability became "interaction capability", portability "flexibility", and a safety characteristic was added. For an interview it is enough to know the substance: the groups are the same.

Example: from "should be fast" to a testable requirement. The most common reason non-functional testing does not happen is not laziness but a requirement that cannot be verified.

A performance requirement

Typical

"A transfer should be fast"

The tester opens a transfer once, on a test stand, and answers "feels fast". A month later someone else says "slow" about production. There is nothing to settle the argument with.

Better

"p95 ≤ 2 s at 200 requests/s"

There is a number, a condition and a way to measure. The test either passes or fails, with the same result for anyone who runs it.

Figure 2. A non-functional requirement is testable only when it has a threshold and conditions.

So the first thing a QA Engineer does when a non-functional requirement is missing is ask "how fast? under which conditions? on which device?" and record the answer. If the business does not know, propose a sensible value and ask to confirm it. The second thing: choose depth by risk. For an internal admin panel with ten users a load test is overkill, for a public transfer it is not.

Limits and alternatives. The border between the two groups is blurry. Checking "someone else's order returns 403" is both a business rule about permissions and a security test. In ISTQB a test type is the purpose of a check, types can be combined and performed at any level: functional testing exists in component tests and in system tests alike. Arguing about the label is pointless, naming the risk a check covers is useful. Functional should not be confused with black-box: the first says what we check, the second where the tests come from.

Common mistakes.

  • Treating functional green as the end of the job: the system is correct but slow, insecure or inconvenient.
  • Postponing non-functional work "for later": architectural performance problems are expensive to fix right before release.
  • Equating usability with "looks nice": it also means understandable messages, accessibility and the number of steps.
  • Measuring speed on a developer laptop or an empty database: the result does not carry over to real conditions.
  • Writing requirements without numbers ("fast", "reliable"): they cannot be verified.

Check yourself

Requirement: "The catalogue should open fast". A tester opened it once on a stand and wrote "passed". Why is that not a check?

Answer

The requirement has no threshold or conditions, so "passed" proves nothing. One opening on an empty stand does not show behaviour under load and with a realistic data volume. Agree on a number (for example p95 ≤ 1.5 s for N users) and measure under those conditions.

A user without rights gets 403 for someone else's order. Is that a functional or non-functional test?

Answer

Both views are valid: it is a business rule about permissions and also a security check. The label matters less than the risk: making sure data does not leak to others. Test types can be combined.

In the interview. Junior: Functional testing checks what the system does: whether the fee is calculated correctly, whether the transfer goes through. Non-functional testing checks how well: speed, security, usability, compatibility. Middle/Senior: I ask two questions about every feature: does it do the right thing, and does it do it well enough. For the second I require measurable criteria (a threshold and conditions), otherwise it cannot be verified, and I choose depth by risk: where money and data are involved, both performance and security get attention.

How do smoke, sanity and regression testing differ?

Smoke quickly checks the key paths of a new build to see if it merits further testing, while regression looks for what changes broke in existing behaviour. Smoke runs on every build, often automatically after deploy, and a red result blocks testing. Checking a specific fix is called confirmation testing (a retest). The word sanity is used differently across teams, so clarify its meaning.

QA Fundamentals · Types of testing

A new build arrived at 10:00. Run the full regression or first check that it is alive?

The build is installed, the tester starts on a new feature and two hours later finds that login returns 500, so the two hours went into a build that does not work. This is what smoke is for: to check in a few minutes whether the build is worth further testing. The lesson covers smoke and regression, their place in the process and the word "sanity", which causes the most arguments in teams.

How it works and why. Testing has a cost, and testing a broken build deeply means paying for results that will be thrown away. So the cheapest check goes first, the one that filters out obvious junk: a smoke test is a small set of checks of the most important paths (the app starts, login works, the main operation completes). It is fast, wide and shallow, runs on every new build, often automatically after deployment. The result is binary: the build is accepted for testing or sent back.

Where smoke sits in the process

New buildSmokekey paths, a few minutesRedbuild is rejectedGreentesting goes onChanges + regression
Figure 1. Smoke works as a gate: a red result stops further testing of the build, a green one opens it.

Regression testing has a different goal: to find unintended consequences of changes, that is, something that worked and suddenly broke. It repeats existing checks in a chosen scope (by risk, see the lesson on regression scope) and runs before a release and after significant changes. There is also a separate action that ISTQB calls confirmation testing: checking that a specific bug is fixed. All three answer different questions.

KindQuestionScope and moment
SmokeIs this build worth testing?A few key paths, every build
RegressionDid the changes break existing behaviour?A broad selection of existing checks, before a release
Confirmation (retest)Is the specific bug fixed?The steps from the report, after a fix

What about "sanity". The word is used inconsistently. Some teams use it for a narrow check of a specific change or fix after a small update, others for a quick check of a build (a synonym of smoke), others simply for a "reasonableness check" of results. The ISTQB CTFL 4.0 syllabus does not single out sanity as a separate kind: checking a fix is described there as confirmation testing, and earlier glossary versions listed sanity test as a synonym of smoke test. So there is no crisp textbook distinction to "learn". In an interview it is more effective not to guess but to ask: "What do you call sanity?" and name your own terms and what they mean.

Example: a smoke set that works and one that has grown. The typical degradation: after every missed bug another case is added to smoke, and a year later there are sixty.

Contents of a smoke set

Typical

A smoke set of 60 cases

It takes two hours, so it runs once a day instead of on every build. Nobody treats a red result as a stop. The gate function is lost.

Better

A smoke set of 6-10 cases

Ten minutes, every build, automatically after deployment. A failure means a blocker, and testing of the build stops until a new one arrives.

Figure 2. The value of smoke is speed and an unambiguous signal. Whatever slows it down belongs in regression.

For a banking app a small list looks like this:

Smoke, build 2.14 (about 10 minutes)
[ ] the app starts, the footer shows version 2.14
[ ] login with a test account works
[ ] the account list loads
[ ] a 1 UAH transfer between own accounts succeeds
[ ] the statement opens
[ ] logout works

Criteria for a smoke case: it is critical for the product to work, stable, fast, independent of other cases, and its failure really means "the build is unusable". Validation of every form field or rare scenarios do not belong here.

Limits and alternatives. Smoke does not find deep bugs and does not prove quality: green only says the build is not broken in the main things. Regression does not guarantee absence of bugs either, it only repeats known checks. Automate smoke first (stable, repeatable, needed on every build) and the core of regression, while new functionality is still explored by hand. In CI smoke usually is the first stage after deployment to a stand.

Common mistakes.

  • Continuing to test a build that failed smoke: time goes into bugs that disappear with the next build.
  • Inflating smoke into regression: it stops being a fast signal.
  • Running smoke but not blocking the build on red: then the check is a formality.
  • Calling regression "everything again": without scope and risks it is not a strategy but wasted time.
  • Arguing about the "right" definition of sanity instead of agreeing on terms within the team.

Check yourself

Smoke stopped at login: the server returns 500. You have 40 cases ready for a new reports feature. What do you do?

Answer

I stop testing this build: the reports feature is unreachable without login, and results on a broken build cannot be trusted. I file a blocker with the request example, tell the team and wait for a new build, after which I repeat smoke.

The interviewer asks: "How does sanity differ from smoke?" How do you answer?

Answer

First clarify what is meant, because the term is used in different ways and ISTQB does not single it out as a type. Then name your own: a quick check of a build I call smoke, a check of a specific fix confirmation testing (retest), and a broad check that existing behaviour is intact regression.

In the interview. Junior: Smoke is a quick check of the main functions on a new build: whether it is fit for testing at all. Regression checks that changes did not break existing behaviour. The word sanity means different things in different teams, so I would clarify what they mean. Middle/Senior: I put smoke as the first stage after deployment: 6-10 critical cases, automated, and a red result blocks testing of the build. I choose regression by risk and by the area of change. For sanity I agree on a term in the team: for myself I separate a quick build check (smoke) from a check of a specific fix (confirmation).

How does a retest differ from regression testing?

A retest (confirmation testing) repeats the failed test to check the bug is fixed, while regression checks that the change did not break anything else. The retest comes first, including variations of the same defect class because the fix may be partial, then regression in the area the change could have touched. A change of any kind, including configuration, triggers regression.

QA Fundamentals · Types of testing

The developer closed the bug. You ran the steps from the report. What else needed checking?

The bug: a 10% discount is not applied to an order with two items. The developer fixed it. The tester repeats the steps from the report, sees the discount and closes the ticket. A week later a new bug arrives: a refund of such an order returns the full amount to the customer instead of the amount paid. The fix worked but touched a neighbouring place. The lesson is about two different checks after any change: the retest and regression.

How it works and why. After a change there are two risks. The first: the fix does not fix (or fixes partially). The second: the fix breaks something nearby. ISTQB (CTFL 4.0, section 2.2.3) treats them together as testing after changes and separates two actions. Confirmation testing (retest): repeat the test that failed and make sure it now passes, usually with the same steps and, when needed, with variations. Regression testing: check that the change did not affect anything else, in the area it could touch.

What a retest checks and what regression checks

Reteststeps of the bugRegressionneighbouring modulescritical flows
Figure 1. A retest concerns the place of the fix, regression spreads in circles around it by degree of risk.

Different triggers, goals and results make them separate actions.

Retest and regression

Retest

Trigger: a fixed defect.

Goal: confirm the bug is gone.

Scope: the steps from the report and close variations.

Result: "fixed" or "not".

Regression

Trigger: any change (fix, feature, config, dependency, environment).

Goal: find newly broken old behaviour.

Scope: by risk and impact.

Result: new bugs.

Figure 2. A retest checks one place narrowly, regression checks the impact area broadly.

When to use which. If there is a fixed defect from a ticket, start with the retest. If code, configuration or a dependency changed and there is no fixed defect (a new feature, a library update), the retest has nothing to confirm: new tests check the new behaviour and regression checks the rest. In practice the retest is also called confirmation testing, which is the term ISTQB uses; in everyday speech "retest" sometimes means any repeated run, so in an interview it is worth stating that you mean confirming a fix.

The usual order: the retest first (it is cheap, and if the fix does not work, regression is not needed yet), then regression on a build where the fix is already confirmed.

Example: from "the steps passed" to a full confirmation. The bug: promo code SAVE10 does not reduce the total of an order with two items. The fix corrects the discount loop. What to check?

CheckKindWhy
The same steps: 2 items, SAVE10RetestThis is the test that failed
1 item, 3 items, 2 items from different categoriesRetest (variations)The cause was in the loop: a partial fix shows on neighbouring quantities
The free-delivery threshold after the discountRegressionThe discount changes the sum that delivery depends on
A refund of a discounted orderRegressionThe refund amount comes from the calculated total
The total in the confirmation email, no double discount with a promotionRegressionOther consumers of the calculated discount

The selection principle for regression is visible: the question is "what else reads or depends on what changed?", not "let's run everything". The developer helps: what exactly was changed and which modules call this function.

Limits and alternatives. Retesting an intermittent bug needs several runs: one green run of an unstable defect proves nothing. Rerunning an automated test that failed because of an unstable environment is not confirmation testing: there is no fixed defect being confirmed. Regression is not limited to fixes: a new feature, a library update or a config change also need it. The stable bulk of regression is worth automating, while only the risky new areas are run by hand.

Common mistakes.

  • Closing the ticket after one pass of the steps: the fix may work only for the exact data of the report.
  • Skipping regression "because the fix is small": the smallest changes in shared code break distant places.
  • Checking on a different build or environment than the one the fix reached: a check without a version proves nothing.
  • Reopening a bug when the fix works but a new defect appeared: that is a separate bug linked to the first.
  • Treating regression as "repeat everything": without a chosen scope it is either endless or empty.

Check yourself

The bug "an address with an apostrophe is not saved" is fixed. Besides the steps from the report, what else belongs in the retest?

Answer

Variations of the same defect class: other special characters (quotes, ampersand, angle brackets, emoji), long values, editing an already saved address. The cause could be fixed partially, and variations are what reveal it.

A hotfix changes only a timeout value in a config. Is regression needed?

Answer

Yes, in a narrower scope. Regression is triggered by a change of any kind, not only by code edits. I define the scope by impact: which flows depend on this timeout (payment, a request to an external service) and what happens when it is exceeded.

In the interview. Junior: A retest checks that a specific bug is fixed, using the steps from the report. Regression checks that the fix or a new feature did not break something nearby. Middle/Senior: After a fix I do both: first a retest with variations, because the cause may be fixed partially, then regression by impact: what else reads or depends on the changed code. The developer helps with the list of affected modules. I keep the stable part of regression in automated tests.

What are black box, white box and grey box?

Black box designs tests from requirements, white box from the code's internal structure, and grey box adds knowledge of the API, database and logs. In ISTQB black and white box differ by the basis of the tests, not by what the tester knows. Grey box sees consequences beyond the UI, such as a duplicate database record, but expected results still come from requirements.

QA Fundamentals · Types of testing

The UI says "Success" after a transfer. But did the record really reach the database?

A tester clicks "Transfer", sees a green message, the balance updates, and marks the case "passed". In reality the user clicked the button twice, and the database holds two identical transfers: the interface showed only the last one. A check based only on the message on screen would not reveal this. The lesson covers three approaches to testing defined by what you know about the system's insides, and when each gives an answer the others do not.

How it works and why. Black box: tests are designed from requirements and only input and output are observed, without looking inside. Equivalence classes, boundary values and decision tables belong here. White box: tests are designed from the internal structure (branches, conditions, loops) and the amount of executed code is measured. Usually this is developers' work at the component level. Grey box: the middle ground, where the tester does not read code but knows the database schema, API contracts and logs and uses them to invent checks and to see the consequences of actions beyond the UI.

In ISTQB black-box and white-box differ not by what the tester knows but by the basis of the tests: the specification or the internal structure. "Grey box" is not a separate term there, but it is common in practice and in interviews. The third group of techniques in ISTQB is experience-based techniques (error guessing, exploratory testing, checklists).

What each approach sees

UIAPIDBblack boxinput and output, by specgrey box: UI + API + logs + DBwhite boxcode inside →
Figure 1. The deeper an approach looks, the more consequences of actions are visible, but the more you need to know about the system.

Why all three are needed: each catches what the others miss. Black box finds behaviour that does not match requirements, including a missing feature that is not in the code and therefore invisible to any coverage. White box finds code nobody ran and dead branches but does not know the requirement was different. Grey box sees the hidden consequence: a double record, an invalid status, a missing event.

Example: one action, three views. Black box: the tester clicks "Transfer", sees success and the new balance. Conclusion: "works". Grey box: the tester opens DevTools, sees two POST /transfers with 201 in Network and checks the database:

SELECT id, status, amount
FROM transfers
WHERE account_from = 1042
ORDER BY created_at DESC
LIMIT 5;
-- illustrative result
 id   | status    | amount
 9071 | completed | 100.00
 9070 | completed | 100.00   <- the same transfer twice

Now the bug is visible: there is no protection against a repeated request (a disabled button, idempotency). Black box would notice the duplicate only by carefully reconciling the balance and history, while Network and the database show both the duplicate and its cause at once. White box, in turn, looks at code level at whether all branches of such a function are covered:

function fee(amount: number) {
  if (amount <= 0) throw new Error('bad amount');
  if (amount > 10_000) return amount * 0.02;
  return amount * 0.01;
}

To execute every branch at least three tests are needed: amount ≤ 0, amount above 10,000 and an ordinary one. Branch coverage is the share of branches executed by such a set, and it shows where tests have never been.

Limits and alternatives. One hundred percent code coverage does not mean no bugs: it shows a line was executed but not that the expected result is right, and it does not see missing requirements or data-dependent and integration defects. Black box does not know which parts of the code were never exercised. Grey box depends on access and knowledge: "I partly know" has no clear border. There is a bias risk too: when a tester reads the implementation, they tend to check what the code does rather than what it should do by requirements. So the expected result comes from the requirements, not from the code.

Common mistakes.

  • Equating black box with manual and white box with automation: it is about the source of tests, not whether they are manual.
  • Trusting only the UI: a "Success" toast does not mean a correct record, event or email.
  • Preparing data by writing straight into the database and bypassing validation: states appear that are impossible in the product, and "bugs" follow from them.
  • Taking the expected result from the code: the test only confirms the implementation.
  • Chasing 100% coverage as a goal: it is an indicator of gaps, not of quality.

Check yourself

After saving a profile the UI says "Saved", but after a page refresh the old data is back. How does grey box help narrow the search?

Answer

In DevTools I look at the save request: whether it was sent, its status and body. If there was no request, or a 4xx that the interface swallowed, it is the front end. If it was 200 and the database or the next GET still holds old data, it is the back end. One look at the network and the record rules out half of the hypotheses.

A test set gives 100% branch coverage. Can the function be considered tested?

Answer

No. Coverage shows the code was executed, not that the result is right. It does not see requirements that are absent from the code, wrong expected values, data-dependent and integration defects. Tests from requirements (black box) are needed too.

In the interview. Junior: Black box is testing by requirements without knowing the code. White box is testing that takes the internal structure into account, usually done by developers. Grey box is when I know part of the internals: the API, the database, the logs, and use that for checks. Middle/Senior: By ISTQB the difference between black and white is the basis of the tests: the specification or the code structure, not the tester's knowledge. In practice I work grey box: an action in the UI, then the request in DevTools and the record in the database, because that is how double records, invalid statuses and missed events show up. I take the expected result from requirements, not from the code.

What is exploratory testing and how do you do it in a structured way?

Exploratory testing is an approach in which tests are designed, executed and evaluated at the same time, and the result of each step shapes the next. Sessions make it structured: a charter with a goal (explore what, with what, to find what information), a time limit, notes and a debrief. It complements automated regression but does not give repeatable evidence of coverage.

QA Fundamentals · Types of testing

No requirements yet and a demo in an hour. How do you "just click around" and still have something to show?

The product owner gave a new feature and one sentence of description. There are no test cases and an hour of time. You can click at random, but then there is nothing to show afterwards: what was checked, where the bugs were, what is left. Exploratory testing does allow working without ready cases, but in a structured way: with a goal, a time limit and notes. This lesson covers how to organise it.

How it works and why. In ISTQB, exploratory testing is an approach in which tests are designed, executed and evaluated at the same time, and what the tester learns from each step shapes the next one. A scripted test checks what was predicted in advance. An exploratory one finds what was not predicted: when requirements are incomplete, time is limited and the product is new, learning while testing is more effective than long preparation.

To keep it from being chaotic "clicking around", teams use session-based test management (Jon and James Bach): a charter (the mission of the session), a time box (usually 60-120 minutes without interruptions), notes during the work and a debrief afterwards. You can also track separately how much time went into testing, into bug investigation and into setup: that shows where the time goes.

One session from charter to debrief

Charter: the missionSession, 90 min uninterruptedTestingBugsSetupNotes: what, where, bugs and questionsDebrief with the team
Figure 1. The charter sets the direction, time is limited, and the result is notes and a debrief, not just a list of bugs.

A good charter is specific but does not prescribe steps. A handy template: "Explore what with what to discover which information".

A charter

Typical

"Test the payment"

It is unclear what counts as finished, whether the session is already done, and what to report. An hour later the notes say only "all ok".

Better

"Explore partial refunds with mixed payment to discover amount mismatches"

There is a goal, a subject and a kind of information. It is visible when the topic is exhausted, and it is easy to agree on the next charter.

Figure 2. A charter that is too broad turns a session into chaos, one that is too narrow turns it into a scripted test.

Example: the notes of one session. Even short notes turn "we clicked around" into a result you can show:

Charter: explore partial refunds with mixed payment
         to discover amount mismatches. 90 min.
Setup:   test env, 3 cards, order A-102 (2 items)
Notes:
 - refund 30% of one item: ok, balance +30.00
 - refund the same item twice: allowed, BUG-481
 - ? what if the card expired by the time of the refund
Bugs: BUG-481
Question: what is the max refund after partial shipment?
Ideas for cases: a refund after currency rounding

The notes answer "what exactly did you do?", and the list at the end (bugs, questions, ideas) is the real output of the session. In the debrief with a colleague or lead you discuss what was found, what stayed uncovered and which charter is next. To generate ideas, heuristics are used: boundary values, interrupting flows, changing the network, parallel actions, different roles and "tours" of the product (more in the separate lesson on exploratory testing).

Limits and alternatives. The result depends on domain knowledge and the tester's skills: a newcomer to the domain finds less. A session cannot be repeated exactly: notes show what was done but do not guarantee an identical pass. For checks that must be repeatable and documented (regulatory requirements, regression) scripted tests or automated tests are needed. A combination works best: automated regression holds the known, exploratory sessions look for the unknown. Coverage can be improved with pair testing or by rotating people between charters.

Common mistakes.

  • Starting without a charter: the session turns into random clicking, and nobody knows what was covered.
  • A charter that is too broad ("test the application"): you cannot say the session is finished.
  • No time limit: either exhaustion or endless digging in one place.
  • No notes: after the session you cannot retrace the path to a bug or show coverage.
  • Skipping the debrief: the findings stay in one tester's head.
  • Using exploratory testing where proof of coverage is needed, for example for an audit.

Check yourself

A charter reads "Test the cart". What is wrong with it and how do you fix it?

Answer

It is too broad: it is unclear when the session is done and what to look for. Make it specific with the template: "Explore adding, changing quantity and removing items in a cart with an active promo code to discover wrong totals". Then the boundaries and the expected output are visible.

In a 90-minute session 30 minutes went into investigating one bug. Did the session fail?

Answer

No, investigation is a normal part of a session. Record that time separately, and if it swallows the session, stop: write down the observation, file the bug as is and return to the charter. If a lot of time goes into environment setup, that is a signal to fix the stand.

In the interview. Junior: Exploratory testing is when I learn the product and design and run tests at the same time. To keep it controlled I work in sessions: a charter, limited time, notes. Middle/Senior: A session for me is a charter from the "what, with what, which information" template, 60-90 minutes without interruptions, notes and a debrief. The output is bugs, questions for the team and ideas for new cases. Exploratory sessions complement automated regression rather than replace it, and they do not fit where proof of coverage is needed.

What are alpha, beta and UAT?

Alpha, beta and UAT are forms of acceptance testing that answer whether the product is what is needed. Alpha is done by people outside the development team in the producer's environment, beta by real users of a limited group on their own devices, and UAT by the customer or business on a production-like stand, ending in a sign-off. UAT is done by the business, not by QA.

QA Fundamentals · Types of testing

The product is ready. Who should check it, and where, before it reaches everyone?

System testing is over: the functionality matches the specification and there are no critical bugs. Yet nobody has seen the product through the eyes of the people it was made for, or run it on their devices and their data. Alpha, beta and UAT close exactly this gap, but they differ in who tests, where and why. This lesson puts them in order.

How it works and why. All three belong to acceptance testing in ISTQB CTFL 4.0. System testing asks "was the product built to the specification" (verification), acceptance asks "is this what is needed" (validation), and it needs a view from people outside the development team. The forms differ by participants and environment:

FormWhoWhereWhy
AlphaOwn employees who are not developers, or independent testersThe producer's environmentEarly feedback from "almost users", before beta
BetaReal users of a limited groupTheir devices and the real environmentSee behaviour in real conditions, on real data and devices
UATThe customer or business usersA stand close to productionConfirm the product suits the business and accept it

Other forms of acceptance testing in ISTQB: operational (OAT: backup, recovery, maintenance), contractual and regulatory. The sequence depends on the product.

Two typical sequences

A product for many usersAlphainternalBetaselect usersReleaseA product for a customerUATbusinessSign-offacceptanceGo-liveboth follow system testing
Figure 1. For a consumer product alpha and beta follow system testing, for a custom solution UAT and an acceptance sign-off.

Example: a mobile bank and a corporate portal. For a mobile app, alpha is an internal build for the bank's employees that gives first feedback on usability and crashes. Beta is an open or closed track in the app store for hundreds of customers, with crash analytics. For a corporate portal built to order, the client's accountants run their real scenarios on a stand (monthly reporting, mass payouts), and the result is an acceptance sign-off. The difference is that beta looks for the unknown in real conditions, while UAT checks a known business expectation.

It matters that a beta without a plan turns into "we shipped it, let's see".

A beta

Typical

A beta without criteria

The build is handed out, feedback arrives chaotically in emails and reviews. Nobody knows when the beta is over, or whether it gave enough.

Better

A beta with criteria

A group, a feedback channel and metrics are chosen, for example the share of crash-free sessions, no open blockers, triaged reports. There is an end condition.

Figure 2. A beta pays off when it has a group, a feedback channel and exit criteria.

Limits and alternatives. Users find a lot, but not everything and not systematically, so a beta does not replace testing by the team. Feedback is noisy: some "bugs" are wishes or a misunderstanding of the interface. Real user data needs consent and protection (privacy). In modern SaaS teams the role of alpha and beta is often played by feature flags, gradual rollout (canary, staged rollout) and dogfooding: the essence is the same, only without a separate "beta version". Terminology differs between companies, so in an interview it helps to ask what they call alpha or beta.

Common mistakes.

  • Treating beta as a free way to test: users do not replace QA, and bugs that could have been found earlier reach them.
  • Having no feedback channel and triage: reports get lost.
  • Collecting user data in a beta without consent and anonymisation.
  • Running UAT with QA instead of the business: it replaces acceptance with system testing.
  • Not separating defects from wishes: everything lands in bugs, and the release stalls.

Check yourself

A beta build crashes in 3% of sessions on Android 9 and the team could not reproduce it on its stands. Why did the beta reveal it, and what do you do?

Answer

Users bring variety that stands lack: OS versions, devices, networks and real data. I collect crash logs and the distribution by device and version, reproduce on that OS (an emulator or a real device), file a bug with the data and add this configuration to the test matrix.

A portal was built to order for a corporate client. Which form of acceptance fits and what does QA do there?

Answer

UAT: the client's business users run their scenarios on a stand close to production and sign off acceptance. QA prepares the stand and data, helps write the scenarios, answers questions, records findings and separates defects from change requests.

In the interview. Junior: Alpha is testing in the developer's environment by people outside the development team (employees, independent testers) before going outside. Beta is real users in a limited group. UAT is acceptance of the product by the customer or the business. Middle/Senior: All three are forms of acceptance testing in ISTQB, and they answer "is this what is needed", not "does it match the specification". For beta I ask for exit criteria and a feedback channel, for UAT I prepare the environment, data and scenarios and separate defects from wishes. UAT is performed by the business, not by QA.

How does integration testing differ from end-to-end?

Integration testing checks how components interact through their interfaces, while end-to-end runs a full user scenario through the deployed system. Many integration checks are needed because they are fast and show where the failure is, while e2e tests are few and only for critical scenarios. Mocks encode the developer's assumptions, so a neighbour's contract is checked against a sandbox or with contract tests.

QA Fundamentals · Types of testing

All integration tests are green, yet the user cannot pay. What did they not check?

The team has a hundred integration tests and all of them pass. After a release card payment fails: the provider returns the amount as a string while our code expects a number. The tests with mocks did not see it, and there was no end-to-end payment scenario in the suite. This lesson covers what exactly an integration test checks, what e2e does, why one does not replace the other and where each ends.

How it works and why. Integration testing checks the interaction of components through their interfaces: front end and API, service and database, our back end and the payment provider. It looks for defects at the joints: data format, API contract, timeouts, handling of a neighbour's errors. The rest of the system may be replaced with stubs. End-to-end runs a full user scenario through the deployed system with real integrations: registration, top-up, transfer, statement.

In ISTQB CTFL 4.0 integration is two levels: component integration (interaction of components inside the system) and system integration (interaction with other systems, such as a provider). End-to-end is not a level in the syllabus but a way of testing: such scenarios usually belong to system testing (end-to-end scenarios with external systems also to system integration testing). In practice the word e2e is used for any UI test through the whole system.

How much of the chain a check covers

UIAPIPaymentProviderintegrationintegrationintegrationend-to-end: the whole user path
Figure 1. An integration check takes two neighbouring nodes, e2e the whole chain. The wider the coverage, the slower it is and the less precisely it points at the cause.

Hence the trade-off known as the test pyramid: many integration checks are needed (fast, precise, easy to reproduce), few e2e (slow, less stable, but they prove the most important scenarios work as a whole).

Integration and end-to-end

Integration

Coverage: two or three components.

Speed: seconds.

A failure points at the joint.

Count: many.

End-to-end

Coverage: the whole user path.

Speed: minutes.

A failure says "something in the chain".

Count: only key scenarios.

Figure 2. It is not "better or worse" but different questions at a different price.

Example: why the mock missed the bug. The integration test with the provider uses a mock that returns:

{ "status": "ok", "amount": 100.5 }

The real provider in its sandbox returns (shortened):

{ "status": "OK", "amount": "100.50", "currency": "UAH" }

The status is in a different case and the amount is a string: our code compares status === 'ok' and adds the amount as a number, so the payment ends in an error. The mock encodes the developer's assumption, not the real contract, so the test is green. A check against the provider's sandbox (or a contract test) would have found the mismatch at once and shown the exact place. An e2e payment scenario would have found it too, but only reporting "payment failed" without saying where, and much later.

Limits and alternatives. Mocks drift from reality as soon as a provider changes its format: protection against that is contract tests (consumer-driven contracts) and periodic checks against the sandbox. A provider's sandbox is not production: limits, delays and rare errors differ. A neighbour's faulty responses (503, timeout, partial body) are easiest to reproduce in integration tests with a controlled stub, because e2e cannot cause them reliably. End-to-end tests are useful where the integrity of the path matters (payment, registration) and harmful when used to check every validation.

Common mistakes.

  • Covering everything only with e2e: the suite is slow and unstable, and failures are hard to localise.
  • Mocking every neighbour and calling it an integration test: the joint is not checked.
  • Checking every field validation in e2e: the same is faster and more precise at lower levels.
  • Not testing neighbour failures (timeout, 5xx, a slow response): in production these hurt the most.
  • Calling any UI test e2e: the coverage must be a full path, not a step.

Check yourself

A payment provider returns 503 in 10% of cases. Which test shows that our service behaves correctly?

Answer

An integration test with a controlled stub that returns 503, a timeout and a slow response: we check retries, the message to the user and the absence of a double charge. e2e with a real provider will not reproduce such failures reliably.

An automated test goes through login via the UI on a deployed stand with a real database. Is it integration or e2e?

Answer

It is e2e (system level): a full path through the UI and deployed components. If the test checked only the joint of two components (for example a service and the database) in an isolated setup, it would be integration. The label depends on coverage, so in a team it is useful to name the boundaries, not the word.

In the interview. Junior: Integration testing checks the joint of several components, for example how our back end works with a payment provider. End-to-end checks the whole user path through the system. Middle/Senior: There are many integration tests, they are fast and show where the problem is, and there are few e2e tests, only for critical scenarios. I do not trust mocks as proof of a contract: I add checks against a sandbox or contract tests. By ISTQB integration is two levels (component and system integration), and e2e is rather a way of system testing.

Exploratory testing

Exploratory testing learns the product and designs and runs tests at once, and each step needs an idea of what to check and an oracle to recognise a bug. Ideas come from heuristics and tours (Money, Back-alley, Antisocial); oracles are history, comparable products, documentation and user expectations. Oracles are heuristic, so a finding must be justified, and a charter and notes set it apart from ad hoc clicking.

QA Fundamentals · Types of testing

The session is running and the ideas stopped at "enter an empty value". Where do new ones come from?

Twenty minutes of the session are behind you: empty fields, long strings, special characters, and nowhere to go next. This is a familiar wall for a beginner in exploratory testing, not proof that the feature is clean. Experienced testers take ideas from heuristics and "tours" of the product and know what to recognise a bug by when there are no requirements. This lesson is about generating ideas and judging what you see, while the structure of a session is covered in a separate lesson.

How it works and why. Exploratory testing learns the product, designs and runs tests at the same time, and the next step is shaped by the result of the previous one. Every iteration needs two things: an idea of what to check and an oracle, a way to recognise that what you see is wrong. Without an oracle a tester sees strange behaviour but cannot prove it is a bug.

The cycle and the oracle

1. Learn2. Design3. Execute4. EvaluateOraclehow to spot a problem
Figure 1. Every execution gives new knowledge that changes the next idea. The oracle decides whether what you saw is a problem.

Oracles (after James Bach, the HICCUPPS mnemonic) are sources of expectations: History (it used to work differently), Image (the image of the product and brand), Comparable products (similar apps), Claims (help, documentation, advertising), User expectations (what a user expects), Product (internal consistency), Purpose (what the product is for), Statutes (laws and standards). Oracles are heuristic: they suggest but do not guarantee an error, so a finding needs a justification and sometimes a clarification from the product owner.

For ideas, heuristics are used. For example, SFDIPOT (also Bach) reminds you what can be varied: Structure, Function, Data, Interfaces, Platform, Operations, Time. And "tours" (James Whittaker) set a viewpoint on the product:

TourWhat to doExample for a transfer form
MoneyGo through the most valuable functionsA transfer in different currencies and with a fee
LandmarkWalk the path between key screensAccounts, transfer, confirmation, statement
Back-alleyRarely used functionsA transfer template after the card was blocked
AntisocialInvalid and odd dataA minus, a comma instead of a dot, 10 thousand characters in a comment
All-nighterLong operation and timeThe form stays open until the session expires, then submit

Example: from "an empty field" to many ideas. A session on a transfer form, the ideas have run out. Change the viewpoint: the Back-alley tour gives "a template with a blocked card"; All-nighter gives "the session ended while the form was open"; cut the network after confirmation; change the role in the middle of filling in; open the form in two tabs at once. Then the oracle question: when the amount in a template exceeds a limit lowered after the template was saved, what does the user expect and what does the help say (Claims)? If the help promises "up to 50,000 UAH per day" and the system allowed 60,000, that is a confirmed bug. If there is no help and the balance shows three decimals, I apply "Comparable products" and "Purpose" (a currency has two decimals) and write it in the report as an inconsistency with a justification and a question to the product owner.

Scripted and exploratory

Scripted tests

Strong where checks are repeatable and must be documented: regression, conformance to requirements.

They find what was predicted.

Exploratory

Strong where requirements are incomplete, the feature is new or risks are unknown.

It finds what was not predicted.

Figure 2. They complement each other, it is not an either-or choice: both are needed in one project.

Limits and alternatives. Heuristics are hints, not rules: not every tour fits, and they do not guarantee coverage. Exploratory testing depends on the tester's skills and domain knowledge. It is not the same as ad hoc ("just click around"): it has a charter, notes and oracles. And error guessing is one technique used within it, not the whole approach. Where proof of coverage (an audit, regulation) or repeatability is needed, scripted testing is chosen.

Common mistakes.

  • The same ideas every time (empty, long, special characters): without changing role, data, time and platform there are few new findings.
  • Reporting personal preferences as bugs: without an oracle it is a subjective opinion.
  • Walking only negative scenarios and forgetting that the main functions carry the most risk (the Money tour).
  • Not keeping notes: findings and new ideas get lost.
  • Making exploratory the only kind of checking in the project: there is no repeatable protection against regression.

Check yourself

The app shows a balance with three decimals and the requirements say nothing about it. Is it a bug?

Answer

Most likely yes, but it has to be argued. Oracles: user expectations and purpose (a currency usually has two decimals), comparable products (other apps). I file it as an inconsistency with a justification and ask the product owner. Without an oracle it would be just my opinion.

At minute twenty of the session the ideas ran out. What do you do?

Answer

Change the viewpoint: another tour or heuristic (role, data, time, platform, interruption), review the notes with questions and blind spots, or ask a colleague to pair. Ideas run out when a tester keeps walking from one angle.

In the interview. Junior: Exploratory testing is learning the product and designing and running tests at the same time, where the next step depends on the result of the previous one. It has a charter, limited time and notes. Middle/Senior: For ideas I use heuristics and tours (Money, Back-alley, Antisocial and others), and to judge what I see I use oracles: history, comparable products, documentation, user expectations. It complements automated regression: it finds the unforeseen but does not give repeatable proof of coverage.

Functional, integration, system testing

Functional testing is a test type (what the system does), while integration and system testing are levels, so they are not in one row. Integration testing checks how components or systems interact, and system testing checks the whole system against requirements. CTFL 4.0 lists five levels: component, component integration, system, system integration and acceptance, and any type, including functional, can run at any level.

QA Fundamentals · Types of testing

The plan says "functional", "integration", "system". Are those three levels or three kinds?

The test plan has three items: functional, integration and system testing. A colleague suggests doing them in turn, as if they were three stages. But "functional" here stands in one row with levels, although it belongs to a different axis. The lesson separates the two axes into which ISTQB breaks testing: levels (where and when) and types (what we check), and shows why it is more than terminology.

How it works and why. A test level is a group of test activities organised and managed together, with its own test object, environment and performers. CTFL 4.0 lists five: component, component integration, system, system integration, acceptance. A test type is a group of activities aimed at checking a certain characteristic: functional, non-functional, black-box, white-box; confirmation and regression testing are described separately, as testing after changes. A type answers "what are we checking", a level answers "at what moment and on what".

Type or level

Type: "what do we check?"

Functional, non-functional, black-box, white-box.

Not tied to a development moment.

Can be performed at any level.

Level: "where and on what?"

Component, integration, system, acceptance.

Own object, environment and performers.

Goes together with the product build.

Figure 1. Two different axes, and mixing them means putting "what" and "where" in one row.

So any type can be performed at any level. A grid shows this conveniently.

Types and levels cross

ComponentIntegrationSystemFunctionalNon-func.fee() = 1%API → DBUI transferfee() timeAPI p95200 rps
Figure 2. A functional check can be done at three levels, and so can a non-functional one: only the object under test changes.

What is looked for at each level. Component testing checks individual modules, usually by developers, and the defects there are in the module's logic. Component integration looks for problems at the joints of components inside the system: data format, contracts, timeouts. System testing checks the system as a whole in an environment close to production, mostly as black box, and covers both functional and non-functional characteristics. System integration checks interaction with external systems. Acceptance answers whether the product can be accepted.

Example: placing an order at each level.

LevelObjectWhat we look for
ComponentThe calculateTotal functionRounding and discount errors
Component integrationThe order service and the stock serviceStock reservation: format and response to failure
SystemThe whole shop on a stand, from the cart to the emailThe full path, speed, access rights
System integrationThe shop and the payment provider, a delivery serviceContracts, notifications, neighbours' failures

In every row there can be both a functional and a non-functional check. That is how the answer to the interview question "what are functional, integration and system testing" is laid out.

Limits and alternatives. Names in teams do not match the syllabus: API tests with a real database are called "integration", and "functional" often means system tests through the UI. The test pyramid (unit, service, UI) is a division by architecture layers, not the ISTQB levels: they overlap but are not identical. In agile the levels do not go strictly one after another: component and integration tests run in CI on every change, while system and acceptance tests run on a deployed stand more often and in smaller portions. A useful rule: agree in the team on what each word means so you do not argue about labels.

Common mistakes.

  • Planning "functional first, then integration": these are different axes, and order matters only between levels.
  • Equating functional and black-box: the first is about the goal of a check, the second about the source of tests.
  • Treating system testing as only e2e through the UI: it also covers non-functional characteristics and the API.
  • Skipping system integration when external systems exist: then the joint with the provider is first checked in production.
  • Not saying at which level and on which environment a check was done: "tested" without this means nothing.

Check yourself

An automated test calls POST /orders on a deployed stand and checks that the order is created and the record is in the database. What type and level is it?

Answer

The type is functional. The level depends on the object: if the whole deployed system is tested through its API, it is system testing, and if two services in an isolated setup, it is integration. The label is defined by the coverage, so in a report I write what exactly was included in the test.

Why can "functional, integration and system" not be put in one row as three consecutive stages?

Answer

Functional is a type (what we check), while integration and system are levels (where and on what). A functional check is performed at every level. Sequence makes sense only between levels, and not strictly even then.

In the interview. Junior: Functional testing checks what the system does by requirements. Integration testing checks the interaction of modules or services. System testing checks the system as a whole in an environment close to production. Middle/Senior: By ISTQB functional is a test type, while integration and system are levels, so the first is performed at any of the others. There are two integration levels: component integration and system integration with external systems. System testing covers functional and non-functional checks on the full system, usually as black box.

Regression vs retest and the scope of regression

The regression scope is chosen by the change's impact and by risk, not by running everything, and what is skipped is recorded with the reason. First find out what changed (the diff, a talk with the developer) and what depends on it. Priority goes to changed areas, then critical flows (login, payment) and places with a bug history. A retest confirms a fixed bug, while regression looks for breakage elsewhere.

QA Fundamentals · Types of testing

The release is tomorrow and regression takes two days. What exactly do you run and what can you leave?

The regression suite grows with every release, and the time before shipping shrinks. Running everything is impossible, and "run what we manage" means chance: lucky today, not tomorrow. This lesson is about choosing the regression scope deliberately, by area of change and risk, and recording what was skipped. A short note on the difference between a retest and regression: a retest confirms a specific fixed bug, regression looks for what the change broke elsewhere (more in the lesson on the retest).

How it works and why. A regression scope is an answer to two questions: what could the change have touched (impact) and what does it cost if this is broken (risk). So the process has steps: understand what changed (git diff, release notes, a talk with the developer), assess impact (which modules, data, configs, external calls depend on what changed), assess risk (probability of error: new or complex logic, frequency of changes, bug history; consequence: money, data, number of users), pick checks by priority, and write down what is skipped together with the reason.

In which order to pick checks

1. Changed areas2. Neighbouring modules3. Critical flows4. Past bug hot spots5. The rest: automation
Figure 1. Take from top to bottom until time runs out. The stable checks of the rest are covered by automation.

The order is not random: risk is highest closest to the changes, because code was altered there, next come dependencies, then what is most expensive to break (login, payment, checkout), and finally areas where bugs occurred before (they tend to recur).

Example: from "everything" to a justified selection. The release contains new card limit logic and an updated date library, with one day for testing.

An approach to regression

Typical

"I will run what I manage"

The suite is taken from the top of the list. Depending on order, the profile gets checked and the transfer does not. Nobody knows what was skipped.

Better

Scope by impact and risk

There is a record of what changed and why these checks were chosen. The skipped part is named, and the risk is agreed with those who answer for it.

Figure 2. The difference is not the number of checks but that the choice can be explained and repeated.

For this release the scope record looks like this:

Change: card limits (PR 412), date library update
Impact: transfer, top-up, limit settings, statement (dates)
High risk: a transfer over the limit, a payment at the day boundary
Take: 12 manual cases + payment automation
Skip: profile, help (unchanged, not touched)
Risk accepted: PM informed

What matters here: the date library update looked neutral but it affects everything that works with dates (the statement, the day boundary for limits), so it went into the impact assessment. And profile and help are skipped deliberately, with a record and a message to the PM, not silently. This is the answer to "how do you decide what to test when time is short".

For selection it helps to rate each area with two numbers, for example from 1 to 3:

AreaProbabilityConsequenceDecision
A transfer over the limit3 (new logic)3 (money)A manual case + an automated test
Statement (dates)2 (library)2A case at the day boundary
User profile11Skip, record

Limits and alternatives. Impact analysis can miss hidden dependencies: shared libraries, configs, database triggers, feature flags. So a talk with the developer matters more than a diff alone, and a test-to-module map or code coverage helps find which tests touch the changed code. Risk-based selection is a decision under uncertainty: it can be wrong, so the skipped part is recorded and after the release you look at whether defects slipped through. An automated regression suite is better run in full on every build, while manual time is kept for new and risky areas. The suite also needs cleaning: obsolete and duplicate tests make regression heavier without benefit.

Common mistakes.

  • Choosing the scope "by eye", without a talk with the developer and without the diff.
  • Checking only the changed area and forgetting dependencies and critical flows.
  • Silently skipping part and not telling anyone about the accepted risk.
  • Repeating stable, automated checks by hand instead of new risky ones.
  • Never cleaning the suite: regression grows until nobody can finish it.
  • Treating a config or dependency change as "not code": they need regression too.

Check yourself

A hotfix changes one function that rounds amounts, and there are two hours for testing. What is the scope?

Answer

I find who calls the function (with the developer or by searching the code): order totals, fees, refunds, the statement. I take the retest of the bug, boundary amounts (cents, large numbers) and an end-to-end payment check. I do not touch unrelated areas such as the profile. I record what is skipped.

A colleague says: "regression scope is just the files from the diff". Why is that not enough?

Answer

A diff does not show indirect dependencies: shared libraries, configs, data, triggers, feature flags, so a change in one file affects other modules. A talk with the developer and a dependency or coverage map are needed, and critical flows are taken regardless of the diff.

In the interview. Junior: Regression checks that changes did not break existing behaviour. A retest confirms a specific fixed bug. When time is short I take the changed areas, neighbouring modules and critical flows. Middle/Senior: I define the scope by impact and risk: a talk with the developer, git diff, an estimate of probability and consequence for each area, priority from the changed areas to critical flows and past bug hot spots. I cover the stable part with automation, record what is skipped with the reason and agree the risk with the PM.

UAT

UAT is acceptance testing in which the customer or business users check whether the system suits their needs, on a production-like stand. It is validation, not verification, it is done by the business, and its result is a sign-off. QA prepares the stand, data and scenarios and sorts findings into defects, change requests and misunderstandings. UAT starts once system testing is complete.

QA Fundamentals · Types of testing

The customer brought 30 "bugs" from UAT and half of them are "we wanted it differently". Is that a failure?

After a week of acceptance the customer sends a table of thirty items. Two developers are about to start fixing, while QA sees that some items are not defects but wishes that nobody voiced before. Who made the mistake? Probably nobody: UAT answers a different question than system testing, and that is why expectations, roles and the way findings are handled differ.

How it works and why. User Acceptance Testing is a form of acceptance testing in which the customer or end users check whether the system suits their business needs, in an environment close to production, after system testing. The question is not "are there bugs" but "does the product solve our task and are we ready to accept it". This is validation (is it what is needed), not verification (is it built to the specification). The result is a decision to accept, the sign-off.

UAT is performed by the business, not by QA: only users know what is "right" for them. The QA role: prepare the stand and data, help write scenarios, train users, record and triage findings, link them to requirements and separate defects from change requests. Before the start entry criteria are needed (system testing finished, no open blockers or critical defects, stand and data ready, scenarios agreed), and at the end exit criteria (scenarios executed, an agreed pass rate, no open critical issues, a signature).

The UAT process and roles

1. Prepare: stand, data, scenarios2. The business runs the scenarios3. Triage: defect or change request4. Fixes and retest5. Acceptance sign-offQA: steps 1, 3, 4. Business: 2 and 5
Figure 1. QA prepares, triages and checks the fixes, while the business runs the scenarios and makes the decision.

Example: a scenario in business language and triage of findings. A UAT scenario is written in the language of the role, not technically.

A UAT scenario

Typical

"Send POST /payouts with a valid token"

A business user does not know what a token is and cannot do this. The scenario checks the system, not its fitness for work.

Better

"An accountant pays out salaries from a register of 50 employees"

The scenario describes the user's task in their words, with preconditions and a result visible on screen.

Figure 2. A UAT scenario is built from user tasks, not from API methods.

An example of such a scenario:

Scenario UAT-07: mass salary payout
Role: accountant
Preconditions: a register of 50 employees, enough funds on the account
Steps: 1. Upload the register. 2. Check the total.
       3. Confirm the payout.
Expected: 50 payouts with status "Completed", the statement
          total matches the register
Result: [accepted / not accepted]   Comment: ...

Triage of findings is the main QA skill in UAT. Three typical cases and actions:

FindingWhat it isWhat to do
The statement total does not match the registerA defect: behaviour contradicts a requirementA bug with a priority, a fix, a retest, confirmation
"We want one more column with the job title"A change request: a requirement that did not existSeparate from bugs, an estimate, the PO's decision, the next release or a scope change
"We could not find where to confirm"A misunderstanding or a usability issueAn explanation, training, a backlog item if needed

Hence the answer to the opening situation: thirty items are not a failure if they are quickly sorted into these categories, linked to requirements and agreed on what goes into the current release. Telling a defect from a change request matters most in contract development, where new requirements mean money and deadlines.

Limits and alternatives. Late UAT is a late meeting with reality: if requirements were misunderstood, it comes out right before launch. So the business is involved earlier: demos every sprint, acceptance criteria in stories, BDD scenarios. In agile part of the acceptance is done by the PO at the sprint review, while a full UAT is done before big releases or launches. UAT data must be realistic but anonymised. Other forms of acceptance testing: operational (OAT), contractual, regulatory, alpha and beta.

Common mistakes.

  • Running UAT with QA instead of the business: acceptance is replaced by system testing.
  • Starting UAT on a build that has not passed system testing: the business spends time on obvious bugs and loses trust.
  • Having no completion criteria and sign-off: acceptance drags on endlessly.
  • Writing scenarios in technical language: users cannot execute them.
  • Mixing bugs and change requests: developers fix "bugs" that were not in the requirements, and the release slips.
  • Not preparing data and access: half of UAT time goes into organisation, not checking.

Check yourself

The customer sent 30 findings, half of them "we wanted it differently". What do you do?

Answer

I triage each one: a defect (contradicts a requirement), a change request (there was no requirement) or a misunderstanding. Defects I file as bugs, change requests I take out separately for the PO to decide with an impact estimate, misunderstandings I close with an explanation. I agree with the customer what goes into the current release.

Why should UAT not start from a build that has not passed system testing?

Answer

Business users will run into obvious defects the team should have found, spend their time and lose trust in the product. That is what entry criteria are for: system testing finished, no critical bugs, stand and data ready.

In the interview. Junior: UAT is acceptance testing by the customer or the business: whether the product meets their needs. QA helps with scenarios, the environment and triage of findings. Middle/Senior: UAT is validation, it is performed by the business, and the outcome is a sign-off. I prepare the stand, data and scenarios in business language, require finished system testing at entry, and triage findings into defects, change requests and misunderstandings. So that UAT is not a surprise, I involve the business earlier: demos, acceptance criteria.

Kinds of load testing and JMeter

Load testing checks the expected load, stress finds the limit and recovery, spike checks a sudden jump, and soak (endurance) checks stability over hours. Measure response-time percentiles (p95, p99), throughput and error rate rather than the average, together with server metrics. In JMeter a Thread Group sets users and ramp-up, a Sampler is a request, Assertions check the response, and a big test runs in non-GUI mode.

QA Fundamentals · Types of testing

The site handles 100 users. What happens when a mailing brings 10,000?

The page was checked by hand and on a test stand with a few people: everything is fast. On mailing day the site answers in thirty seconds, then starts returning 502. The different kinds of load testing exist precisely because "slow" has different causes: too many users, a sudden jump, long work without a break. The lesson covers these kinds, the metrics and how JMeter is organised.

How it works and why. In ISTQB performance is a non-functional characteristic (performance efficiency), and performance testing checks it under load. Different kinds answer different questions:

KindQuestionWhat we look for
LoadDoes the system cope with the expected load?Response time and errors within the SLA, for example 1000 concurrent users at peak
StressWhere is the limit and how does the system behave beyond it?The failure point, whether it recovers after the load drops
SpikeWhat if the load grows suddenly?A sale or a mailing: queues, timeouts, autoscaling
Soak (endurance)Is the system stable for hours?Memory leaks, growing queues, degradation
ScalabilityWill adding resources help?How performance depends on the number of nodes

Load profiles over time

loadstressspikesoak
Figure 1. The same application is checked with different forms of load: from an even plateau to a sharp jump.

The result is not "held or not" but a set of measurements: response time (the average misleads, so percentiles p95 and p99 are used), throughput (requests per second), error rate, resource usage (CPU, memory, database connections). Simple relations help planning: the number of requests in flight at once is roughly throughput times response time (Little's law): 200 requests per second at 0.5 s give about 100 concurrent requests.

Example: from "100 threads, average 280 ms" to a test you can believe.

A load test

Typical

100 threads, ramp-up 0, one user, average 280 ms

All threads start together, the same request hits the cache, there are no pauses, and only the average is looked at. "Passed" guarantees nothing.

Better

A scenario by a real user profile

A gradual ramp-up, different data, pauses between actions, a mix of requests, thresholds on p95/p99 and the error rate. The test can be repeated and compared.

Figure 2. An honest load test models real users and measures what users feel, not the average.

JMeter. A popular open-source tool for load testing at the protocol level (HTTP and others; it does not run a browser with JavaScript). The base is a Test Plan, where a Thread Group sets the number of virtual users (threads), the ramp-up (over what time they start) and the number of iterations or the duration. A Sampler is the request itself (for example an HTTP Request). Assertions check the response (status, text, time), Listeners collect results, Config Elements (CSV Data Set Config, HTTP Header Manager, HTTP Request Defaults) set data and shared settings, and Timers add pauses between actions (think time).

Test Plan
|- HTTP Request Defaults     (server, port)
|- HTTP Header Manager       (Authorization, Content-Type)
|- CSV Data Set Config       (users.csv: login, password)
|- Thread Group              (200 users, ramp-up 60 s, 10 min)
|  |- HTTP Request: POST /login
|  |  '- Response Assertion   (status 200, body has "token")
|  |- Uniform Random Timer    (think time 1-3 s)
|  '- HTTP Request: POST /transfers
'- Summary Report

A real run is started in non-GUI mode, and the graphical interface is left for debugging the scenario:

jmeter -n -t plan.jmx -l results.jtl -e -o report/

Here -n is non-GUI, -t the plan file, -l the results file, -e -o generate an HTML report into the given (empty) folder. Heavy listeners such as View Results Tree are switched off for a large test: they create load on the generator themselves.

Limits and alternatives. A result on a smaller stand does not scale linearly to production. The load generator itself can become the bottleneck: if it is overloaded, the measured latency is wrong, and then the test is run distributed. Server metrics (CPU, memory, database) are watched as well, otherwise you see only the symptom. Without a goal (SLA, SLO) a test proves nothing. Alternatives to JMeter: k6 (scripts in JavaScript), Gatling, Locust (Python). Testing production should be done only by agreement and carefully.

Common mistakes.

  • Ramp-up 0 and no pauses: an unrealistic burst that hardly resembles real users.
  • The same data for everyone: the cache distorts the result.
  • Looking only at the average: the tail of slow requests is lost.
  • Running a big test from the GUI with heavy listeners: the generator becomes the bottleneck.
  • Having no goal and thresholds: after the test it is unclear whether it is good or bad.
  • Ignoring server metrics: we see "slow" but not the cause.

Check yourself

An 8-hour overnight test at normal load: the service memory grows from 2 to 7 GB. What kind of test is it and what did it show?

Answer

Soak (endurance) testing. It showed a sign of a memory leak: under steady load the resource is not released. A short load test would not have seen it, because the problem appears only over time.

The average response time is 280 ms, yet users complain about slowness. Why does the average not match?

Answer

The average hides the tail: a small share of very slow requests barely moves the average, but that is exactly what users feel. I look at percentiles p95 and p99, the breakdown by endpoint and the errors.

In the interview. Junior: Load testing checks the system under the expected load, stress testing loads it beyond the norm to the failure point. There are also spike (a sharp jump) and soak (long work). In JMeter the Thread Group sets the users, a Sampler is a request, Assertions check the response. Middle/Senior: I choose the kind of test by the question: load for the SLA, stress for the limit and recovery, spike for sales, soak for leaks. I measure percentiles p95 and p99, throughput and error rate, not the average. In JMeter with a scenario of real users (ramp-up, pauses, different data) run in non-GUI mode, with server metrics alongside.

How to build and maintain a regression suite

A regression suite is built by risk, value of the signal and the cost of running and maintaining it, not by the number of cases. Every case has a link and an owner, fast critical-path checks run on every build, and a wider set runs nightly or before a release. Stable and frequent checks are automated, outdated cases are retired and flaky tests go into quarantine with a deadline.

QA Fundamentals · Types of testing

The regression suite has grown to two thousand cases and takes three days. What do you do with it?

The suite started with thirty cases and grew to two thousand in three years. A run takes three days, some cases describe screens that no longer exist, a few automated tests fail every other run, and new features are tested separately because someone will "add them to the suite later". At senior level an interview does not ask what regression is, it asks how you build and maintain the suite so that it stays useful. This lesson is about the standing suite. Choosing checks for a particular release by the area of change is covered in the lesson about regression scope.

How it works

A regression suite is a portfolio of checks with a limited time budget. Every case has to justify its place by three things: the risk it covers, the value of the signal it gives, and the cost of running and maintaining it. That is why the suite lives in a cycle: add, assign a tier, run, review, retire.

What goes into the suite. Critical business flows (login, payment, checkout), areas with a defect history, areas that change often, and seams with other systems. Every case has a link: to a requirement, a risk or an incident. A case with no link cannot be retired or updated on solid grounds. After each defect that reached production, a check is added at the cheapest level that would have caught it: often a unit or API test, not one more e2e.

Tiers by run frequency. Fast checks of the critical path run on every build or merge and take minutes. A wider set runs nightly or before a release. Rare and expensive ones (a browser matrix, long flows) run on a schedule or before big releases. Tiers keep the signal fast: a developer gets an answer while still remembering the change.

What to automate and what to keep manual. Automate stable, repeatable, deterministic checks of high value that run often. Keep manual new unstable features, judging usability and looks, one-off and exploratory checks, and those where setup costs more than the gain. Automation is not a goal: it pays off when its maintenance costs less than the repeated manual runs.

Example: reviewing a suite by risk

CaseDecisionWhy
Card payment, happy pathKeep, automated, fastest tierMoney, runs on every build
40 UI cases of a discount for various amounts and languagesReplace: 5 unit and API checks, 1 e2eThe logic is cheaper to check lower, the UI keeps one scenario
The "Bonuses" screen removed in the last releaseRetireIt checks something that does not exist
An export automated test that fails every other runQuarantine with an owner and a deadline: fix or deleteA flaky test teaches the team to ignore red
Judging the new form designManual, not in the suiteNeeds human judgement, the design is still changing

Note that a case that has never failed is not retired automatically: a payment check may not fail for years and still be the most important one. The decision is made by risk, not only by the failure history.

Maintenance. The suite is reviewed on a schedule, for example every quarter or after each big release, and every area has an owner. The indicators of the suite’s health are tracked: duration of each tier, the share of flaky tests, the share of failures that turned out to be real defects, and defects that slipped through in areas without cases. The number of cases is not a goal: more does not mean better.

Limits and alternatives

  • In a small team or at the start of a product a checklist of critical flows is enough: a full suite with tiers and owners costs more than it returns.
  • For a product with no documentation and no defect history, start with production incidents and a talk with support: they show what really breaks.
  • Retiring a case does not mean the risk is gone. If a case is removed and the risk stays, the risk is moved to another level or another kind of check, not forgotten.

Common mistakes

  • Only adding. The suite grows, the run gets longer, and in the end it is cut down at random. Consequence: random gaps instead of a choice.
  • Keeping flaky tests in the main suite. People stop reading the red result and a real breakage gets lost.
  • Automating everything. Maintenance swallows time and flaky checks eat the trust.
  • Having no owner. An area without an owner ages silently: cases describe the old interface.
  • Counting success by the number of cases. Consequence: duplicates and minor variations instead of risk coverage.

Check yourself

The payment automated test fails once every ten runs, with no code changes. The team suggests switching it off. What do you propose?

Answer

Do not switch it off silently, because payment is critical. Move it to quarantine with an owner and a deadline, find the cause of the flakiness (data, waits, environment), fix it, and for the time of the quarantine cover payment with another, steadier check, for example an API test. If it cannot be fixed, rewrite it at a lower level.

After a rounding incident in production you are asked to "add a test". Where and which one?

Answer

First find the lowest level at which the error can be caught: a rounding function is a unit test with boundary amounts. Add it, link it to the incident and the requirement, and add to the regression e2e suite only one end-to-end scenario, if the seam between services could have broken too.

In an interview. Junior: A regression suite checks that new changes did not break existing behaviour. I put in critical flows and places that already had bugs, and I remove outdated cases. Middle/Senior: The suite is a portfolio by risk, value of the signal and cost: every case has a link and an owner, a fast tier runs on every build, a wide one nightly or before a release. I automate what is stable and frequent and keep manual what is unstable or judgement-based. I review on a schedule: duplicates, dead cases and flaky tests go into quarantine with a deadline, and after every escaped defect I add a check at the cheapest level.

Accessibility testing in practice: WCAG 2.2 for a QA Engineer

Accessibility is checked against WCAG 2.2 in three layers: a scanner in CI, a manual pass (keyboard, text enlargement, field labels) and a screen reader. A scanner finds only what a rule can decide, so "0 errors" does not prove conformance. In the EU the European Accessibility Act (EAA) applies to products placed on the market after 28 June 2025 and to services provided after that date, existing ones included.

Manual QA · Accessibility

The scanner shows 0 errors, yet the dialog cannot be closed from the keyboard. Whose verdict counts?

A new payment page was checked with an automated scanner: 0 violations. A tester puts the mouse aside, presses Tab and sees that the "Pay" button is built from a div, focus never reaches it, and the card field has only a hint that disappears while typing. The scanner did not make a mistake: it checked what a rule can decide, and only a person checks the rest. This article is about how a QA Engineer tests accessibility against WCAG 2.2: what the requirements are, which checks to automate and which to do by hand, and why this became a legal question for the EU market.

How it is built and why. WCAG (Web Content Accessibility Guidelines) 2.2 became a W3C Recommendation on 5 October 2023 (the current edition is dated 12 December 2024). Requirements are written as success criteria with levels A, AA and AAA: the higher the level, the stricter the requirement. Version 2.2 is backwards compatible with 2.1: a page that conforms to 2.2 is at least as accessible as under 2.1. Criterion 4.1.1 Parsing was removed in 2.2 as obsolete. The criteria are worded so that they can be verified: each describes an outcome for the user, not a way to implement it. That is why the same criterion is checked both with a scanner (where the rule is unambiguous) and by hand (where judgement is needed).

The criteria a QA meets most often:

CriterionLevelWhat is checked
1.1.1 Non-text ContentAA text alternative for images
1.4.3 Contrast (Minimum)AA4.5:1 for text, 3:1 for large text
1.4.11 Non-text ContrastAA3:1 for interface components and states
2.1.1 KeyboardAEverything works from the keyboard
2.1.2 No Keyboard TrapAThe keyboard can leave the component
2.4.3 Focus OrderAFocus order preserves meaning
2.4.7 Focus VisibleAAFocus is visible
4.1.2 Name, Role, ValueAThe name and role of a component are programmatically determined

What 2.2 added. New criteria: 2.4.11 Focus Not Obscured (Minimum), AA: a focused element is not entirely hidden by author content, such as a sticky header or a cookie banner; 2.4.12 Focus Not Obscured (Enhanced) and 2.4.13 Focus Appearance, AAA; 2.5.7 Dragging Movements, AA: any dragging action can be done with a single pointer without dragging; 2.5.8 Target Size (Minimum), AA: pointer targets are at least 24 by 24 CSS pixels or have enough spacing; 3.2.6 Consistent Help, A: repeated help appears in the same order; 3.3.7 Redundant Entry, A: what was already entered in the same process is filled in or selectable; 3.3.8 Accessible Authentication (Minimum), AA: signing in does not require a cognitive test (remembering a password or solving a puzzle) without an alternative or assistance; 3.3.9 Accessible Authentication (Enhanced), AAA. For QA these are ready checklist items: a sticky header, drag-and-drop lists, small icons on mobile, sign-in forms where pasting a password works.

Three layers of checking. Automated. The axe-core scanner in CI catches regressions cheaply. With Playwright that is @axe-core/playwright; the documentation suggests limiting WCAG tags, and its list ends at wcag21aa, but axe-core also has a wcag22aa tag (WCAG 2.2 AA), so it is added for a 2.2 AA target, and which 2.2 criteria the rules of your version cover is checked separately. The scanner does not see closed modal windows until they are opened, and "needs review" (incomplete) results are looked at by hand. Manual pass. The quick W3C checks (Easy Checks): image alt text, page title, headings, contrast, a skip link, visible keyboard focus, page language, zoom, captions and transcripts, form labels and required fields. W3C itself says this is not a full evaluation. Screen reader and users. On key flows (sign-in, payment) you go through with a screen reader (NVDA, VoiceOver, TalkBack) and, if possible, with people who use one: only that shows whether the announcements are understandable.

Worked example: before and after. A fragment of the payment page that a scanner will partly miss or judge only by the presence of attributes:

<div class="btn" onclick="pay()">Сплатити</div>
<input placeholder="Номер картки">
<img src="limits.png">

Diagnosis. A div with onclick does not enter the Tab order and has no button role: 2.1.1 (keyboard) and 4.1.2 (name and role) are not met. A field without a label: the hint disappears as soon as the person types, and W3C in its quick checks advises making sure that every field has a label. An image without alt violates 1.1.1. The fix replaces custom elements with native ones:

<button type="button" onclick="pay()">Сплатити</button>
<label for="card">Номер картки</label>
<input id="card" inputmode="numeric">
<img src="limits.png" alt="Ліміти за картками">

A native button brings focus, the Enter and Space keys and the role, so it is more correct than adding tabindex and role to a div. The alt text describes the purpose of the image in context, while a purely decorative one is marked with an empty alt="". A regression of this kind is pinned with a test:

import AxeBuilder from '@axe-core/playwright';

test('pay page: keyboard and scan', async ({ page }) => {
  await page.goto('/pay');
  await page.keyboard.press('Tab');
  await expect(page.getByRole('button', { name: 'Сплатити' })).toBeFocused();
  const scan = await new AxeBuilder({ page })
    .withTags(['wcag2a', 'wcag2aa', 'wcag21a', 'wcag21aa', 'wcag22aa'])
    .analyze();
  expect(scan.violations).toEqual([]);
});

The first Tab lands on the button only if it is first in the order, so in a real page the number of presses is adapted to its structure. An empty violations array proves only that nothing was found automatically.

Limits. No set of checks proves full conformance: for a full evaluation W3C recommends the WCAG-EM methodology and involving users. If only the initial state was checked, dialogs, error messages, dropdown menus and post-action states stay unseen. Mobile apps have their own platform tools (the VoiceOver and TalkBack screen readers), although WCAG itself is written for the web.

Why this is now a legal question. The European Accessibility Act (EAA) applies to products placed on the EU market after 28 June 2025 and to services provided to consumers after that date, existing ones included (their transitional periods run until 28 June 2030). Covered are online shops, banking services, e-books, ATMs and ticketing services. A service business with fewer than 10 employees and a turnover under 2 million euros is exempt, and only for services; everyone else can claim a disproportionate burden but must document the assessment, renew it at least every five years and inform the market surveillance authorities. An EU declaration of conformity is drawn up by product manufacturers, while service providers describe conformity in publicly available information about the service. The European standard EN 301 549: the latest version the Commission calls harmonised is 3.2.1, based on WCAG 2.1; version 4.1.1 (September 2026) refers to WCAG 2.2 levels A and AA, and its legal weight depends on being cited in the Official Journal of the EU, so the status is checked on the day. Aiming at WCAG 2.2 AA is sensible because it covers the 2.1 requirements. For QA the consequence is practical: accessibility reports become evidence, not a formality.

Common mistakes.

  • "0 violations" as a verdict. A scanner does not judge the meaning of alt text or focus order, so missed defects reach users.
  • Checking only with a mouse. Then unreachable controls, invisible focus and traps in widgets stay unseen.
  • Contrast of text only. Field borders, icons and component states have their own 3:1 threshold (1.4.11).
  • One initial state. Dialogs, validation errors and menus are checked while open, because the scanner does not see what is hidden.
  • Custom elements instead of native ones. Every div button needs focus, keys and a role by hand, and that is exactly what is usually forgotten.

Check yourself

A sticky 80px header covers the "Next" button when it receives keyboard focus. Which criterion is violated and why is it only visible by hand?

Answer

2.4.11 Focus Not Obscured (Minimum), level AA: a focused element must not be entirely hidden by author content. The defect appears only during a Tab walk with scrolling in a real window, so a person reliably sees it, not a check of the markup in one state.

A close icon is 16 by 16 CSS pixels, and other buttons sit 2px away from it. Is that enough under 2.5.8?

Answer

No, unless an exception applies: the target is smaller than 24 by 24 CSS pixels, and a 24px circle around it reaches 4px beyond the icon and intersects neighbouring targets 2px away. An exception is given, for example, by another control that performs the same action and meets the requirement.

In the interview. Junior: I check accessibility against WCAG: with the keyboard and no mouse, with enlarged text, contrast, field labels and image alt text, plus an automated scanner. Middle/Senior: Automation in CI catches regressions but not meaning-related things, so I add a manual pass and a screen reader on key flows. I aim at WCAG 2.2 AA because it covers 2.1 and gives headroom for EU requirements, and I keep the reports as evidence of conformity.