QA Interview Hub · Knowledge base · Quizzes · Українська

QA Fundamentals › Types of testing

Exploratory testing

Exploratory testing learns the product and designs and runs tests at once, and each step needs an idea of what to check and an oracle to recognise a bug. Ideas come from heuristics and tours (Money, Back-alley, Antisocial); oracles are history, comparable products, documentation and user expectations. Oracles are heuristic, so a finding must be justified, and a charter and notes set it apart from ad hoc clicking.

QA Fundamentals · Types of testing

The session is running and the ideas stopped at "enter an empty value". Where do new ones come from?

Twenty minutes of the session are behind you: empty fields, long strings, special characters, and nowhere to go next. This is a familiar wall for a beginner in exploratory testing, not proof that the feature is clean. Experienced testers take ideas from heuristics and "tours" of the product and know what to recognise a bug by when there are no requirements. This lesson is about generating ideas and judging what you see, while the structure of a session is covered in a separate lesson.

How it works and why. Exploratory testing learns the product, designs and runs tests at the same time, and the next step is shaped by the result of the previous one. Every iteration needs two things: an idea of what to check and an oracle, a way to recognise that what you see is wrong. Without an oracle a tester sees strange behaviour but cannot prove it is a bug.

The cycle and the oracle

1. Learn2. Design3. Execute4. EvaluateOraclehow to spot a problem
Figure 1. Every execution gives new knowledge that changes the next idea. The oracle decides whether what you saw is a problem.

Oracles (after James Bach, the HICCUPPS mnemonic) are sources of expectations: History (it used to work differently), Image (the image of the product and brand), Comparable products (similar apps), Claims (help, documentation, advertising), User expectations (what a user expects), Product (internal consistency), Purpose (what the product is for), Statutes (laws and standards). Oracles are heuristic: they suggest but do not guarantee an error, so a finding needs a justification and sometimes a clarification from the product owner.

For ideas, heuristics are used. For example, SFDIPOT (also Bach) reminds you what can be varied: Structure, Function, Data, Interfaces, Platform, Operations, Time. And "tours" (James Whittaker) set a viewpoint on the product:

TourWhat to doExample for a transfer form
MoneyGo through the most valuable functionsA transfer in different currencies and with a fee
LandmarkWalk the path between key screensAccounts, transfer, confirmation, statement
Back-alleyRarely used functionsA transfer template after the card was blocked
AntisocialInvalid and odd dataA minus, a comma instead of a dot, 10 thousand characters in a comment
All-nighterLong operation and timeThe form stays open until the session expires, then submit

Example: from "an empty field" to many ideas. A session on a transfer form, the ideas have run out. Change the viewpoint: the Back-alley tour gives "a template with a blocked card"; All-nighter gives "the session ended while the form was open"; cut the network after confirmation; change the role in the middle of filling in; open the form in two tabs at once. Then the oracle question: when the amount in a template exceeds a limit lowered after the template was saved, what does the user expect and what does the help say (Claims)? If the help promises "up to 50,000 UAH per day" and the system allowed 60,000, that is a confirmed bug. If there is no help and the balance shows three decimals, I apply "Comparable products" and "Purpose" (a currency has two decimals) and write it in the report as an inconsistency with a justification and a question to the product owner.

Scripted and exploratory

Scripted tests

Strong where checks are repeatable and must be documented: regression, conformance to requirements.

They find what was predicted.

Exploratory

Strong where requirements are incomplete, the feature is new or risks are unknown.

It finds what was not predicted.

Figure 2. They complement each other, it is not an either-or choice: both are needed in one project.

Limits and alternatives. Heuristics are hints, not rules: not every tour fits, and they do not guarantee coverage. Exploratory testing depends on the tester's skills and domain knowledge. It is not the same as ad hoc ("just click around"): it has a charter, notes and oracles. And error guessing is one technique used within it, not the whole approach. Where proof of coverage (an audit, regulation) or repeatability is needed, scripted testing is chosen.

Common mistakes.

  • The same ideas every time (empty, long, special characters): without changing role, data, time and platform there are few new findings.
  • Reporting personal preferences as bugs: without an oracle it is a subjective opinion.
  • Walking only negative scenarios and forgetting that the main functions carry the most risk (the Money tour).
  • Not keeping notes: findings and new ideas get lost.
  • Making exploratory the only kind of checking in the project: there is no repeatable protection against regression.

Check yourself

The app shows a balance with three decimals and the requirements say nothing about it. Is it a bug?

Answer

Most likely yes, but it has to be argued. Oracles: user expectations and purpose (a currency usually has two decimals), comparable products (other apps). I file it as an inconsistency with a justification and ask the product owner. Without an oracle it would be just my opinion.

At minute twenty of the session the ideas ran out. What do you do?

Answer

Change the viewpoint: another tour or heuristic (role, data, time, platform, interruption), review the notes with questions and blind spots, or ask a colleague to pair. Ideas run out when a tester keeps walking from one angle.

In the interview. Junior: Exploratory testing is learning the product and designing and running tests at the same time, where the next step depends on the result of the previous one. It has a charter, limited time and notes. Middle/Senior: For ideas I use heuristics and tours (Money, Back-alley, Antisocial and others), and to judge what I see I use oracles: history, comparable products, documentation, user expectations. It complements automated regression: it finds the unforeseen but does not give repeatable proof of coverage.

More articles in this chapter