04
When to use decision tables? When there are multiple conditions affecting the expected behavior of the feature (e.g.: an online shop where the final price is affected by coupons, user type, etc.) 4<br>
05
How to use decision tables? Define which conditions are to be included in the table 5<br>
06
How to use decision tables? Define which conditions are to be included in the table
Determine the number of columns based on the conditions 6<br>
07
How to use decision tables? Define which conditions are to be included in the table
Determine the number of columns based on the conditions
Fill the table cells with True/False values (make sure to proceed systematically to avoid excluding a combination) 7<br>
08
How to use decision tables? Define which conditions are to be included in the table
Determine the number of columns based on the conditions
Fill the table cells with True/False values (make sure to proceed systematically to avoid excluding a combination)
Fill the end results 8<br>
09
How to use decision tables? Define which conditions are to be included in the table
Determine the number of columns based on the conditions
Fill the table cells with True/False values (make sure to proceed systematically to avoid excluding a combination)
Fill the end results
Simplify table if possible 9<br>
10
Exercise 1. Free shipping 1. Only registered members of the site are eligible
2. Available only for purchases $50 and over
Create test cases to make sure free shipping is applied correctly. 10<br>
11
Exercise 1. Free shipping 1. Only registered members of the site are eligible
2. Available only for purchases $50 and over
Create test cases to make sure free shipping is applied correctly. 11<br>
12
Exercise 1. Free shipping 1. Only registered members of the site are eligible
2. Available only for purchases $50 and over
Create test cases to make sure free shipping is applied correctly. 12<br>
13
Exercise 1. Free shipping 1. Only registered members of the site are eligible
2. Available only for purchases $50 and over
Create test cases to make sure free shipping is applied correctly. 13<br>
14
Exercise 1. Free shipping 1. Only registered members of the site are eligible
2. Available only for purchases $50 and over
Create test cases to make sure free shipping is applied correctly. 14<br>
15
Exercise 1. Free shipping 1. Only registered members of the site are eligible
2. Available only for purchases $50 and over
Create test cases to make sure free shipping is applied correctly. 15<br>
16
Exercise 2. Calculating discount 1. New customers get a 15% discount
2. Loyalty card holders get a 10% discount
3. Coupons provide a 20% discount (but cannot be used with the 'new customer' discount)
Create test cases to make sure the discounts are calculated correctly. 16<br>
17
Exercise 2. Calculating discount 1. New customers get a 15% discount
2. Loyalty card holders get a 10% discount
3. Coupons provide a 20% discount (but cannot be used with the 'new customer' discount)
Create test cases to make sure the discounts are calculated correctly. 17<br>
18
Exercise 2. Calculating discount 1. New customers get a 15% discount
2. Loyalty card holders get a 10% discount
3. Coupons provide a 20% discount (but cannot be used with the 'new customer' discount)
Create test cases to make sure the discounts are calculated correctly. 18<br>
19
Exercise 2. Calculating discount 1. New customers get a 15% discount
2. Loyalty card holders get a 10% discount
3. Coupons provide a 20% discount (but cannot be used with the 'new customer' discount)
Create test cases to make sure the discounts are calculated correctly. 19<br>
20
Exercise 2. Calculating discount 1. New customers get a 15% discount
2. Loyalty card holders get a 10% discount
3. Coupons provide a 20% discount (but cannot be used with the 'new customer' discount)
Create test cases to make sure the discounts are calculated correctly. 20<br>
21
Exercise 2. Calculating discount 1. New customers get a 15% discount
2. Loyalty card holders get a 10% discount
3. Coupons provide a 20% discount (but cannot be used with the 'new customer' discount)
Create test cases to make sure the discounts are calculated correctly. 21<br>
22
Exercise 2. Calculating discount 1. New customers get a 15% discount
2. Loyalty card holders get a 10% discount
3. Coupons provide a 20% discount (but cannot be used with the 'new customer' discount)
Create test cases to make sure the discounts are calculated correctly. 22<br>
23
Exercise 3.a. Car insurance We are testing an application system for a car insurance. Applicants below 70 years of age are accepted, 70 and above are not insured. Also, for people who have not caused any accidents in the last 5 years, there is a discount on the monthly fee.
Create test cases to make sure users get the correct offer based on the above criteria. 23<br>
24
Exercise 3.a. Car insurance We are testing an application system for a car insurance. Applicants below 70 years of age are accepted, 70 and above are not insured. Also, for people who have not caused any accidents in the last 5 years, there is a discount on the monthly fee.
Create test cases to make sure users get the correct offer based on the above criteria. 24<br>
25
Exercise 3.a. Car insurance 1. Only available for people under 70
2. People with no accidents in the last 5 years get a discount
Create test cases to make sure the car insurance is calculated correctly. 25<br>
26
Exercise 3.a. Car insurance 1. Only available for people under 70
2. People with no accidents in the last 5 years get a discount
Create test cases to make sure the car insurance is calculated correctly. 26<br>
27
Exercise 3.b. Car insurance 1. Only available for people under 70
2. People with no accidents in the last 5 years get a discount
+ A new condition is introduced for this insurance as a promotion: For electric cars the first year of insurance is free.
Create test cases to make sure the car insurance is calculated correctly. 27<br>
28
Exercise 3.b. Car insurance 1. Only available for people under 70
2. People with no accidents in the last 5 years get a discount
3. First year of insurance is free for electric cars
Create test cases to make sure the car insurance is calculated correctly. 28<br>
29
Exercise 3.b. Car insurance 1. Only available for people under 70
2. People with no accidents in the last 5 years get a discount
3. First year of insurance is free for electric cars
Create test cases to make sure the car insurance is calculated correctly. 29<br>
30
Exercise 3.b. Car insurance 1. Only available for people under 70
2. People with no accidents in the last 5 years get a discount
3. First year of insurance is free for electric cars
Create test cases to make sure the car insurance is calculated correctly. 30<br>
31
Exercise 4. Car insurance The feature under test is an online shop, where:
Loyalty card holders get 10% off of every purchase
During December there is a 15% discount on all items 31<br>
32
Exercise 5. The feature under test is a registration form.
It contains an email address field and a password field. The email address must not have previously been registered to be accepted, and the password should be at least 10 characters long for the system to accept it.
Furthermore there are 2 checkboxes on the page: one to be checked if the person registering is 12 or older, the second one to be checked if the user accepts the terms of use of the site. For a successful registration both checkboxes need to be checked.
Create a decision table for testing the registration form. 32<br>