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

QA Fundamentals › Types of testing

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.

More articles in this chapter