ISTQB Foundation/Ch.5 · Managing the Test Activities (30%) · Topic 3

Risk Management & Risk-Based Testing

Distinguish risk analysis from risk control, classify a risk as product or project, and compute a risk level quantitatively and qualitatively.

Risk is a potential event, hazard, threat or situation whose occurrence causes an adverse effect, characterized by risk likelihood (probability, strictly between 0 and 1) and risk impact/harm (the consequences) — together these express the risk level. Risk management has two main activity groups: risk analysis (risk identification + risk assessment) and risk control (risk mitigation + risk monitoring). The test approach that selects, prioritizes and manages test activities based on risk analysis and control is risk-based testing.

Project risks concern managing and controlling the project itself: organizational issues (delayed deliveries, cost cutting), people issues (skill gaps, staff shortage), technical issues (scope creep, poor tool support), and supplier issues (third-party failure). Product risks concern the product's quality characteristics — missing/wrong functionality, incorrect calculations, poor architecture, security vulnerabilities — and can lead to user dissatisfaction, lost revenue or reputation, high maintenance costs, or in extreme cases physical harm.

Risk identification generates a comprehensive risk list (brainstorming, workshops, cause-effect diagrams). Risk assessment categorizes risks, determines likelihood/impact/level, prioritizes, and proposes handling — either quantitatively (risk level = likelihood × impact, calculated) or qualitatively (a risk matrix). The results shape test scope, which test levels and types to use, and which techniques and coverage to target — with higher-risk areas tested earlier and more thoroughly.

Real-world use case

A payment gateway integration (high impact if wrong: real money, real customers, regulatory exposure) and a rarely-used "export to CSV" admin feature are not tested with equal rigor even under time pressure — risk-based testing is the explicit justification for spending the bulk of a shrinking test window on the payment path and accepting lighter coverage on the export button.

Example code

A qualitative risk matrix for a checkout redesign
RISK ITEM                          LIKELIHOOD   IMPACT   LEVEL   TEST RESPONSE
Payment gateway miscalculates total     Medium       High     High    Test first, deeply
Coupon stacking produces $0 total       Medium       High     High    Test first, deeply
CSV export omits a rarely-used column   Low          Low      Low     Light coverage, later
Order-confirmation email is delayed     Low          Medium   Medium  Moderate coverage

Exercise

Assess two product risks

For the feature "bulk CSV import of customer records," identify two product risks, rate each on likelihood and impact (High/Medium/Low), and state which one your limited test time should prioritize.

// Risk 1:
//   Likelihood:      Impact:      Level:

// Risk 2:
//   Likelihood:      Impact:      Level:

// Which risk gets tested first, and why?

Read-only here — open the English track at /learn to write and edit this exercise.

Quiz (3)

1. "Our only automation engineer is leaving mid-project, right before the critical test cycle" is an example of:

2. Which pair correctly matches risk management's two main activity groups to their components?

3. Why is risk assessment repeated throughout a project rather than done once at the start?