What are error guessing and experience-based checklists?
Error guessing is a technique in which a tester uses experience to pick places where a system typically breaks, and a checklist records such guesses. Both are experience-based techniques in ISTQB CTFL v4.0, alongside exploratory testing. A checklist is extended from production defects and loses items that no longer find anything. They complement formal techniques and do not replace them.
QA Fundamentals · Test design techniques
The form has no boundary and no decision table. Where will the tester look for bugs?
Formal techniques need requirements from which classes, boundaries or rules are derived. What if the requirements are thin and the time for testing is short? An experienced tester knows where things usually break: empty fields, spaces, emoji, a double click. That is error guessing. A written list of typical errors attacked on purpose is what ISTQB calls a fault attack, a way to implement error guessing. When the checks become a checklist of conditions that is kept up to date and anyone can test from, it is checklist-based testing. Both are experience-based techniques in ISTQB CTFL v4.0, alongside exploratory testing.
How it works and why
Errors are not distributed randomly: the same classes of defects repeat from project to project (unhandled empty input, a boundary error, a race). A tester who has seen them before builds a list of places where they may be and checks them on purpose. The benefit is speed, and that it finds what formal techniques do not anticipate.
A checklist turns individual experience into team knowledge: what one person knows "in their head" becomes an item that anyone can check. A living checklist is extended by found defects, especially those that reached production, and items that have not found anything for a long time are removed.
How a checklist grows with defects
Example: guesses for a "Name" field
The weak approach: enter "Ivan" and move on. The experienced approach asks where this field can break and picks a value for each:
| Value | What it checks |
|---|---|
| (empty) | Required field, the message |
| " Ivan " | Spaces at the start and end: trimmed or stored |
| Ivan-Maria, O'Brien | A hyphen and an apostrophe in validation and in database queries |
| Ivan😀 | Emoji and characters outside the basic plane, encoding |
| 256 or more characters | Length limit, truncation in the database, broken layout |
| <b>Ivan</b> | HTML escaping in the display |
| Double click on "Save" | A duplicate record or request |
The same goes for flows, not only fields: the Back button after submitting a form, refreshing the page in the middle of a payment, losing the network, two tabs with one account, reopening a link from an email, someone else's data in an open URL. Each such idea is a candidate for a checklist item.
Guesses and a checklist
Error guessing
Ideas arise during testing, depend on experience, may not be written down. Fast, flexible, but hard to repeat.
Checklist
The same ideas written down, extended by defects and available to the whole team. Repeatable, transferable, but may go stale.
Limits and alternatives
- The quality depends on experience. A newcomer will not "guess" what they have not seen yet, so a checklist and colleagues' advice compensate for that.
- Coverage by this technique cannot be measured like the coverage of classes or table columns. So it complements formal techniques rather than replacing them.
- It differs from exploratory testing by its frame: error guessing is a set of guesses about defects, while exploratory is a session of learning and testing at once, in which such guesses can be used.
- For security, access rights and financial accounts, guesses alone are not enough: separate models and technical checks are needed.
Typical mistakes
- Doing error guessing instead of formal techniques. There is no systematic approach and the obvious can be missed.
- Not writing down the guesses. The experience stays in one person's head and is not repeated.
- Inflating the checklist. Nobody goes through three hundred items. Short and current beats full and dead.
- Copying the same checklist onto every feature. Items must match the risks of the specific function.
Check yourself
After a production incident it turned out that a field does not handle a trailing space in an email. What do you do with the checklist?
Answer
Add an item "spaces at the start and end" for all text fields with identifiers. That turns one defect into a permanent check, and the same class of errors is much less likely to reach production again.
How does error guessing differ from a checklist?
Answer
Error guessing is an approach where the tester picks places where a defect may be, by experience. A checklist is the written, shared result of that experience, which can be repeated and extended. A checklist is the fixed form of guesses.
Why does error guessing not replace equivalence classes and boundaries?
Answer
Because it gives no systematic coverage: you do not know which classes and boundaries have been checked. Experience finds the unusual, formal techniques guarantee that the obvious is not missed.