Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Free lesson

Running a usability test

After this lesson: I can run a small usability test and read its success rate, times and errors.

65 min lesson2 commandsUsability testing lab: audit a hard-to-use web shop and read a test in the browser

A usability test shows where people get stuck

A usability test is a session where a real person tries real tasks on a product while you watch and measure. It matters because it replaces arguments about taste with evidence you can count.

The lab holds a made-up test of the teapot shop: twelve people, four tasks. You will read its numbers.

By the end of this lesson

Note

I can run a small usability test and read its success rate, times and errors.

Key words

WordWhat it means
Participanta person who takes part in the test
Success ratethe share of people who finished a task
Medianthe middle value when the numbers are in order
Errora slip or wrong step a person makes during a task
Meanthe total of the values divided by how many there are

The cells students fill in are left blank in this preview.

A test needs tasks, people and measures

Plan three things. First, the tasks: two to six jobs from the tasks that matter. Second, the participants: people like your users, not your team. Third, the measures: what you will count.

Say each task as a goal, not as steps: "buy the green teapot", not "press Buy, then Pay". Then stay quiet and watch.

Worked example: what each measure tells you

MeasureHow you get itWhat it tells you
Success ratePeople who finished, divided by all peopleWhether the task can be done at all
Time on taskSeconds from start to finish, per personHow hard or slow it was
ErrorsSlips and wrong steps you sawWhere the page misleads people
NotesWhat people said and didWhy the numbers look as they do

The cells students fill in are left blank in this preview.

Success rate is people who finished over everybody

The success rate is the number of people who finished a task, divided by the number who tried it, as a percentage. Ten of twelve is 83 per cent.

Count a person as finished only if they reached the goal without your help. A person who gave up is a failure of the page, not of the person.

Read the success rate and median time

Command
docker exec jupyter python3 steps/tasks.py

Shown here, not run. Create a free account to press Run and type it into your own lab’s terminal.

What the lab prints for the four tasks

TaskPeople who finishedSuccess rateMedian seconds
find_teapot12 of 12100%27.5
add_to_basket10 of 1283%36.5
fill_form11 of 1292%97.5
fix_error6 of 1250%110.0

The cells students fill in are left blank in this preview.

Use the median for time, not the mean

The median is the middle time when you put the times in order. With an even count it is the mean of the two middle ones.

One very slow person drags the mean upwards but barely moves the median. Times 40, 45, 50, 55 and 300 have a mean of 98 and a median of 50. The median says more about a usual person.

Add up the errors for each task

Command
docker exec jupyter python3 steps/errors.py

Shown here, not run. Create a free account to press Run and type it into your own lab’s terminal.

Errors say where the page misleads people

The script adds up the errors for each task. It prints the totals from most to fewest, then the name of the task with the most.

fix_error has 34, fill_form 18, add_to_basket 11 and find_teapot 7. The two numbers agree. The task that fewest people finished is also the task with the most errors. Together they point at the page that needs work first.

A common mistake

Warning

Many people think a test needs hundreds of people. A small test finds the big faults, and twelve people are plenty to see a task failing. But twelve people cannot give an exact figure, so say "about half finished" and not "exactly 50.0 per cent".

Going further

Plan a test of your college's library page with four tasks and five classmates. Write each task as a goal and decide what you will count.

Run it, then use your function to find the success rate and median time of each task. Which task do you fix first?

About this lab and its source: Usability testing lab: audit a hard-to-use web shop and read a test in the browser

Teaching a class? Set this module for your students with a teacher guide, marked assignments and a lab for every student.