Guide
User testing script: example and template
A user testing script, also called a usability test script or test protocol, is the document that sets out what participants will read and do. Written well, it makes results comparable from one person to the next. Here is how to build one, with a user testing script example you can copy.
Updated November 10, 2026
What is a user testing script for?
A user testing script fixes in advance the order of the steps, the exact wording of the instructions, the tasks to complete and the questions to ask. It ensures that every participant goes through the same experience, which lets you compare results and rerun the test later, after a fix.
In a moderated test, it is the moderator's guide. In an unmoderated test, it is the test itself: participants read your instructions with nobody there to clarify them. Every word carries more weight.
The 5 parts of a test script
| Part | Contents | Approximate length |
|---|---|---|
| 1. Introduction | Who you are, what is going to happen, how long it takes, what is collected | 1 minute |
| 2. Screening questions | Two to four questions to get to know the participant | 1 to 2 minutes |
| 3. Tasks | Three to five tasks, each followed by one or two questions | 8 to 12 minutes |
| 4. Wrap-up questions | Overall impression, top priority for improvement | 2 minutes |
| 5. Thank-you | Thanks, what happens next if anything, the incentive | 30 seconds |
Writing the introduction
The introduction has to reassure and set expectations. It answers four questions every participant has: how long this will take, what is expected of me, whether I can get it wrong, and what you do with my data.
- Thank you for taking part in this test. It takes about 10 minutes.
- We are working to improve [site name]. You will complete a few tasks, then answer some questions.
- We are testing the website, not you. There are no right or wrong answers.
- If you get stuck on a task, you can give up on it: that is useful information for us.
- Your answers are only used to improve the site.
Writing tasks that don't give the answer away
A good task has three qualities: it starts from a realistic situation, it describes a goal and not a path, and it has a clear end. The participant has to know when they are done.
| Poorly written task | The problem | Rewritten task |
|---|---|---|
| Click “Pricing” and find the Pro plan. | Gives the path and repeats the menu label | You manage a team of five. Find out how much the subscription would cost per month. |
| Test the search engine. | No goal, no end | You are looking for a pair of running shoes under $100. Find a pair that would suit you. |
| What do you think of the sign-up page? | That's a question, not a task | Create an account with the address provided and go as far as the welcome screen. |
| Find the terms and conditions, the FAQ and the contact page. | Three tasks in one: no way to tell which one failed | You want to return an item. Find the return window. |
| Use the configurator to set up your SKU. | Internal jargon | You want to order a 55-inch oak desk. Get your order ready, without paying. |
- Start with an easy task. It puts the participant at ease.
- One task, one goal. If you write “and”, split it in two.
- Provide the data they need. A made-up address, a budget, a promo code: the participant shouldn't have to invent anything or enter personal information.
- State the end point. “Stop when you see the order summary.”
- Order by importance. If participants drop out along the way, the essential tasks will already be done.
To start from concrete examples, the guide Usability testing task examples offers twenty of them, sorted by product type and by goal.
Defining the success criterion for each task
Decide before the test what counts as a success. Without a written criterion, it is tempting to adjust it afterward, depending on the results.
| Criterion | When to use it | Example |
|---|---|---|
| A page reached | Information-finding and navigation tasks | The /pricing page is displayed |
| An action on an element | Tasks that play out on a single page | Click on “Choose Pro”, opening an FAQ question |
| A form submitted | Sign-up, contact, checkout | The sign-up form is submitted |
| A screen reached in a prototype | Prototype tests | The “Confirmation” screen is displayed |
| A correct answer to a question | When nothing can be detected | “What is the return window?”: 30 days |
| The participant's own report | As a last resort | The participant selects “I'm done” |
Add a limit if you need one: a maximum time, or a number of clicks past which the task counts as failed. In Okkly, these criteria are set task by task and success is detected automatically on a live website as well as on a Figma prototype.
A complete user testing script example
This template is for an unmoderated test of about twelve minutes on an online store. Adapt the items in brackets to your product.
- INTRODUCTION: length, purpose of the test, “we are testing the website, not you”, how answers are used.
- SCREENING: How often do you buy [type of product] online? (single choice)
- SCREENING: Had you heard of [site] before this test? (yes / no)
- TASK 1 (easy): You are looking for [everyday product]. Find one that would suit you. Success: a product page is displayed.
- AFTER TASK 1: Overall, this task was… (1 to 7). What made it easy or difficult?
- TASK 2 (key flow): Add this product to your cart and go as far as choosing a delivery option, without paying. Success: the delivery page is displayed.
- AFTER TASK 2: Overall, this task was… (1 to 7). At what point did you hesitate?
- TASK 3 (information): You want to know whether you can return the item. Find the return window. Success: the returns page is displayed.
- AFTER TASK 3: What is the return window? (verification question)
- WRAP-UP: If you could change just one thing about this site, what would it be?
- WRAP-UP: Is there anything else you wanted to tell us? (optional)
- THANK-YOU: Thank you. Your answers help us improve [site].
Checking the script before you send it
- Does every step have a written goal? If not, cut it.
- Do the instructions contain a word that appears in the interface? Replace it.
- Does every task have a success criterion and a clear end?
- Does the test take under fifteen minutes when you take it yourself?
- Has someone outside the team taken it without asking a question?
- Is the data to enter provided, so that no personal information is requested?
- Does the test work on mobile, if your users are on mobile?
Once the script is ready, all that remains is to choose the questions to ask and to plan how you will present the results in a usability testing report.
Frequently asked questions
What is the difference between a test script, a protocol and a test plan?
The three terms are often used for the same document. “Protocol” or “plan” stresses the method (goals, participants, measures); “script” stresses the sequence and the wording of the instructions. In practice, a single document covers both.
How many tasks should a user testing script include?
Three to five for an unmoderated test of 10 to 15 minutes, five to eight for a one-hour moderated session. A few well-chosen tasks beat many that are skimmed through.
Should everyone get the tasks in the same order?
Yes if the tasks follow on logically (search, then order). If they are independent, varying the order limits the learning effect but complicates the analysis. For a first test, keep a fixed order.
How do I write a task for a prototype?
The same way as for a website, while making clear that not everything is clickable. Check that the expected path really exists in the prototype and use the destination screen as the success criterion.
Can I reuse the same script several times?
It is even recommended. Rerunning the same test after a fix is the only way to prove that the success rate has improved.