Exploratory testing and charters
Scripted cases confirm what someone expected; exploration finds what nobody did. A charter gives it a target, a session gives it a time box, and the notes make it accountable
A feature passes all 200 of its scripted test cases. Which statement is the most accurate description of what you now know?
Exploratory testing is simultaneous learning, test design and test execution: you decide the next test based on what the last one taught you. It is how most of the serious bugs in your career will be found, and it is the part of testing most often dismissed as unstructured. This chapter is about giving it structure without killing it: the charter, the time-boxed session, the session sheet and the debrief.
Why scripts miss things
A scripted test case is written before the tester touches the product, from a specification, a story or a conversation. It has steps and an expected result. Run it a hundred times and it asks the same question a hundred times. That is valuable. It is how you know a fixed bug stays fixed and how you automate confidence in the build.
It is also a ceiling. A script can only detect the problems its author anticipated, at the moment of writing, with the knowledge they had. James Bach and Michael Bolton draw the line between testing and checking. In their refined definitions, testing is “the process of evaluating a product by learning about it through experiencing, exploring, and experimenting”, and checking is “the mechanistic process of verifying propositions about the product”. A scripted case, run by a person or by a machine, is a check. Testing is the work that designs the checks, interprets their results, and notices everything the checks do not ask.
Three kinds of problem slip past a passing suite:
- Problems in conditions nobody listed. Timing, interruption, concurrency, odd data, a second device, a full disk, a user who goes back. The specification describes the feature on a calm afternoon.
- Problems the expected result encodes. If the spec says a three-way split of £10 shows £3.33 each, the case passes, and the penny that vanishes is in the spec.
- Problems nobody would call a failure in isolation. Each screen is right; the flow across them is confusing, slow or contradicts what the marketing page promised.
The answer is not more scripts. Each new script is another anticipated question. The answer is a skilled person investigating the product with a purpose, and a way for the team to know what that person did.
The charter
Unstructured exploration has a fair reputation problem. “I had a play with it” is not a plan, cannot be estimated, and cannot be reviewed. A charter fixes that by stating the mission of one session before it starts.
Elisabeth Hendrickson’s form, from Explore It!, is the one most teams use:
Explore target With resources To discover information
The target is what you will investigate: a feature, a flow, an API, a requirement, a risk. The resources are what you bring: a tool, a data set, a technique, a configuration, a second device, a heuristic. The information is what you want to learn: a kind of risk, a quality attribute, whether a claim holds.
Some examples of the shape:
- Explore the send-money flow, with a phone switching between Wi-Fi, 4G and aeroplane mode, to discover whether an interrupted payment is ever charged twice or lost.
- Explore bill splitting, with amounts that do not divide evenly and groups of two to twelve, to discover how rounding is allocated and whether the ledger balances.
- Explore the group-invite API, with a proxy that replays and reorders requests, to discover what happens when an invite is accepted twice or after it was revoked.
Charter scope is the hard part, and it goes wrong in both directions.
| Charter | Problem | Better |
|---|---|---|
| Explore the app to find bugs | No target, no information; the session has no way to end | Pick one flow and one risk |
| Explore the amount field with the value 0.01 to discover whether it is accepted | A single test case written as a charter | Explore the amount field with boundary and malformed values to discover how validation and rounding behave |
| Explore payments with everything to discover all risks | A test plan wearing a charter’s clothes | Split into five charters, one per risk |
| Explore notifications with two devices to discover delivery problems | Good: target, resource and information all specific enough to start and broad enough to learn |
A rule of thumb from Hendrickson’s book: a good charter is something you could plausibly spend one session on, and it suggests where to start without dictating every step. If you finish in ten minutes, it was a test case. If after two hours you have barely begun, it was a strategy.
Charters come from the risks in your test strategy (test strategy and test plans covers writing one), from the specification (every “should” is a claim to probe), from production incidents, from support tickets, from the architecture (every integration point and every queue), and from previous sessions. The best source of charters is the notes from yesterday’s session, which always end with things you noticed and did not have time to follow.
Session-based test management
A charter tells you what to explore. Session-based test management, SBTM, developed by Jonathan Bach and James Bach at Hewlett-Packard around 2000, tells you how to make exploration manageable at team scale. The unit of work is a session: an uninterrupted, time-boxed block of testing against one charter. The original paper describes sessions of roughly 90 minutes as normal, with shorter and longer ones either side. No email, no chat, no meetings. The time box is what makes the work countable.
Each session produces a session sheet, a short structured record. The original SBTM sheet has these sections:
- Charter, and the product areas it touched.
- Start time, tester, duration.
- Task breakdown: the percentage of the session spent on test design and execution, on bug investigation and reporting, and on session setup. This is the TBS split. A session that is 60% setup is telling you the environment is the problem, not the tester.
- Charter versus opportunity: how much of the time went on the charter and how much on things you found along the way and chose to follow. Opportunity testing is legitimate. A team whose sessions are all opportunity has charters that do not match where the risk is.
- Data files: what you used, so someone can repeat it.
- Test notes: what you did, what you saw, what you thought. Written as you go, with timestamps.
- Bugs: each with an id or a one-line description.
- Issues: questions, obstacles and concerns that are not bugs. “Could not test the refund path because the sandbox has no refunds” belongs here, and it is often the most valuable line on the sheet.
After the session comes the debrief, ten to fifteen minutes with a lead or a peer (a rule of thumb; the point is that it is short). Jon Bach’s checklist for it is PROOF: Past (what happened), Results (what you found), Obstacles (what got in the way), Outlook (what still needs doing), Feelings (how you feel about it). The last one sounds soft and is not. “I am uneasy about the retry logic and cannot say why” is a signal a lead should act on.
The debrief is where a session becomes accountable. The lead reads the sheet, asks what the tester did not cover, and decides the next charters. Across a release, the sheets add up to a record you can show anyone who asks what testing was done: how many sessions, on which charters, what share of time was lost to setup, what was found and what remains open.
Steering a session: heuristics and oracles
Inside the session, two tools stop you running the same three tests every time.
Heuristics suggest what to vary. Hendrickson’s book teaches you to identify the variables in a system, anything you can change, directly or indirectly, and to vary them deliberately. Her favourites are worth memorising:
- Zero, one, many. No contacts, one contact, five hundred contacts.
- Beginning, middle, end. Delete the first item, a middle one, the last.
- Too big, too small, about right (Hendrickson calls it Goldilocks). Amounts, file sizes, name lengths.
- Interruptions. Lock the phone, kill the app, drop the network, receive a call, mid-transaction.
- Timing and sequence. Do it twice quickly; do it in the wrong order; do it from two devices at once.
- State. Draw the states the feature can be in and try every transition, including the ones the UI hides.
- Never and always. List what the system must never do (charge twice, show another user’s data) and what it must always do (balance the ledger), then hunt for violations.
James Bach’s Heuristic Test Strategy Model offers a wider checklist. Its product factors are remembered as SFDIPOT: structure, function, data, interfaces, platform, operations, time. Run down the list before a session and at least one factor will suggest a charter you had not considered.
Oracles tell you when something is a problem. With no expected result written down, you need named reasons to call a behaviour wrong, or the developer will reasonably ask “says who?”. Bolton’s FEW HICCUPPS mnemonic lists the consistency oracles testers use: Familiar problems, Explainability, World, History, Image, Comparable products, Claims, User expectations, Product (consistent with itself), Purpose, and Statutes and standards. “The receipt says £3.33 but the ledger shows £3.34; this is inconsistent with the product’s own claims and with statutory record-keeping” is a bug report. “This feels off” is not.
For payments and messaging, two mechanisms produce a large share of exploratory finds. Retries after a timeout create duplicates unless the operation is idempotent; the idempotency lesson explains the mechanism, and your job is to provoke it with a flaky network. Concurrent edits produce lost updates; the lost update lesson shows why two devices acting at once is always worth a charter.
What exploration is not
It is not ad hoc testing. Ad hoc testing has no charter, no time box and no notes. Exploratory testing has all three. The difference matters when someone asks what you tested.
It is not a substitute for automation. Exploration finds new problems; automated checks stop old ones returning. Every bug a session finds should end with the question “does this need a regression check?”, and usually the answer is yes. The two are complementary halves of a strategy, not rivals.
It is not only for testers. Developers, designers, PMs and support staff can run a session with a good charter. Some of the best sessions pair a tester with a developer, who knows where the code is fragile.
Where practitioners disagree
The loudest disagreement is about whether exploratory testing is a technique or the whole of testing. Bach and Bolton argued in “Exploratory Testing 3.0” (2015) that all testing is exploratory to some degree and that scripting is one technique applied within it, so the label should eventually disappear. The context-driven school around Rapid Software Testing takes this view and is sceptical of test case counts as a measure of anything.
The other camp, common in regulated industries and in organisations that follow ISTQB-style processes, treats scripted cases as the auditable baseline and exploration as a supplement. Its argument is real: a regulator or auditor wants to see what was tested against which requirement, and a pile of session notes is harder to trace than a matrix.
SBTM is partly an answer to that objection. Session sheets are auditable records. In practice most mature teams run both: scripted and automated checks for the known requirements, chartered sessions for the risks, with the session sheets filed alongside the traceability matrix where an auditor needs one. Where you stand on the philosophy matters less than whether you can show your work; testing money and regulated systems covers what an auditor accepts as evidence.
The second disagreement is about measurement. Counting sessions is easy, and managers will be tempted to set a target. Bug counts per session are noisy: a session that finds nothing on a risky area is good news, not a bad session. Use the TBS split and the issues list to find obstacles, and do not rank testers by bugs per hour.
Day to day
On a team with a QA engineer, exploration runs on a weekly rhythm alongside automation work.
At refinement, weekly. As stories are discussed, you draft charters for each risky one and note them on the ticket. Thirty seconds per charter. The developer sees what you plan to probe, which often changes what they build.
When a story is code-complete, daily. You run one or two sessions against it, usually on a feature branch or a review environment, before it merges. Ninety minutes each, notifications off. Two to three sessions is a full day once debriefs, bug reports and meetings are counted (a rule of thumb; your environment’s setup cost will move it).
After each session, fifteen minutes. You tidy the sheet, file the bugs with reproduction steps, and debrief with your lead or the developer. Charters you could not finish or new ones you spotted go into the charter backlog.
Before a release, once per release. You run a short burst of sessions across the whole release, chartered from the risk list, the change log and the last month’s support tickets. The summary of those sessions, what was covered, what was found, what was not tested and why, goes into the sign-off.
After an incident or an escape. You charter a session on the area of the escape and its neighbours. Bugs cluster; where one escaped, others are nearby.
Weekly, in the team’s planning or a quality review. You bring the charter backlog and the coverage picture: which risks have had sessions, which have not, and how much setup time is being lost to the environment. That last number is the one that gets you a better test environment.
The habits that separate good explorers: notes written during the session, not after; a timer; one charter at a time; and the discipline to stop following an interesting tangent when it has nothing to do with the charter, and write it down as a new charter instead.
There is no QA function, so exploration is whatever the founders do before a release. You can still use charters: keep a shared list of five or six, one per risky flow, and before each release two people take one each for an hour. Notes can be a few lines in a doc. The habit that matters most is the never-and-always list, because a small payments or messaging product can lose its users’ trust with one double charge or one leaked message. The first QA hire is often justified by those notes.
You are often the only tester across two or three teams, so sessions are your leverage: you cannot script everything, and you can charter. Introduce the session sheet and the debrief, and teach developers to run sessions on their own stories with your charters. The charter backlog becomes the visible queue of risk that nobody has examined. Expect pressure to replace sessions with a bigger regression suite; the setup-time numbers from your sheets are how you argue for the environment and the time instead.
Scripted cases and traceability matrices are probably mandated, and exploratory work may be invisible or viewed as unofficial. Your job is to make it official: session sheets filed with the release evidence, charters linked to the risk register, debrief summaries in the sign-off pack. Session records can serve as evidence when they are consistent and traceable, though what an auditor accepts varies by regime; testing money and regulated systems covers what counts. Across many teams, a shared charter library for common risks, such as payments retries, permissions and localisation, keeps sessions from repeating each other, and a quality lead reviews coverage across teams.
Template
# Charters: <feature or release>
Owner · Date · Release: <version or date>
Source of risks: <test strategy, spec, incidents, tickets>
| # | Explore | With | To discover | Priority |
|---|---|---|---|---|
| C1 | <target> | <resources: data, tools, devices, heuristics> | <information: risk or claim> | high / med / low |
| C2 | | | | |
# Session sheet
CHARTER: <C# and full text>
AREAS: <product areas touched>
TESTER: <name> START: <date, time>
DURATION: <short 60 | normal 90 | long 120 min>
TASK BREAKDOWN:
Test design and execution: <%>
Bug investigation and reporting: <%>
Session setup: <%>
CHARTER vs OPPORTUNITY: <% / %>
DATA FILES: <data sets, accounts, configs used>
TEST NOTES
<hh:mm> <what you did> → <what you saw> → <what you thought>
BUGS
- <id>: <one line> | Oracle: <claim, comparable, purpose, history...>
ISSUES
- <obstacles, questions, things not tested and why>
DEBRIEF (PROOF)
Past: · Results: · Obstacles: · Outlook (next charters): · Feelings: WORKED EXAMPLE
Fenwick is a fictional peer-to-peer payments app, 120 people, 1.4 million monthly users in the UK. Its new Split feature lets a user divide a bill and request each share from friends. All 146 scripted cases pass. The QA engineer wrote four charters from the strategy’s risk list.
C1. Explore Split, with totals that do not divide evenly (£10 by 3, £0.05 by 4, £999.99 by 7), to discover how remainders are allocated and whether the requests sum to the total. C2. Explore paying a share, with a phone toggling aeroplane mode at the confirm step, to discover whether an interrupted payment is ever charged twice. C3. Explore a split, with a group member removed after the request is sent, to discover what happens to their open request. C4. Explore Split, with VoiceOver and the largest text size, to discover whether amounts stay legible and announced.
Session sheet, C2. Normal, 90 minutes. Design and execution 55%, bug investigation 35%, setup 10%. Charter 85%, opportunity 15%. Data: two test accounts with £50 sandbox balance.
Notes: 10:12 paid £3.33, aeroplane mode on at the spinner, off after 20 s; app showed failed, retried; two debits in ledger. 10:31 repeated ten times, double debit 3 of 10. 10:58 opportunity: the receipt shows the request as unpaid after one debit.
Bugs: FEN-881, retry after timeout creates a second debit (oracle: claim, the spec says ‘pay once’; never-rule, never charge twice). FEN-882, receipt state disagrees with ledger (oracle: product consistency).
Issues: sandbox has no way to slow the payment provider, so timeouts are only reproducible with the network toggle.
PROOF outlook: new charter on retry from the notification shortcut; ask engineering for the idempotency key design.
Now you
You are the QA engineer at Larch, a fictional group-messaging app with 600,000 daily users and groups of up to 256 people. Larch is releasing scheduled messages: write a message now, choose a time up to 30 days ahead, and it sends then. The scripted suite has 212 cases and all pass on the staging build. Release is in four working days and you have about six hours of session time. Two complications: staging cannot fast-forward the clock, so you will need to schedule messages minutes ahead or change device time; and the PM mentions in passing that the scheduler runs in one server region and stores times in the sender’s local time zone. Write five to seven charters in Hendrickson’s form, prioritised, covering at least time zones and daylight saving, group membership changes before the send time, editing or deleting a scheduled message from a second device, and the sender’s account state at send time. Then run, or plan in detail, the session for your highest-priority charter and fill in the session sheet.
Self-check
You are the QA engineer at Fenwick, a fictional payments app. The Split feature passes all 146 scripted cases, which the test plan names as the exit criterion. Release is tomorrow. In a chartered session today you reproduced a double debit 3 times in 10 when the network drops at the confirm step and the user retries. The PM points out the exit criterion was met and the scenario needs a flaky network. What do you do?
- BOOK Explore It! Reduce Risk and Increase Confidence with Exploratory Testing Elisabeth Hendrickson, 2013
The source of the charter template and the most practical book on how to vary a system on purpose. Read it before your next session. Read: Part 1, especially the chapter on chartering your explorations, then the chapters on variables and state.
- PAPER Session-Based Test Management Jonathan Bach and James Bach, 2000
The original description of sessions, session sheets, the task breakdown and the debrief, written from the team at Hewlett-Packard that first used them. Read: The whole article; it is short. Study the sample session sheet and the debrief section.
- DOC Rapid Software Testing James Bach and Michael Bolton
The home of the methodology behind most of this chapter's vocabulary: heuristics, oracles, testing versus checking. Browse the course outlines and the linked articles.
- POST Testing and Checking Refined James Bach and Michael Bolton
The definitions of testing and checking this chapter quotes, and the argument for why a passing suite is not the same as a tested product.
- POST Exploratory Testing 3.0 James Bach and Michael Bolton, 2015
The case that all testing is exploratory and scripting is one technique within it. Read it to understand the strongest form of the position, whether or not you adopt it.
- DOC Heuristic Test Strategy Model James Bach
The checklist behind SFDIPOT and the quality criteria. Keep it open when you write charters; each heading suggests a risk you have not covered.
- DOC DevelopSense Michael Bolton
Bolton's site and blog, including his writing on oracles and the FEW HICCUPPS heuristics. Search the blog for oracles when you need words for why something is a bug.
All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.