Data-Based Test Techniques
Domain testing with ON, OFF, IN and OUT points, combinatorial testing with base choice and pairwise coverage, and random testing.
In the ISTQB Certified Tester Advanced Level Test Analyst syllabus (v4.0), data-based test techniques are black-box techniques that derive test conditions and test cases from the data a test object processes: its inputs, outputs, configuration parameters and internal values. They help the Test Anal…
CTAL-TA - Data-Based Test Techniques Example Questions
Test your knowledge of Data-Based Test Techniques
Question 1
A test analyst designs pairwise tests for a travel insurance quote function with three parameters. Destination is domestic, regional or worldwide. Traveller group is single, couple or family. Cover level is basic or premium. The product rules allow premium cover only for single travellers, so premium combined with couple and premium combined with family are infeasible. The other value pairs are all feasible and must be covered. Every test must respect the rule. What is the smallest number of test cases that achieves pairwise coverage of all feasible pairs?
Question 2
A test analyst reviews a draft test table for a loan pre-approval rule. Pre-approval is granted when credit score s >= 700 AND debt ratio r < 0.40. The score is a whole number, and the ratio uses a precision of 0.01. The analyst wants simplified domain coverage. The draft has four entries: P1 (s=700, r=0.25), ON point for the score border, expected approved; P2 (s=699, r=0.25), OFF point for the score border, expected rejected; P3 (s=720, r=0.39), ON point for the ratio border, expected approved; P4 (s=720, r=0.41), OFF point for the ratio border, expected rejected. Which correction makes the table meet simplified domain coverage with correct roles and expected results?
Question 3
A test analyst prepares pairwise tests for a hotel booking function with three parameters: Room (Standard, Suite); Stay (Weekday, Weekend); Payment (Prepaid, OnArrival). The business rule says that a Suite booked for a Weekend cannot be paid OnArrival. Suite with Weekend is allowed, Suite with OnArrival is allowed, and Weekend with OnArrival is allowed. The current suite is: T1 Standard, Weekday, Prepaid; T2 Standard, Weekend, OnArrival; T3 Suite, Weekday, OnArrival; T4 Suite, Weekend, OnArrival. T4 breaks the rule. The analyst may rebuild the suite freely. What is the smallest number of tests that achieves full pairwise coverage, with every test respecting the rule?