Certopolis

ISTQB Certified Tester Foundation Level

Error guessing vs exploratory vs checklist-based testing (CTFL)

ISTQB's CTFL v4.0 syllabus describes three experience-based techniques. Error guessing anticipates errors, defects and failures from the tester's knowledge. Exploratory testing designs, executes and evaluates tests at the same time, as the tester gets to know the test object. Checklist-based testing designs and runs tests that cover the conditions listed on a checklist.

What is error guessing?

The tester predicts where things will go wrong, using knowledge of the application's past behaviour, of the mistakes developers typically make and the defects those mistakes produce, and of failures seen in other, similar applications.

The syllabus groups what can go wrong by area: input, output, logic, computation, interfaces and data. A wrong operator or a missing case is a logic problem. Incorrect initialization or a wrong type is a data problem.

Fault attacks are a way to carry out error guessing. The tester starts from a list of things that could go wrong, written by the tester or obtained elsewhere, and designs tests aimed at each entry. Such lists draw on experience, on records of past defects and failures, or on what is generally known about the causes of software failure.

What is exploratory testing, and what makes it session-based?

Design, execution and evaluation of tests happen together, and the tester learns the test object along the way. What is learned steers the next tests: probing one area more deeply, or covering an area not yet tested.

Session-based testing gives it structure. The testing happens within a defined time box. A test charter containing test objectives guides it. A debriefing usually follows, in which the tester discusses the results with interested stakeholders. The tester may record the steps and discoveries on test session sheets.

Exploratory testing is useful when specifications are few or inadequate, when there is significant time pressure, and as a complement to more formal techniques. It is more effective when the tester has experience, knows the domain and is strong in analytical skills, curiosity and creativity. It can incorporate other techniques, such as equivalence partitioning.

What belongs on a checklist?

In checklist-based testing, the checklist supplies the test conditions, and the tester designs, implements and runs tests that cover them. A checklist can be drawn from experience, from knowing what users care about, or from knowing how and why software goes wrong. They can support functional and non-functional testing.

Items are often phrased as questions, and each one should be checkable separately and directly. Three kinds of item should be left off: anything a tool could check automatically, anything that fits better as an entry or exit criterion, and anything too general.

Checklists need upkeep. Some entries become less effective as developers learn to avoid the same errors, and new entries may be needed for newly found high-severity defects. The syllabus says to update checklists regularly based on defect analysis, without letting them grow too long. A high-level checklist leaves room for variation in the actual testing, which can mean more coverage but less repeatability.

Where the exam catches people

  • Believing exploratory testing is unstructured by definition: session-based testing uses a time box, a test charter and a debriefing.
  • Believing exploratory testing excludes other techniques: a tester can apply equivalence partitioning or another technique during a session.
  • Putting an automatically checkable item or a very general item on a checklist: the syllabus excludes both, along with items that belong in entry or exit criteria.
  • Leaving a checklist unchanged for years: entries lose effectiveness, so checklists are updated from defect analysis.
  • Believing experience-based techniques replace black-box and white-box techniques: they complement them and can find defects the others miss.

Written from these sources

Try 3 questions on this

Pick an answer to see why each option is right or wrong.

  1. Three testers work on a new car rental booking feature: Tester 1 answers each question on a list about booking rules that the team drew up from last year's defect reports and reuses every release. Tester 2, without writing anything down, repeatedly cancels and rebooks the same car, because double bookings were the commonest failure in similar systems this tester has tested. Tester 3 tries the booking screens with no plan, letting each result suggest what to try next. Which of the following correctly matches the testers to test techniques? Select ONE option.

    Right. In the game that’s Renown for your Test Analysis and Design building.

    Not that one: A is right. In the game your Test Analysis and Design building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    Tester 3 has no prior idea and lets the product steer: exploratory testing. The deciding contrast is between Testers 2 and 3, who both work unscripted, but only Tester 3's tests come from what the product is showing now.

    Written from istqb.org/wp-content/uploads/2024/11/ISTQB_CTFL_Syllabus_v4.0.1.pdf

  2. A team receives a mobile app from a supplier two days before release. The only documentation is a one-page feature list, and the product owner wants the riskiest features checked first. Which of the following is the BEST approach before release? Select ONE option.

    Right. In the game that’s Renown for your Test Analysis and Design building.

    Not that one: A is right. In the game your Test Analysis and Design building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    Both hold here. Session-based exploratory testing, with a time box and a charter per risky feature, lets the team aim its limited time at the riskiest areas first.

    Written from istqb.org/wp-content/uploads/2024/11/ISTQB_CTFL_Syllabus_v4.0.1.pdf

  3. A team has used the same code-related checklist for two years. Its entries now rarely reveal defects, while several recent high-severity defects were of a type the checklist does not mention. Which of the following is the BEST response? Select ONE option.

    Right. In the game that’s Renown for your Test Analysis and Design building.

    Not that one: B is right. In the game your Test Analysis and Design building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    Revising the list from an analysis of the defects found does both, and dropping spent entries keeps it short enough to stay usable.

    Written from istqb.org/wp-content/uploads/2024/11/ISTQB_CTFL_Syllabus_v4.0.1.pdf

Ask for something