Notes
The problem
Many teams say exploratory when they mean ad hoc: click around for a bit and see what happens. That finds a few bugs, but there is no goal, no record and no idea of what was covered. Real exploratory testing keeps the freedom, but adds structure: a mission, a time box, techniques, notes and a debrief. The freedom is in how you test. The discipline is in knowing why, and being able to say what you did.
- ad hoc: "click around the app for a bit", no goal, no notes, no idea what was covered
- exploratory: a mission, a time box, techniques, notes, a debrief
- same freedom, very different
- value
The idea
Exploratory testing is learning about the product, designing tests and running them, all at the same time. In scripted testing you design first and run later, the same way every time. In exploratory testing, what you see in one test decides the next. A strange total makes you try a slightly different cart. An odd message makes you try the same action as another user. Both styles are needed, because they find different kinds of bugs.
- simultaneous learning, test
- design and test execution
- scripted: design first, run later, same every time
- exploratory: the result of this test decides the next
- both are needed; they find
- different bugs
The charter
A session starts with a charter, a one line mission. A popular template is: explore a target, with some resources or techniques, to discover some kind of information. For example: explore the cart and coupons, with boundary values and two browser tabs, to discover how totals and coupons can go wrong. A good charter is narrow enough to finish in one session, but open enough to follow what you find.
- Explore <target>
- with <resources or techniques>
- to discover <information>
- example: Explore the cart and coupons
- with boundary values and two browser tabs
- to discover how totals and coupons can go wrong
The session
This approach is called session based test management. A session is a time box, usually forty five to ninety minutes, with one charter and no interruptions. Afterwards you note roughly where the time went: real testing, investigating bugs, or fighting with setup. If you find something interesting outside the charter, you write it down as an idea for a new charter instead of disappearing down a side path. That keeps sessions focused and countable.
- time box: 45 to 90 minutes
- one charter per session
- no meetings, no chat
- track roughly where time went: testing / bug investigation / setup
- off-charter finds become
- new charters, not detours
Heuristics
Heuristics are quick rules of thumb that suggest the next test. Create, read, update and delete every kind of object. Goldilocks: too small, too big, and just right. Starve the system: no stock, no data, an empty cart. Interrupt it: press back, refresh, close the tab, log out mid flow. Follow the data: does the same total appear on the cart, the order and the order list? And make two users do the same thing at once.
- CRUD: create, read, update, delete every object
- goldilocks: too small, too big, just right
- starve: no stock, no data
- interrupt: back, refresh, close the tab, log out follow the data: does the total match everywhere?
- two users, same thing
Tours
Tours give a session a shape, like a tourist with a theme. On a money tour you visit every place a price or total appears. On a boundary tour you visit every limit in the requirements. A back alley tour visits pages users rarely open, like error pages. A saboteur tour tries to break things with two tabs or a stale login. A landmark tour walks the main flow in an unusual order. Pick one or two tours per charter.
- money tour: every place a price or total appears
- boundary tour: every limit in the requirements
- back-alley tour: pages users rarely open (/sql, errors)
- saboteur tour: break things (two tabs, stale token)
- landmark tour: the main flow in a different order
Oracles
With no scripted expected result, how do you know something is wrong? You use oracles. The requirements are one. Consistency is another: the cart total must match the order total, and the order list must match the order page. The product's own claims count too: the product page says you can buy one to ten. So do similar products and what worked last week. When you are not sure, write it down as a question, not as a bug.
- the requirements (CART-2...)
- consistency with itself: the cart total = order total
- consistency with similar products and user habits
- the product's own claims: "You can buy 1 to 10"
- history: it worked last week
- unsure? log it as a question
Notes
Write notes as you go, with times. What you tried, what you saw, bugs, questions and ideas for new charters. Short is fine. Ten oh five: four notebooks with save ten, refused at exactly fifty dollars, repeat to confirm. Ten twelve: quantity eleven accepted, which breaks cart two, take a screenshot. Notes turn a session into evidence. Without them, nobody can tell what was covered, and you will forget the exact steps for the bug report.
- charter, tester, start, length
- 10:05 cart: 4 notebooks, SAVE10 → refused at $50.00 ?? BUG? repeat with hoodie
- 10:12 qty 11 accepted (CART-2) BUG 1, screenshot
- 10:20 Q: can admin buy?
- bugs 2 · questions 1 · ideas 2
Debrief
After the session, a short debrief with a lead or a teammate. What did you cover, and what did you not get to? Which bugs did you find, and are they filed? Which questions need the product owner? What got in the way? Which new charters should run next? Some teams remember this as PROOF: past, results, obstacles, outlook and feelings. Ten minutes turns one person's session into knowledge the whole team can plan with.
- what did you cover?
- what did you NOT get to?
- bugs found (filed?)
- questions for the product owner
- what got in the way?
- new charters to run
- PROOF: past, results, obstacles, outlook, feelings
Mystery mode
ShopRung has a mode built for practising this. Start it in mystery mode and a hidden set of bugs switches on. The yellow bar tells you some bugs are on, but not which. Your charter: explore the cart, coupons and orders, with boundary values, two users and the API, to discover where the rules break. Sixty minutes, with notes. In the exploratory testing lab you then switch the bugs off and compare, to see what you found and what you missed.
- start ShopRung in mystery mode: SHOPRUNG_BUGS=mystery npm start
- the yellow bar says some bugs
- are on, not which charter: explore cart, coupons
- and orders with boundaries, two users and the API to discover rule breaks
- 60 minutes, then compare
Common mistakes
Mistakes that make exploratory testing look unprofessional. No charter and no time box. No notes, so nothing can be shown afterwards. Chasing one bug for the whole session instead of logging it and moving on. Only exploring the screens, never the API or the data behind them. Treating it as a replacement for regression checks, which belong in scripts and automation. And skipping the debrief, so the learning stays in one head.
- no charter, no time box
- no notes, so no evidence
- chasing one bug for the whole session
- only exploring the UI, never the API or data
- treating it as a replacement for regression checks
- skipping the debrief
Say it like this
In an interview, show the structure. Say: I run time boxed sessions, usually an hour, each with a charter that says what to explore, with which techniques, to find what. I steer with heuristics and tours, judge results with oracles like the requirements and consistency, keep timed notes, file bugs and questions, and debrief with the team. It complements scripted and automated tests, because it finds the bugs nobody wrote a test for.
- "I run time-boxed sessions
- with a charter: what to explore, with which techniques, to find what. I
- use heuristics and tours, judge with oracles like the requirements and consistency, keep timed notes, file bugs
- and questions, and debrief.
- It complements automation."