UAT Scenarios

A UAT scenario describes a piece of real business work that an intended user carries out in the new system to judge whether it supports that work: who does it, from which business situation, what they do in business terms and which business outcome they expect. For example: the accounts payable clerk registers a supplier invoice of 18,400.00 SAR that matches its purchase order, the finance manager approves it, and it appears in Thursday’s payment run.

It starts from a test scenario in the sense of the lesson on test scenarios, a situation and the outcome that matters, but in UAT the word usually covers more: the scenario also gives realistic data and a few steps written as business actions, so that a user can run it without a tester. That brings it close to an end-to-end test case, and some teams call it a UAT script. It also differs in three ways: it is written for business users and reviewed by them, it follows a business process across roles and screens instead of one function, and its expected result is a business outcome rather than a field value. The UAT plan decided who tests, where and when; the scenarios decide what they will actually do.

Why it matters

Business users usually join UAT for a limited time, next to their normal work. If the scenarios are written in tester language, with field names and click paths, users either need a tester beside them or follow the clicks without thinking about their work: the screens get checked, the process does not. If the scenarios cover only the ordinary case, the rules the business runs on, such as approval limits and price tolerances, reach production without the people who own them ever seeing them applied.

For the tester, good scenarios turn a UAT session into evidence. Each scenario traces to a process step and to the rules it shows, so the results can support an acceptance decision instead of a general impression that "it seemed fine".

Writing scenarios from business processes

Start from how the business works, not from the screens or the list of requirements. Take each business process in the UAT scope, for example procure to pay (from ordering goods to paying the supplier) or hire to retire (from hiring an employee to their departure), and walk through it with the process owner or a key user, an experienced user who represents colleagues in the same role. Write down each activity in order, the role that performs it, what triggers it, what it produces and where the work goes next, including hand-offs to other teams and systems.

Then write one end-to-end main scenario for the ordinary path: the work as it happens on a normal day, with normal data. It shows that the process holds together across roles. Next, add variant scenarios for the other situations the business must handle. The ISTQB Acceptance Testing syllabus calls this business process-based testing: acceptance tests are derived from models of the business processes and their rules, covering the paths through a process and the decisions in its rules.

  • Roles: the same step done by a manager, a deputy covering an absence, or a new joiner with fewer permissions.
  • Business data: a local and a foreign supplier, a new and an existing customer, a small and a large order.
  • Exceptions the business handles: rejection, correction, cancellation, a return, a partial delivery.
  • Calendar events: month end, year end, a public holiday, a price change that takes effect on a set date.
  • Where to find all this: process maps, work instructions, user stories and acceptance criteria, the reports users rely on, and the workarounds and complaints of the current system.

Try it: Requirements → Test Scenarios Try it: User Story → Test Scenarios

Language business users can work with

A business user should be able to read a scenario and say "yes, this is my work" before running it. Write in the users’ own vocabulary and, where they work in Arabic or Hindi, in their language. Ask a key user to review the wording before the session: a scenario that confuses its reader wastes the scarcest time in UAT.

  • Put the business goal in the title: "Pay a supplier invoice that matches its order", not "TC_AP_014 save invoice".
  • Write intent, not clicks: "Faisal approves the invoice", not "click btnApprove in the right panel". Click paths hide the business question and break when a screen changes. If users are new to the system, give them a short how-to guide separately.
  • Use the business’s terms: supplier, goods receipt, payment run, not vendor_id or "GRN record", unless the users themselves talk that way.
  • Give realistic data the users recognise: a named supplier, amounts, dates, and the role and test account to use.
  • State the expected business outcome the user can check: what they see, what reaches the next person in the process, which document or amount is produced.
  • Keep one business goal per scenario and a handful of steps, and leave room for the user’s verdict and comments.

Covering the business rules

A main scenario shows that the process works for an ordinary case. Many acceptance problems, however, sit in the business rules attached to the steps: approval limits, tolerances, deadlines, eligibility, calculations and who may do what. The lesson on business rules showed how to cover their combinations with decision tables, work that usually belongs to system testing. UAT has a different purpose: the people who own the rules confirm that they are the right rules and that they give the right outcome in situations they recognise.

List the rules of every process step from the requirements, the policies and the process owner. Where a rule can change the outcome, add a variant scenario on the side that changes, with realistic values close to the limit. A rule with a single outcome can be shown by the main scenario. Then keep a rule-to-scenario map: every rule is shown by at least one scenario, and every scenario names the rules it shows. A rule with no scenario is either a gap to fill or a question for the process owner.

  • Choose the situations users actually meet and those with the highest business impact; exhaustive combinations are usually covered in system testing.
  • For a rule that blocks or diverts work, show both sides: the case it lets through and the case it stops.

Try it: Decision Table Generator Try it: Requirements → Test Cases

Worked example: paying a supplier invoice

A company is accepting a new finance system. The part of its procure to pay process covered here has four steps: the accounts payable clerk registers the supplier invoice, the system matches it with the purchase order and the goods receipt (the record that the goods arrived), the finance manager approves it, and it is paid in the weekly payment run. The process owner confirmed four rules.

UAT-01, the main scenario written out below, runs all four steps with an invoice that passes every rule. Each rule that can change the outcome adds one variant scenario on the side that changes:

  • BR-1: an invoice can be registered only against an open purchase order of the same supplier. Variant UAT-02: an invoice that quotes a closed order is refused, and the clerk sees why.
  • BR-2: an invoice more than 2% above its purchase order goes on hold until the buyer resolves it. Variant UAT-03: an invoice of 18,952.00 SAR against an order of 18,400.00 SAR, 3% above.
  • BR-3: the finance manager approves invoices up to 50,000.00 SAR; above that, the CFO approves as well. Variant UAT-04: an invoice of 50,400.00 SAR.
  • BR-4: approved invoices are paid in the next Thursday payment run. It has one outcome only, so it needs no variant: UAT-01 shows it.
Supplier invoice process: UAT-01 runs all four steps with an ordinary invoice, and each rule that can change the outcome adds one variant: a closed order, 3% over the order, 50,400 SAR.
  1. Process step and role:
    1Register the invoiceAccounts payable clerk
    Variant scenario for the rule:
    UAT-02: invoice quotes a closed orderRefused; the clerk sees why
  2. Process step and role:
    2Match with order and receiptSystem; the clerk checks the result
    Variant scenario for the rule:
    UAT-03: 18,952.00 SAR against an 18,400.00 SAR order3% above: on hold until the buyer resolves it
  3. Process step and role:
    3ApproveFinance manager; the CFO as well above 50,000.00 SAR
    Variant scenario for the rule:
    UAT-04: invoice of 50,400.00 SARBoth the finance manager and the CFO approve it
  4. Process step and role:
    4PayWeekly payment run
    Variant scenario for the rule:
    No variant: one outcome onlyUAT-01 shows it

Throughout steps 1–4 UAT-01, the main scenario: an 18,400.00 SAR invoice that matches its order passes every step on the ordinary side of every rule

UAT-01  Pay a supplier invoice that matches its purchase order
Process: procure to pay, steps 1 to 4    Rules shown: BR-1, BR-2, BR-3, BR-4
Who:     Huda, accounts payable clerk; Faisal, finance manager
Start:   Purchase order PO-5521 to Al-Noor Supplies: 40 office chairs,
         18,400.00 SAR, open; all 40 chairs received

Steps
1. Huda registers Al-Noor’s invoice INV-7730 for 18,400.00 SAR against PO-5521.
2. Huda checks the matching result shown for the invoice.
3. Faisal approves the invoice from his list of invoices waiting for approval.
4. Huda opens the next Thursday payment run.

Expected business outcome
- The invoice is matched to the order and the goods receipt, with no hold.
- Faisal’s approval is enough: the invoice is not sent to the CFO.
- The payment run pays Al-Noor Supplies 18,400.00 SAR for INV-7730.

Business user’s verdict: works as we work / works with remarks / does not work
Comments:

Common mistakes

  • Copying system test cases into UAT: field-level checks and click paths that business users cannot judge, and that system testing has already covered.
  • Writing scenarios from the screens or menus instead of the business process, so the hand-offs between roles and systems are never tested.
  • Covering only the ordinary day, so the owners of approval limits, tolerances and deadlines never see their rules applied.
  • Expected results such as "works correctly" or "saved successfully" instead of a business outcome the user can check.
  • Placeholder data such as "Test Supplier 1" and round amounts that users do not recognise, which hides mistakes they would spot at once in realistic data.
  • Not having a key user review the scenarios before the session, and then spending the session arguing about what a scenario means.

The QA perspective

On a real team the tester or a business analyst often drafts the scenarios, and the business owns them. Draft from the process walk-through, then hold a short review with the process owner and one or two key users: does each scenario match how they work, are the rules right, is anything they do every month missing? Their corrections are often the most valuable result of UAT preparation, because they reveal requirements nobody wrote down.

For each scenario, record the process step and the rules it shows, the role and test account, and the test data it needs. Request early the data that must exist before the session: open purchase orders, suppliers, approval limits configured as in production. Keep the rule-to-scenario map with the UAT plan, so that during execution and sign-off everyone can see which rules were shown and which were not.

Practice exercise

Write UAT scenarios for expense claims

Your task

A company is accepting a new expense claims process. An employee submits a claim with receipts, the line manager approves it, finance checks it, and it is paid with the salary. The finance department confirmed the rules below.

Write the main scenario in full, in business language. Then list the variant scenarios, each with a title, the situation and the expected business outcome, and finish with a rule-to-scenario map.

Material
Expense claims: rules confirmed by the finance department

EC-1  A receipt is required for every item of 100.00 SAR or more.
EC-2  The line manager approves claims up to 3,000.00 SAR;
      above that, the finance director approves as well.
EC-3  Items older than 60 days are rejected.
EC-4  Nobody approves their own claim: a manager’s claim goes to their own manager.
EC-5  Approved claims are paid with the next monthly salary.
Steps
  1. List the process steps and the role behind each one.
  2. Write the main scenario: title, who, starting situation, steps and expected business outcome.
  3. For each rule that can change the outcome, add one variant with realistic data close to the limit.
  4. Build the rule-to-scenario map, check that every rule appears, and note any question for finance.
Show the model answer
Model answer

Process: the employee submits the claim with receipts; the line manager approves it; finance checks it; payroll pays it with the next salary.

Main scenario, UAT-10 "Claim a client lunch and a taxi fare". Who: Sara, a sales executive; Omar, her line manager; Lina, a finance officer. Start: last week Sara paid for a client lunch of 240.00 SAR, with a receipt, and a taxi fare of 45.00 SAR, without one. Steps: 1. Sara submits one claim with both items and the lunch receipt. 2. Omar approves it from his list of claims waiting for approval. 3. Lina checks it. 4. Sara opens her next payslip. Expected: Omar sees both items and the receipt; after his approval the claim goes straight to finance, not to the finance director; Lina finds it complete and passes it for payment; Sara’s next payslip includes 285.00 SAR of expenses. It shows EC-1 (a receipt only for the 240.00 item), EC-2 (below 3,000.00, Omar alone), EC-3 (recent items) and EC-5.

Variants: UAT-11, a 100.00 SAR parking item without a receipt: the claim cannot be submitted until the receipt is attached (EC-1). UAT-12, a 3,200.00 SAR conference fee: the finance director must approve as well as Omar (EC-2). UAT-13, an item dated 61 days ago: that item is rejected and the reason is shown (EC-3). UAT-14, Omar submits his own claim: it goes to his manager, never to himself (EC-4).

Rule-to-scenario map: EC-1 → UAT-10, UAT-11; EC-2 → UAT-10, UAT-12; EC-3 → UAT-10, UAT-13; EC-4 → UAT-14; EC-5 → UAT-10. Every rule appears at least once.

Questions for finance: should a missing receipt stop the claim at submission, as UAT-11 assumes, or should finance return it later? Are the 60 days counted to the submission date or to the approval date? If one item is rejected, does the rest of the claim continue? Who approves when the finance director is absent?

Frequently asked questions

Should UAT scenarios be written in Given/When/Then?

They can be, if the business users already read Gherkin from the acceptance criteria, and reusing those criteria keeps one source of truth. Many business users, however, find a short, story-like description with numbered steps easier. Choose the format your users can read without help; the content — role, situation, steps, business outcome and the rules shown — matters more than the syntax.

Who writes UAT scenarios: testers or business users?

Either, but the business must own them. Often a tester or business analyst drafts them from the process walk-through and key users review and complete them; in some organisations the users write them with a tester’s help. What matters is that the people who will accept the system agree that the scenarios represent their work.

How many UAT scenarios do I need?

There is no fixed number. You need one main scenario per process in scope, plus variants for the rules and exceptions that change the outcome, within the time the business users have. The rule-to-scenario map shows whether the set is complete; the UAT plan shows whether it fits the schedule.

Can I reuse system test cases for UAT?

Use them as a source, not as the scenarios. They tell you which rules and data exist, but they are written for testers and split by function. Rewrite the relevant ones as business scenarios that follow the process and end in a business outcome.

References

  • ISTQB Certified Tester Foundation Level (CTFL) v4.0ISTQB · 2023The foundation syllabus of software testing: test levels and types, test design techniques, test management and tools.
  • Certified Tester Acceptance Testing (CT-AcT)ISTQB · 2019ISTQB's specialist syllabus on acceptance testing: user, contractual and regulatory acceptance testing, alpha and beta testing, and how testers work with product owners and business analysts.
  • ISTQB GlossaryISTQBThe standard definitions of testing terms — test case, regression testing, severity, priority, boundary value analysis and the rest.

Practise with Mutqan tools

Convert a list of numbered requirements into traceable test cases with a requirement-to-test matrix.

Test Design

Build decision tables from conditions and actions, generate all rule combinations and collapse impossible ones.

Test Design

Go deeper

Your progress on this topic

Part of the QA Roadmap

Before this topic

Related topics in this module