Decision Table Training Session
Upcoming SlideShare
Loading in...5
×
 

Decision Table Training Session

on

  • 2,696 views

 

Statistics

Views

Total Views
2,696
Slideshare-icon Views on SlideShare
2,581
Embed Views
115

Actions

Likes
0
Downloads
46
Comments
0

10 Embeds 115

http://techsnap.blogspot.com 74
http://techsnap.blogspot.in 15
http://www.slideshare.net 11
http://www.techsnap.blogspot.com 8
http://techsnap.blogspot.com.es 2
http://translate.googleusercontent.com 1
http://techsnap.blogspot.com.ar 1
http://techsnap.blogspot.ca 1
http://www.techsnap.blogspot.in 1
http://techsnap.blogspot.co.uk 1
More...

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Decision Table Training Session Decision Table Training Session Presentation Transcript

  • Decision Tables A useful testing technique and more… Marien de Wilde, Project Manager IBM New Zealand Ltd, 021 - 474 018 © Copyright IBM New Zealand Ltd, June 2002
  • In this session …
    • Definition
    • Application areas
    • Steps to create a decision table
    • Exercise
    • Solution to exercise
  • Definition
    • Components
    • A decision table lists causes and effects in a matrix. Each column represents a unique combination.
    • Purpose is to structure logic
    Cause = condition Effect = action = expected results
  • Application Areas
    • Business Analysis
    • Programming
    • Testing
    • Hardware Design
    • etc
  • Steps to Create a decision table
    • 1. List all causes in the decision table
    • 2. Calculate the number of possible combinations
    • 3. Fill columns with all possible combinations
    • 4. Reduce test combinations
    • 5. Check covered combinations
    • 6. Add effects to the table
  • Step 1: List all causes
    • Hints:
    • Write down the values the cause/condition can assume
    • Cluster related causes
    • Put the most dominating cause first
    • Put multi valued causes last
  • Step 2: Calculate combinations
    • If all causes are simply Y/N values: 2 number of causes
    • If 1 cause with 3 values and 3 with 2: 3 1 * 2 3 = 24
    • Or, use the Values column and multiply each value down the column, eg. 3*2*2*2=24
    Number of Values to the power of the number of causes with these values
  • Step 3: Fill columns
    • Algorithm:
    • Determine Repeating Factor (RF): divide remaining combinations by the number of possible values for that cause
    • Write RF times the first value, then RF times the next etc. until row is full
    • Next row, go to 1.
  • Step 4: Reduce combinations
    • Find indifferent combinations – place a ‘-’
    • Join columns where columns are identical
    • Tip: ensure the effects are the same
  • Step 5: Check covered combinations
    • Checksum
    • For each column calculate the combinations it represents
    • A ‘-’ represents as many combinations as the cause has
    • Multiply for each ‘-’ down the column
    • Add up total and compare with step 2
  • Step 6: Add effects to table
    • Read column by column and determine the effects
    • One effect can occur in multiple test combinations
  • Exercise: Specification Create a decision table
    • A mailing is to be sent out to customers. The content of the mailing is about the current level of discounting and potential levels of discounting. The content is different for different types of customers.
    • Customer Types A, B and C get a normal letter except Customer Type C, who get a special letter. Any customer with 2 or more current lines or with a credit rating of ‘X’ get a special paragraph added with an offer to subscribe to another level of discounting.
  • Exercise: possible solution “ 2 or more current lines OR credit rating X”. What if both: AND ? Other customer types? See “O-Other” above. What about non current lines?
  • Thank You