OBLYTECH Logo
OBLYTECH Logo

UAT Script Writing for Business Testers

A UAT script for business testers is a set of numbered steps in the language of the business process. Each step gives the action, the data and the expected result. Testers who did not build the change can run the script and mark each step pass or fail without guessing what the author meant.

Start from the business process, not the screen layout

A good UAT script follows one piece of work from start to finish, such as turning an approved quote into a signed order. Scripts built around screens tend to check the same field twice and miss the hand-offs between teams, which is where business testing usually finds problems. Before drafting, write the process in five or six plain sentences that a finance lead or operations manager would recognize.

Then fix the scope. A workable boundary is one business outcome per script. If a script needs the tester to move between three departments, split it at the hand-off.

Before writing a step, record the business trigger, the tester’s role, the starting state of the data, and the outcome a business owner would accept as done.

Write each step so a non-technical tester can complete it

Keep the same columns in each script in the pack, so testers learn the layout once. Each row carries five items:

  1. Step number and a short name.
  2. The action, written as an instruction in business terms.
  3. The test data, quoted exactly so the tester does not invent a value.
  4. The expected result, stated as something the tester can see.
  5. A pass or fail column and a comment column for what the tester actually saw.

The expected result is where scripts usually go wrong. ‘The record saves correctly’ gives a tester nothing to check. Write the result as an observable fact instead: the status field shows the value the script names, or the order total matches the quote total. A tester who sees a different number can write it down and continue, rather than stop and wait.

Use the labels the build shows on screen. If the script says ‘client reference’ and the screen says ‘Reference ID’, the tester stops to ask. Copy labels from the build once the screens are in place, not from memory.

Keep each step to one action. A step that says ‘enter the details, attach the file and submit’ hides three checks, and a failure cannot be traced to one of them.

Prepare test data, starting states and tester access

Some sessions fail before the first step runs. The account does not exist, the quote sits at the wrong stage, or the tester cannot see the control the script assumes. Put those conditions in a prerequisites block at the top of each script: the records that must exist, the state they must be in, and the login and role the tester uses.

Grant access per action, not per team. A business user may create a request without being able to approve it. If a step needs approval, a login holding the approver’s role runs that step, not the tester who submitted the request. Testing with broader access can hide permission faults that would otherwise surface after go-live.

For help planning this work, see Salesforce implementation.

Testers from outside the business need written access rules before the session. For that arrangement, compare your rules with the dedicated Salesforce delivery teams page.

Give each test record a prefix that shows the script it belongs to. Keep one test data sheet listing each record, its identifier, and the scripts that depend on it. Decide whether the scripts run in a fixed order, and write that order on the cover sheet.

Build a cover sheet the sign-off group can read in five minutes

The cover sheet carries the decisions rather than the detail. It names the process covered, the environment and build tested, the run order, the definitions of pass, fail and blocked, the sign-off roles and the people in them, and the exit criteria agreed before testing began.

Keep it to one page. The scripts carry the detail, and the cover sheet tells a sponsor what they are approving.

Run a dry walk-through before the sign-off session

Give the script to a tester who has not seen the build, with no coaching. Note each place they pause, reread a line, or ask a question. Those points are problems in the script, not in the tester. Rewrite the step, and test the fix with a second tester if the first fix was unclear.

A dry run also tests the test data. Records may be missing, locked, or in a different state from the one the script assumes. Log these as prerequisite problems so the defect count stays meaningful for the sign-off.

Time the run as well. A script that takes two hours in a quiet dry run takes longer in a shared sign-off session. Split long scripts at a natural hand-off so each part fits one working session.

Record results and defects so the decision is clear

Each step ends as pass, fail or blocked. A pass matches the expected result as written. A fail means the step ran and the result differed. A blocked step could not run, usually because a prerequisite is missing, and its comment names that prerequisite.

A defect entry holds the script and step number, the exact text or value shown, the login and record identifier used, and a screenshot with the date and time visible. Copy the value shown rather than paraphrasing it.

Decide each defect before the session closes. The options are to fix before go-live, to accept it as a known issue with a named owner, or to defer it. The business process owner makes that call. The tester reports what happened and does not decide whether it matters.

Sign-off rules and what the signature covers

A signature means the listed steps produced the expected results in the environment tested, on the recorded dates. It does not certify the whole process, and it does not cover steps that were not written. Put that boundary on the cover sheet, so a later dispute about scope has a document to point to.

Agree exit criteria before testing begins. A typical set asks that all critical steps pass, that no open defect blocks a live process, and that each accepted known issue has an owner and a workaround the support team can follow. Settle what counts as critical with the business owner in advance, not during the session.

When a sponsor approves the outcome, the sponsor signs the cover sheet and the testers initial each step. For a related sponsor-level review, see the executive sponsor pipeline forecast review.

Keep scripts current after the change goes live

A script stays valid as a regression check while someone keeps it current. Give each pack an owner, a version number and a date. When a configuration change touches a screen, label or approval rule, update each dependent step before the next cycle. Where a routine changes, such as the community manager moderation routine, check the version before each cycle.

Labels can change even when the process does not. Check the wording against the instance you are testing, because a configuration change can alter a label. When a step fails because of a label alone, correct the script and log the change.

Scripts also work as training material. Keep the business wording, remove the test data block, and have trainees practice on training records so the sign-off records stay as the session left them.

Questions about writing and signing off UAT scripts

Who should draft the expected results?

A process owner and an analyst who works the process each day should draft the steps together in one session, and a second person should read the draft line by line. Avoid having the people who built the change write the expected results, because builders tend to describe what they built rather than what the business needs.

How many steps belong in one script?

There is no fixed number. Split a script when it crosses a hand-off between teams, needs a different login, or runs past a single working session. A long script usually contains a second outcome that deserves its own script.

What should a tester do when the expected result does not appear?

Mark the step as fail, copy the exact value shown, and continue if the next step does not depend on the failed one. If it does, mark the next step as blocked and name the step it waits on. The tester should not change the test data or try another route to force a pass, because the result would no longer match the script.

Can a passing script double as user training?

Yes, once the test data block is removed and the business wording is kept. Trainees learn the route the testers proved, while the sign-off records remain in the state the session left them.

Does a process change need a new script?

Usually not. A change tends to affect a few steps, so update those steps, rerun the affected scripts, and rerun any later script in the run order that depends on them. Record which scripts ran in the change log. A full rerun is worth the time when the change alters the order of work between teams.