SlideShare a Scribd company logo
1 of 52
Capgemini Financial Services
Independent Test Engineering and Monitoring Solutions
ISTQB Foundation Level
Chapter- 4
Test design techniques
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Agenda
 Identifying test conditions and designing test cases
 Categories of test design techniques
 Specification-based or black-box techniques
 Structure-based or white-box techniques
 Experience-based techniques
 Choosing test techniques
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Identifying test conditions and designing test
cases
Test condition,
Test procedure
Test case
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Types of Testing Techniques
Dynamic Testing
Techniques
BehavioralStructural
Data Flow Non Functional FunctionalControl Flow
Symbolic
Execution
Data Use
Statement
Brach/Decision
Brach Condition
Branch Condition
Combination
LCSAJ
Usability
Performance
Security
BVA
Equivalence
Partitioning
State Transition
Cause -Effect
Graphing
Random
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Relationship
Dynamic Testing
Techniques
BehavioralStructural
Data Flow Non Functional FunctionalControl Flow
Symbolic
Execution
Data Use
Statement
Brach/Decision
Brach Condition
Branch Condition
Combination
LCSAJ
Usability
Performance
Security
BVA
Equivalence
Partitioning
State Transition
Cause -Effect
Graphing
Random
Behavioral Techniques
are Black Box
Techniques
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Dynamic Testing
Techniques
BehaviouralStructural
Data Flow Non Functional FunctionalControl Flow
Symbolic
Execution
Data Use
Statement
Brach/Decision
Brach Condition
Branch Condition
Combination
LCSAJ
Usability
Performance
Security
BVA
Equivalence
Partitioning
State Transition
Cause -Effect
Graphing
Random
Structural Techniques
are White Box
Techniques
Relationship
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Specification-based or black-box
techniques
 Equivalence partitioning
 Boundary value analysis
 Decision table testing
 State transition testing
 Use case testing
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
All Rights Reserved
Equivalence Partitioning
Equivalence partitioning is a black-box testing method
- divide the input domain of a program into classes of data
- derive test cases based on these partitions.
Test case design for equivalence partitioning is based on an evaluation of
equivalence classes for an input domain.
An equivalence class represents a set of valid or invalid states for input condition.
An input condition is:
- a specific numeric value, a range of values
- a set of related values, or a Boolean condition
system
Valid inputs
invalid inputs
outputs
partition
Equivalence partitioning
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Equivalence partitioning
• Input data often fall into different classes where all
members of a class are related
• Each of these classes is an equivalence partition where
the program behaves in an equivalent way for each class
member
• Test cases should be chosen from each partition
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
• Partition system inputs into
‘equivalence sets’
If input is a 5-digit integer between 10,000 and 99,999,
equivalence partitions are <10,000, 10,000-99, 999 and >
99,999
• Choose test cases at the boundary of these
sets
00000, 09999, 10000, 99999, 10001
Equivalence partitioning
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Equivalence partitions
Between10000and99999Lessthan10000 Morethan99999
9999
10000 50000
100000
99999
Inputvalues
Between4and10Lessthan4 Morethan10
3
4 7
11
10
Numberofinputvalues
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Equivalence partitions
How do you determine the equivalence classes?
examine the input data.
few general guidelines for determining the equivalence classes
can be given
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Equivalence partitions
If the input data to the program is specified by a range
of values:
e.g. numbers between 1 to 5000.
one valid and two invalid equivalence classes are defined.
1 5000
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Equivalence partitions
If input is an enumerated set of values:
e.g. {a,b,c}
one equivalence class for valid input values
another equivalence class for invalid input values should be
defined.
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Jerry Gao Ph.D. 7/20002 All Rights Reserved
Boundary Value Analysis
Boundary value analysis(BVA) - a test case design technique
- complements to equivalence partition
Objective:
Boundary value analysis leads to a selection of test cases that exercise bounding
values.
Guidelines:
- If an input condition specifies a range bounded by values a and b,
test cases should be designed with value a and b, just above and below a and b.
Example: Integer D with input condition [-3, 10],
test values:-3, 10, 11, -2, 0
- If an input condition specifies a number values, test cases should be developed
to exercise the minimum and maximum numbers. Values just above and below
minimum and maximum are also tested.
Example: Enumerate data E with input condition: {3, 5, 100, 102}
test values:3, 102, -1, 200, 5
Boundary value analysis(BVA)
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
State transition testing
State Transition Testing
• Object = state + behavior
• Behavior is the sequence of messages (or
events) that an object accepts
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
State transition testing
 Key Concepts
 • State: a condition in which a system is
 waiting for one or multiple events
 • Transition: represents change from one
 state to another caused by an event
 • Event: input that may cause a transition
 • Action: operation initiated because of a
 state change (occur on transitions)
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
State transition testing
State transition testing
• Models each state a system can exist in
• Models each state transition
• Defines for each state transition
‣ start state
‣ input
‣ output
‣ finish state
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
State transition testing
1 2
3 4
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
State transition testing
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Decision table testing
Decision table testing
• useful when requirements have been specified as
“if-then” rules
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Decision table testing
Requirements of certain programs are specified by
decision tables.
A decision table is useful when specifying complex decision logic
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Decision table testing s
A decision table has two parts:
condition part
action part
The two together specify under what condition will an
action be performed.
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Decision table testing
−C: denotes a condition
−A: denotes an action
−Y: denotes true
−N:denotes false
−X: denotes action to be taken.
−Blank in condition: denotes “don’t care”
−Blank in action: denotes “do not take the action”
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Bank Example
Consider a bank software responsible for debiting from
an account. The relevant conditions and actions are:
−C1: The account number is correct
−C2: The signature matches
−C3: There is enough money in the account
−A1: Give money
−A2: Give statement indicating insufficient funds
−A3: Call vigilance to check for fraud!
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Decision table testing
1 2 3 4 5
C1 N Y Y Y Y
C2 N N Y Y
C3 N Y N
A1 X
A2 X
A3 X X
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Example (contd.)
A2 is to be performed when C1 and C2 are true
and C3 is false.
A1 is to be performed when C1, C2, and C3 are true.
A3 is to be performed when C1 is true and C2 is false.
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Use case testing
 Use case testing
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Structure-based or white-box
techniques
Coverage
The coverage of a set of test cases is a measure of the
proportion of statements, branches or paths covered by
the set of test cases.
Statement coverage, branch coverage and path coverage
are white box testing techniques that are used to propose
test cases based on the logical structure of a program
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Designing Test Cases for
Coverage
• Analyse source to derive flow graph
• Propose test paths to achieve required coverage from
the flow graph
• Evaluate test conditions to achieve each path
• Propose input and output values based on the
conditions
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Example
enrol(student, tute) {
A if student already in tute
B display “already enrolled in tute”
else
C if tute is full
D display “tute requested is full”
else
E add enrolment record for student in tute
display “enrolment successful”
F end if
G end if
}
A
B C
D E
F
G
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Statement Coverage
Statement coverage of a set of test cases is defined to be
the proportion of statements in a unit covered by those
test cases.
100% statement coverage for a set of tests means that all
statements are covered by the tests. That is, all
statements will be executed at least once by running the
tests.
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Example – Statement Coverage
A
B C
D E
F
G
Total Nodes = 7
Test case ABG covers 3/7 = 43%
+
Test case ACDFG
Now covers 5/7 = 71%
Need 1 more fore 100% statement
coverage - ACEFG
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Example – Defining test cases
For 100% statement
coverage need 3 cases:
ABG,
ACDFG,
ACEFG
ABG – conditions:
student already in tute.
expect: display “already
enrolled in tute”
enrol(student, tute) {
A if student already in tute
B display “already
enrolled in tute”
else
C if tute is full
D display “tute
requested is full”
else
E add enrolment
record for student in tute
display
“enrolment successful”
F end if
G end if
}
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Branch Coverage
Branch coverage is determined by the proportion of
decision branches that are exercised by a set of proposed
test cases.
100% branch coverage is where every decision branch
in a unit is visited by at least one test in the set of
proposed test cases.
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Example – Branch coverage
A
B C
D E
F
G
What branch coverage is achieved
by ABG, ACDFG, ACEFG?
4 in total.
4 covered
So 4/4 = 100% branch coverage
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Path Coverage
Path coverage is determined by assessing the proportion
of execution paths through a unit exercised by the set of
proposed test cases.
100% path coverage is where every path in the unit is
executed at least once by the set of proposed test cases.
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Example – Path coverage
A
B C
D E
F
G
What path coverage is achieved by
ABG, ACDFG, ACEFG?
3/3=100%
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Coverage
100% path coverage implies 100% branch coverage and
100% branch coverage implies 100% statement
coverage
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Experience-based techniques
 Random Testing
 Exploratory Testing
 Error Guessing
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Random Testing
 A non systematic techniques
• Should be used only after systematic techniques have been exhausted
• Involves picking a set of test cases randomly from the present test
• No set approach in selecting test cases
• Also known as Guerilla testing and Monkey Testing
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Other Techniques
 Exploratory Testing
 “Exploratory testing is simultaneous learning, test design and test
execution“
- James Bach
• Test cases are not defined in advance
• Outcome of one test case determines the next test case
• Very useful in rapidly changing environments
• Useful aid after all other techniques have been exhausted
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Other Techniques
 Error Guessing
 Much ad hoc testing is based on intuition and guesswork
and there are good reasons why this helps us to derive
useful tests
• Some people have a knack of finding bugs
• Good test cases can be derived in this way
• Example:
 A menu system might be tested by entering same command repeatedly,
screens entered and exited immediately entered, transactions aborted,
re-entered, deleted then searched for.
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Usage
 Techniques like Exploratory testing and Error Guessing
should never be used!
 True ? False?
 Both these techniques are widely used and used best by
experienced testers.
 Every Tester should use these techniques to increase the
effectiveness of their Test Cases.
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
• Risk Based Testing
Wise Quote: Anything that can go wrong, will.
(Larry Niven)
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Risk Based Testing
 So much to test , so little time !
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Risk Based Testing
 Always Prioritize based on Risk of the system
Questions to ask:
• What does the client require most?
• What is most critical to the System?
• What has been explicitly stated?
• What has been implicitly understood?
• Have you highlighted the risks and followed the mitigation steps?
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Risk Based Testing
The answers will help you identify:
 what to test first
• what to test most
• how thoroughly to test each item
• what not to test (this time)
Also:
• Use test results to refine the risk analysis.
• Don’t neglect other low-risk areas - what if your risk analysis is wrong !
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Risk Based Testing
Examples:
 One component has suffered from various attacks like:
• Changing requirements
• Change in development Team
• High defects in earlier phases
 This component would pose a very high product risk, but does it pose a
high project risk also?
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Risk Based Testing
 Ask the following questions to get the answer :
• Is the component a business critical requirement?
• Is the component set to be delivered in this release?
Overview | Financial Services
All work described was performed by Capgemini or a Capgemini affiliate
Choosing the right technique
 The choice of which test techniques to use depends on a number of
factors, including
 type of system,
 regulatory standards,
 customer or contractual requirements,
 level of risk, type of risk,
 test objective,
 documentation available,
 knowledge of the testers,
 time and budget,
 previous experience of types of defects found, etc
 Some techniques are more applicable to certain situations and test
levels; others are applicable to all test levels.
Thank You

More Related Content

What's hot

Learn Software Testing for ISTQB Foundation Exam
Learn Software Testing for ISTQB Foundation ExamLearn Software Testing for ISTQB Foundation Exam
Learn Software Testing for ISTQB Foundation ExamYogindernath Gupta
 
CTFL Module 04
CTFL Module 04CTFL Module 04
CTFL Module 04Davis Thomas
 
Software test management overview for managers
Software test management overview for managersSoftware test management overview for managers
Software test management overview for managersTJamesLeDoux
 
ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4onsoftwaretest
 
Test Management introduction
Test Management introductionTest Management introduction
Test Management introductionOana Feidi
 
CTFL Module 01
CTFL Module 01CTFL Module 01
CTFL Module 01Davis Thomas
 
Test Management Training
Test Management TrainingTest Management Training
Test Management Trainingsuhasreddy1
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2Yogindernath Gupta
 
Introduction to ISTQB & ISEB Certifications
Introduction to ISTQB & ISEB CertificationsIntroduction to ISTQB & ISEB Certifications
Introduction to ISTQB & ISEB CertificationsYogindernath Gupta
 
Software Testing - Test management - Mazenet Solution
Software Testing - Test management - Mazenet SolutionSoftware Testing - Test management - Mazenet Solution
Software Testing - Test management - Mazenet SolutionMazenetsolution
 
ISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam PracticeISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam PracticeYogindernath Gupta
 
ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2onsoftwaretest
 
CTFL Module 02
CTFL Module 02CTFL Module 02
CTFL Module 02Davis Thomas
 

What's hot (20)

Chap1
Chap1Chap1
Chap1
 
Learn Software Testing for ISTQB Foundation Exam
Learn Software Testing for ISTQB Foundation ExamLearn Software Testing for ISTQB Foundation Exam
Learn Software Testing for ISTQB Foundation Exam
 
CTFL Module 04
CTFL Module 04CTFL Module 04
CTFL Module 04
 
Software test management overview for managers
Software test management overview for managersSoftware test management overview for managers
Software test management overview for managers
 
ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4
 
Scrum best practices
Scrum best practicesScrum best practices
Scrum best practices
 
Test Management introduction
Test Management introductionTest Management introduction
Test Management introduction
 
ISTQB Technical Test Analyst 2012 Training - Structure-Based Testing
ISTQB Technical Test Analyst 2012 Training - Structure-Based TestingISTQB Technical Test Analyst 2012 Training - Structure-Based Testing
ISTQB Technical Test Analyst 2012 Training - Structure-Based Testing
 
CTFL Module 01
CTFL Module 01CTFL Module 01
CTFL Module 01
 
Test Life Cycle
Test Life CycleTest Life Cycle
Test Life Cycle
 
Istqb foundation level day 1
Istqb foundation level   day 1Istqb foundation level   day 1
Istqb foundation level day 1
 
Test Management Training
Test Management TrainingTest Management Training
Test Management Training
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2
 
Introduction to ISTQB & ISEB Certifications
Introduction to ISTQB & ISEB CertificationsIntroduction to ISTQB & ISEB Certifications
Introduction to ISTQB & ISEB Certifications
 
Software Testing - Test management - Mazenet Solution
Software Testing - Test management - Mazenet SolutionSoftware Testing - Test management - Mazenet Solution
Software Testing - Test management - Mazenet Solution
 
ISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam PracticeISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam Practice
 
ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2
 
CTFL Module 02
CTFL Module 02CTFL Module 02
CTFL Module 02
 
ISTQB Technical Test Analyst 2012 Training - The Technical Test Analyst's Tas...
ISTQB Technical Test Analyst 2012 Training - The Technical Test Analyst's Tas...ISTQB Technical Test Analyst 2012 Training - The Technical Test Analyst's Tas...
ISTQB Technical Test Analyst 2012 Training - The Technical Test Analyst's Tas...
 
ISTQB foundation level - day 2
ISTQB foundation level - day 2ISTQB foundation level - day 2
ISTQB foundation level - day 2
 

Similar to Istqb fl chap_4_edited

Testcase design techniques final
Testcase design techniques finalTestcase design techniques final
Testcase design techniques finalshraavank
 
The Role Of The Sqa In Software Development By Jim Coleman
The Role Of The Sqa In Software Development By Jim ColemanThe Role Of The Sqa In Software Development By Jim Coleman
The Role Of The Sqa In Software Development By Jim ColemanJames Coleman
 
Devry acct 555 entire course
Devry acct 555 entire courseDevry acct 555 entire course
Devry acct 555 entire courseIsabeedd
 
Devry acct 555 entire course
Devry acct 555 entire courseDevry acct 555 entire course
Devry acct 555 entire coursealbyalcot91
 
Devry acct 555 entire course
Devry acct 555 entire courseDevry acct 555 entire course
Devry acct 555 entire coursejody zoll
 
Dynamic Testing
Dynamic TestingDynamic Testing
Dynamic TestingJimi Patel
 
Cmt learning objective 36 case study of s&amp;p 500
Cmt learning objective 36   case study of s&amp;p 500Cmt learning objective 36   case study of s&amp;p 500
Cmt learning objective 36 case study of s&amp;p 500Professional Training Academy
 
Jzanzig auditing ch 13 lecture
Jzanzig auditing ch 13 lectureJzanzig auditing ch 13 lecture
Jzanzig auditing ch 13 lecturecasahiljain1992
 
Automating End-to-End Business Scenario Testing
Automating End-to-End Business Scenario TestingAutomating End-to-End Business Scenario Testing
Automating End-to-End Business Scenario TestingTechWell
 
blckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ yk
blckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ ykblckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ yk
blckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ ykSMayankSharma
 
Process auditing as per VDA 6.3
Process auditing as per VDA 6.3Process auditing as per VDA 6.3
Process auditing as per VDA 6.3Kiran Walimbe
 
Process auditing as per VDA 6.3
Process auditing as per VDA 6.3Process auditing as per VDA 6.3
Process auditing as per VDA 6.3Kiran Walimbe
 
Claims leakage presentation with narration
Claims leakage presentation  with narrationClaims leakage presentation  with narration
Claims leakage presentation with narrationMark Rayner
 
4 Decision Structures and Boolean Logic
4 Decision Structures and Boolean Logic4 Decision Structures and Boolean Logic
4 Decision Structures and Boolean LogicKwan Lee
 
CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4SIMONTHOMAS S
 
QAustral Testing
QAustral   TestingQAustral   Testing
QAustral Testingcusmaim
 
Assessment in tafe nsw dev grading criteria for units - sept 2010 branko
Assessment in tafe nsw   dev grading criteria for units - sept 2010 brankoAssessment in tafe nsw   dev grading criteria for units - sept 2010 branko
Assessment in tafe nsw dev grading criteria for units - sept 2010 brankogcheetham
 
Back Up QA - New ppt
Back Up QA - New pptBack Up QA - New ppt
Back Up QA - New pptmegha G
 

Similar to Istqb fl chap_4_edited (20)

Testcase design techniques final
Testcase design techniques finalTestcase design techniques final
Testcase design techniques final
 
The Role Of The Sqa In Software Development By Jim Coleman
The Role Of The Sqa In Software Development By Jim ColemanThe Role Of The Sqa In Software Development By Jim Coleman
The Role Of The Sqa In Software Development By Jim Coleman
 
Devry acct 555 entire course
Devry acct 555 entire courseDevry acct 555 entire course
Devry acct 555 entire course
 
Devry acct 555 entire course
Devry acct 555 entire courseDevry acct 555 entire course
Devry acct 555 entire course
 
Devry acct 555 entire course
Devry acct 555 entire courseDevry acct 555 entire course
Devry acct 555 entire course
 
Test design
Test designTest design
Test design
 
Dynamic Testing
Dynamic TestingDynamic Testing
Dynamic Testing
 
Cmt learning objective 36 case study of s&amp;p 500
Cmt learning objective 36   case study of s&amp;p 500Cmt learning objective 36   case study of s&amp;p 500
Cmt learning objective 36 case study of s&amp;p 500
 
Case study of s&amp;p 500
Case study of s&amp;p 500Case study of s&amp;p 500
Case study of s&amp;p 500
 
Jzanzig auditing ch 13 lecture
Jzanzig auditing ch 13 lectureJzanzig auditing ch 13 lecture
Jzanzig auditing ch 13 lecture
 
Automating End-to-End Business Scenario Testing
Automating End-to-End Business Scenario TestingAutomating End-to-End Business Scenario Testing
Automating End-to-End Business Scenario Testing
 
blckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ yk
blckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ ykblckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ yk
blckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ yk
 
Process auditing as per VDA 6.3
Process auditing as per VDA 6.3Process auditing as per VDA 6.3
Process auditing as per VDA 6.3
 
Process auditing as per VDA 6.3
Process auditing as per VDA 6.3Process auditing as per VDA 6.3
Process auditing as per VDA 6.3
 
Claims leakage presentation with narration
Claims leakage presentation  with narrationClaims leakage presentation  with narration
Claims leakage presentation with narration
 
4 Decision Structures and Boolean Logic
4 Decision Structures and Boolean Logic4 Decision Structures and Boolean Logic
4 Decision Structures and Boolean Logic
 
CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4
 
QAustral Testing
QAustral   TestingQAustral   Testing
QAustral Testing
 
Assessment in tafe nsw dev grading criteria for units - sept 2010 branko
Assessment in tafe nsw   dev grading criteria for units - sept 2010 brankoAssessment in tafe nsw   dev grading criteria for units - sept 2010 branko
Assessment in tafe nsw dev grading criteria for units - sept 2010 branko
 
Back Up QA - New ppt
Back Up QA - New pptBack Up QA - New ppt
Back Up QA - New ppt
 

More from Akash gupta

Resume arti soni
Resume arti soniResume arti soni
Resume arti soniAkash gupta
 
Answers to-500-istqb-sample-papers-2010-2011
Answers to-500-istqb-sample-papers-2010-2011Answers to-500-istqb-sample-papers-2010-2011
Answers to-500-istqb-sample-papers-2010-2011Akash gupta
 
Istqb fl chap_1_edited
Istqb fl chap_1_editedIstqb fl chap_1_edited
Istqb fl chap_1_editedAkash gupta
 
Istqb fl chap_2_edited
Istqb fl chap_2_editedIstqb fl chap_2_edited
Istqb fl chap_2_editedAkash gupta
 
Capgemini resume template
Capgemini resume templateCapgemini resume template
Capgemini resume templateAkash gupta
 
Book integrated assignment
Book integrated assignmentBook integrated assignment
Book integrated assignmentAkash gupta
 
Book integrated assignment
Book integrated assignmentBook integrated assignment
Book integrated assignmentAkash gupta
 
Automation practice (my store) document
Automation practice (my store) documentAutomation practice (my store) document
Automation practice (my store) documentAkash gupta
 
Vehicle feedback
Vehicle feedbackVehicle feedback
Vehicle feedbackAkash gupta
 
Moduler approachdemo
Moduler approachdemoModuler approachdemo
Moduler approachdemoAkash gupta
 
Exception handling
Exception handlingException handling
Exception handlingAkash gupta
 
Case study
Case studyCase study
Case studyAkash gupta
 

More from Akash gupta (18)

Resume arti soni
Resume arti soniResume arti soni
Resume arti soni
 
Resume
Resume Resume
Resume
 
Answers to-500-istqb-sample-papers-2010-2011
Answers to-500-istqb-sample-papers-2010-2011Answers to-500-istqb-sample-papers-2010-2011
Answers to-500-istqb-sample-papers-2010-2011
 
Istqb fl chap_1_edited
Istqb fl chap_1_editedIstqb fl chap_1_edited
Istqb fl chap_1_edited
 
Istqb fl chap_2_edited
Istqb fl chap_2_editedIstqb fl chap_2_edited
Istqb fl chap_2_edited
 
Chap6
Chap6Chap6
Chap6
 
Chap5
Chap5Chap5
Chap5
 
Chap4
Chap4Chap4
Chap4
 
Capgemini resume template
Capgemini resume templateCapgemini resume template
Capgemini resume template
 
Book integrated assignment
Book integrated assignmentBook integrated assignment
Book integrated assignment
 
Book integrated assignment
Book integrated assignmentBook integrated assignment
Book integrated assignment
 
Casestudy
CasestudyCasestudy
Casestudy
 
Automation practice (my store) document
Automation practice (my store) documentAutomation practice (my store) document
Automation practice (my store) document
 
Vehicle feedback
Vehicle feedbackVehicle feedback
Vehicle feedback
 
Moduler approachdemo
Moduler approachdemoModuler approachdemo
Moduler approachdemo
 
Exception handling
Exception handlingException handling
Exception handling
 
Case study
Case studyCase study
Case study
 
M
MM
M
 

Recently uploaded

Editorial sephora annual report design project
Editorial sephora annual report design projectEditorial sephora annual report design project
Editorial sephora annual report design projecttbatkhuu1
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Pari Chowk | Noida
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Pari Chowk | NoidaFULL ENJOY 🔝 8264348440 🔝 Call Girls in Pari Chowk | Noida
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Pari Chowk | Noidasoniya singh
 
Hazratganj ] (Call Girls) in Lucknow - 450+ Call Girl Cash Payment 🧄 89231135...
Hazratganj ] (Call Girls) in Lucknow - 450+ Call Girl Cash Payment 🧄 89231135...Hazratganj ] (Call Girls) in Lucknow - 450+ Call Girl Cash Payment 🧄 89231135...
Hazratganj ] (Call Girls) in Lucknow - 450+ Call Girl Cash Payment 🧄 89231135...akbard9823
 
Young⚡Call Girls in Lajpat Nagar Delhi >༒9667401043 Escort Service
Young⚡Call Girls in Lajpat Nagar Delhi >༒9667401043 Escort ServiceYoung⚡Call Girls in Lajpat Nagar Delhi >༒9667401043 Escort Service
Young⚡Call Girls in Lajpat Nagar Delhi >༒9667401043 Escort Servicesonnydelhi1992
 
Lucknow 💋 Call Girl in Lucknow 10k @ I'm VIP Independent Escorts Girls 892311...
Lucknow 💋 Call Girl in Lucknow 10k @ I'm VIP Independent Escorts Girls 892311...Lucknow 💋 Call Girl in Lucknow 10k @ I'm VIP Independent Escorts Girls 892311...
Lucknow 💋 Call Girl in Lucknow 10k @ I'm VIP Independent Escorts Girls 892311...anilsa9823
 
Lucknow 💋 Russian Call Girls Lucknow - Book 8923113531 Call Girls Available 2...
Lucknow 💋 Russian Call Girls Lucknow - Book 8923113531 Call Girls Available 2...Lucknow 💋 Russian Call Girls Lucknow - Book 8923113531 Call Girls Available 2...
Lucknow 💋 Russian Call Girls Lucknow - Book 8923113531 Call Girls Available 2...anilsa9823
 
this is a jarvis ppt for jarvis ai assistant lovers and this is for you
this is a jarvis ppt for jarvis ai assistant lovers and this is for youthis is a jarvis ppt for jarvis ai assistant lovers and this is for you
this is a jarvis ppt for jarvis ai assistant lovers and this is for youhigev50580
 
Islamabad Escorts # 03080115551 # Escorts in Islamabad || Call Girls in Islam...
Islamabad Escorts # 03080115551 # Escorts in Islamabad || Call Girls in Islam...Islamabad Escorts # 03080115551 # Escorts in Islamabad || Call Girls in Islam...
Islamabad Escorts # 03080115551 # Escorts in Islamabad || Call Girls in Islam...wdefrd
 
Call girls in Kanpur - 9761072362 with room service
Call girls in Kanpur - 9761072362 with room serviceCall girls in Kanpur - 9761072362 with room service
Call girls in Kanpur - 9761072362 with room servicediscovermytutordmt
 
exhuma plot and synopsis from the exhuma movie.pptx
exhuma plot and synopsis from the exhuma movie.pptxexhuma plot and synopsis from the exhuma movie.pptx
exhuma plot and synopsis from the exhuma movie.pptxKurikulumPenilaian
 
Islamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad Escorts
Islamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad EscortsIslamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad Escorts
Islamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad Escortswdefrd
 
Authentic # 00971556872006 # Hot Call Girls Service in Dubai By International...
Authentic # 00971556872006 # Hot Call Girls Service in Dubai By International...Authentic # 00971556872006 # Hot Call Girls Service in Dubai By International...
Authentic # 00971556872006 # Hot Call Girls Service in Dubai By International...home
 
Young⚡Call Girls in Uttam Nagar Delhi >༒9667401043 Escort Service
Young⚡Call Girls in Uttam Nagar Delhi >༒9667401043 Escort ServiceYoung⚡Call Girls in Uttam Nagar Delhi >༒9667401043 Escort Service
Young⚡Call Girls in Uttam Nagar Delhi >༒9667401043 Escort Servicesonnydelhi1992
 
Turn Lock Take Key Storyboard Daniel Johnson
Turn Lock Take Key Storyboard Daniel JohnsonTurn Lock Take Key Storyboard Daniel Johnson
Turn Lock Take Key Storyboard Daniel Johnsonthephillipta
 
RAJKOT CALL GIRL 76313*77252 CALL GIRL IN RAJKOT
RAJKOT CALL GIRL 76313*77252 CALL GIRL IN RAJKOTRAJKOT CALL GIRL 76313*77252 CALL GIRL IN RAJKOT
RAJKOT CALL GIRL 76313*77252 CALL GIRL IN RAJKOTHigh profile service all area
 
Bridge Fight Board by Daniel Johnson dtjohnsonart.com
Bridge Fight Board by Daniel Johnson dtjohnsonart.comBridge Fight Board by Daniel Johnson dtjohnsonart.com
Bridge Fight Board by Daniel Johnson dtjohnsonart.comthephillipta
 
Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...
Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...
Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...anilsa9823
 
Lucknow 💋 Escort Service in Lucknow (Adult Only) 8923113531 Escort Service 2...
Lucknow 💋 Escort Service in Lucknow  (Adult Only) 8923113531 Escort Service 2...Lucknow 💋 Escort Service in Lucknow  (Adult Only) 8923113531 Escort Service 2...
Lucknow 💋 Escort Service in Lucknow (Adult Only) 8923113531 Escort Service 2...anilsa9823
 
Lucknow 💋 Cheap Call Girls In Lucknow Finest Escorts Service 8923113531 Avail...
Lucknow 💋 Cheap Call Girls In Lucknow Finest Escorts Service 8923113531 Avail...Lucknow 💋 Cheap Call Girls In Lucknow Finest Escorts Service 8923113531 Avail...
Lucknow 💋 Cheap Call Girls In Lucknow Finest Escorts Service 8923113531 Avail...anilsa9823
 

Recently uploaded (20)

Editorial sephora annual report design project
Editorial sephora annual report design projectEditorial sephora annual report design project
Editorial sephora annual report design project
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Pari Chowk | Noida
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Pari Chowk | NoidaFULL ENJOY 🔝 8264348440 🔝 Call Girls in Pari Chowk | Noida
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Pari Chowk | Noida
 
Hazratganj ] (Call Girls) in Lucknow - 450+ Call Girl Cash Payment 🧄 89231135...
Hazratganj ] (Call Girls) in Lucknow - 450+ Call Girl Cash Payment 🧄 89231135...Hazratganj ] (Call Girls) in Lucknow - 450+ Call Girl Cash Payment 🧄 89231135...
Hazratganj ] (Call Girls) in Lucknow - 450+ Call Girl Cash Payment 🧄 89231135...
 
Young⚡Call Girls in Lajpat Nagar Delhi >༒9667401043 Escort Service
Young⚡Call Girls in Lajpat Nagar Delhi >༒9667401043 Escort ServiceYoung⚡Call Girls in Lajpat Nagar Delhi >༒9667401043 Escort Service
Young⚡Call Girls in Lajpat Nagar Delhi >༒9667401043 Escort Service
 
Lucknow 💋 Call Girl in Lucknow 10k @ I'm VIP Independent Escorts Girls 892311...
Lucknow 💋 Call Girl in Lucknow 10k @ I'm VIP Independent Escorts Girls 892311...Lucknow 💋 Call Girl in Lucknow 10k @ I'm VIP Independent Escorts Girls 892311...
Lucknow 💋 Call Girl in Lucknow 10k @ I'm VIP Independent Escorts Girls 892311...
 
Indian Deira Call Girls # 0522916705 # Indian Call Girls In Deira Dubai || (UAE)
Indian Deira Call Girls # 0522916705 # Indian Call Girls In Deira Dubai || (UAE)Indian Deira Call Girls # 0522916705 # Indian Call Girls In Deira Dubai || (UAE)
Indian Deira Call Girls # 0522916705 # Indian Call Girls In Deira Dubai || (UAE)
 
Lucknow 💋 Russian Call Girls Lucknow - Book 8923113531 Call Girls Available 2...
Lucknow 💋 Russian Call Girls Lucknow - Book 8923113531 Call Girls Available 2...Lucknow 💋 Russian Call Girls Lucknow - Book 8923113531 Call Girls Available 2...
Lucknow 💋 Russian Call Girls Lucknow - Book 8923113531 Call Girls Available 2...
 
this is a jarvis ppt for jarvis ai assistant lovers and this is for you
this is a jarvis ppt for jarvis ai assistant lovers and this is for youthis is a jarvis ppt for jarvis ai assistant lovers and this is for you
this is a jarvis ppt for jarvis ai assistant lovers and this is for you
 
Islamabad Escorts # 03080115551 # Escorts in Islamabad || Call Girls in Islam...
Islamabad Escorts # 03080115551 # Escorts in Islamabad || Call Girls in Islam...Islamabad Escorts # 03080115551 # Escorts in Islamabad || Call Girls in Islam...
Islamabad Escorts # 03080115551 # Escorts in Islamabad || Call Girls in Islam...
 
Call girls in Kanpur - 9761072362 with room service
Call girls in Kanpur - 9761072362 with room serviceCall girls in Kanpur - 9761072362 with room service
Call girls in Kanpur - 9761072362 with room service
 
exhuma plot and synopsis from the exhuma movie.pptx
exhuma plot and synopsis from the exhuma movie.pptxexhuma plot and synopsis from the exhuma movie.pptx
exhuma plot and synopsis from the exhuma movie.pptx
 
Islamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad Escorts
Islamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad EscortsIslamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad Escorts
Islamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad Escorts
 
Authentic # 00971556872006 # Hot Call Girls Service in Dubai By International...
Authentic # 00971556872006 # Hot Call Girls Service in Dubai By International...Authentic # 00971556872006 # Hot Call Girls Service in Dubai By International...
Authentic # 00971556872006 # Hot Call Girls Service in Dubai By International...
 
Young⚡Call Girls in Uttam Nagar Delhi >༒9667401043 Escort Service
Young⚡Call Girls in Uttam Nagar Delhi >༒9667401043 Escort ServiceYoung⚡Call Girls in Uttam Nagar Delhi >༒9667401043 Escort Service
Young⚡Call Girls in Uttam Nagar Delhi >༒9667401043 Escort Service
 
Turn Lock Take Key Storyboard Daniel Johnson
Turn Lock Take Key Storyboard Daniel JohnsonTurn Lock Take Key Storyboard Daniel Johnson
Turn Lock Take Key Storyboard Daniel Johnson
 
RAJKOT CALL GIRL 76313*77252 CALL GIRL IN RAJKOT
RAJKOT CALL GIRL 76313*77252 CALL GIRL IN RAJKOTRAJKOT CALL GIRL 76313*77252 CALL GIRL IN RAJKOT
RAJKOT CALL GIRL 76313*77252 CALL GIRL IN RAJKOT
 
Bridge Fight Board by Daniel Johnson dtjohnsonart.com
Bridge Fight Board by Daniel Johnson dtjohnsonart.comBridge Fight Board by Daniel Johnson dtjohnsonart.com
Bridge Fight Board by Daniel Johnson dtjohnsonart.com
 
Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...
Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...
Lucknow 💋 Call Girls in Lucknow | Service-oriented sexy call girls 8923113531...
 
Lucknow 💋 Escort Service in Lucknow (Adult Only) 8923113531 Escort Service 2...
Lucknow 💋 Escort Service in Lucknow  (Adult Only) 8923113531 Escort Service 2...Lucknow 💋 Escort Service in Lucknow  (Adult Only) 8923113531 Escort Service 2...
Lucknow 💋 Escort Service in Lucknow (Adult Only) 8923113531 Escort Service 2...
 
Lucknow 💋 Cheap Call Girls In Lucknow Finest Escorts Service 8923113531 Avail...
Lucknow 💋 Cheap Call Girls In Lucknow Finest Escorts Service 8923113531 Avail...Lucknow 💋 Cheap Call Girls In Lucknow Finest Escorts Service 8923113531 Avail...
Lucknow 💋 Cheap Call Girls In Lucknow Finest Escorts Service 8923113531 Avail...
 

Istqb fl chap_4_edited

  • 1. Capgemini Financial Services Independent Test Engineering and Monitoring Solutions ISTQB Foundation Level Chapter- 4 Test design techniques
  • 2. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Agenda  Identifying test conditions and designing test cases  Categories of test design techniques  Specification-based or black-box techniques  Structure-based or white-box techniques  Experience-based techniques  Choosing test techniques
  • 3. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Identifying test conditions and designing test cases Test condition, Test procedure Test case
  • 4. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Types of Testing Techniques Dynamic Testing Techniques BehavioralStructural Data Flow Non Functional FunctionalControl Flow Symbolic Execution Data Use Statement Brach/Decision Brach Condition Branch Condition Combination LCSAJ Usability Performance Security BVA Equivalence Partitioning State Transition Cause -Effect Graphing Random
  • 5. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Relationship Dynamic Testing Techniques BehavioralStructural Data Flow Non Functional FunctionalControl Flow Symbolic Execution Data Use Statement Brach/Decision Brach Condition Branch Condition Combination LCSAJ Usability Performance Security BVA Equivalence Partitioning State Transition Cause -Effect Graphing Random Behavioral Techniques are Black Box Techniques
  • 6. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Dynamic Testing Techniques BehaviouralStructural Data Flow Non Functional FunctionalControl Flow Symbolic Execution Data Use Statement Brach/Decision Brach Condition Branch Condition Combination LCSAJ Usability Performance Security BVA Equivalence Partitioning State Transition Cause -Effect Graphing Random Structural Techniques are White Box Techniques Relationship
  • 7. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Specification-based or black-box techniques  Equivalence partitioning  Boundary value analysis  Decision table testing  State transition testing  Use case testing
  • 8. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate All Rights Reserved Equivalence Partitioning Equivalence partitioning is a black-box testing method - divide the input domain of a program into classes of data - derive test cases based on these partitions. Test case design for equivalence partitioning is based on an evaluation of equivalence classes for an input domain. An equivalence class represents a set of valid or invalid states for input condition. An input condition is: - a specific numeric value, a range of values - a set of related values, or a Boolean condition system Valid inputs invalid inputs outputs partition Equivalence partitioning
  • 9. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Equivalence partitioning • Input data often fall into different classes where all members of a class are related • Each of these classes is an equivalence partition where the program behaves in an equivalent way for each class member • Test cases should be chosen from each partition
  • 10. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate • Partition system inputs into ‘equivalence sets’ If input is a 5-digit integer between 10,000 and 99,999, equivalence partitions are <10,000, 10,000-99, 999 and > 99,999 • Choose test cases at the boundary of these sets 00000, 09999, 10000, 99999, 10001 Equivalence partitioning
  • 11. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Equivalence partitions Between10000and99999Lessthan10000 Morethan99999 9999 10000 50000 100000 99999 Inputvalues Between4and10Lessthan4 Morethan10 3 4 7 11 10 Numberofinputvalues
  • 12. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Equivalence partitions How do you determine the equivalence classes? examine the input data. few general guidelines for determining the equivalence classes can be given
  • 13. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Equivalence partitions If the input data to the program is specified by a range of values: e.g. numbers between 1 to 5000. one valid and two invalid equivalence classes are defined. 1 5000
  • 14. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Equivalence partitions If input is an enumerated set of values: e.g. {a,b,c} one equivalence class for valid input values another equivalence class for invalid input values should be defined.
  • 15. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Jerry Gao Ph.D. 7/20002 All Rights Reserved Boundary Value Analysis Boundary value analysis(BVA) - a test case design technique - complements to equivalence partition Objective: Boundary value analysis leads to a selection of test cases that exercise bounding values. Guidelines: - If an input condition specifies a range bounded by values a and b, test cases should be designed with value a and b, just above and below a and b. Example: Integer D with input condition [-3, 10], test values:-3, 10, 11, -2, 0 - If an input condition specifies a number values, test cases should be developed to exercise the minimum and maximum numbers. Values just above and below minimum and maximum are also tested. Example: Enumerate data E with input condition: {3, 5, 100, 102} test values:3, 102, -1, 200, 5 Boundary value analysis(BVA)
  • 16. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate State transition testing State Transition Testing • Object = state + behavior • Behavior is the sequence of messages (or events) that an object accepts
  • 17. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate State transition testing  Key Concepts  • State: a condition in which a system is  waiting for one or multiple events  • Transition: represents change from one  state to another caused by an event  • Event: input that may cause a transition  • Action: operation initiated because of a  state change (occur on transitions)
  • 18. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate State transition testing State transition testing • Models each state a system can exist in • Models each state transition • Defines for each state transition ‣ start state ‣ input ‣ output ‣ finish state
  • 19. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate State transition testing 1 2 3 4
  • 20. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate State transition testing
  • 21. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Decision table testing Decision table testing • useful when requirements have been specified as “if-then” rules
  • 22. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Decision table testing Requirements of certain programs are specified by decision tables. A decision table is useful when specifying complex decision logic
  • 23. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Decision table testing s A decision table has two parts: condition part action part The two together specify under what condition will an action be performed.
  • 24. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Decision table testing −C: denotes a condition −A: denotes an action −Y: denotes true −N:denotes false −X: denotes action to be taken. −Blank in condition: denotes “don’t care” −Blank in action: denotes “do not take the action”
  • 25. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Bank Example Consider a bank software responsible for debiting from an account. The relevant conditions and actions are: −C1: The account number is correct −C2: The signature matches −C3: There is enough money in the account −A1: Give money −A2: Give statement indicating insufficient funds −A3: Call vigilance to check for fraud!
  • 26. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Decision table testing 1 2 3 4 5 C1 N Y Y Y Y C2 N N Y Y C3 N Y N A1 X A2 X A3 X X
  • 27. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Example (contd.) A2 is to be performed when C1 and C2 are true and C3 is false. A1 is to be performed when C1, C2, and C3 are true. A3 is to be performed when C1 is true and C2 is false.
  • 28. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Use case testing  Use case testing
  • 29. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Structure-based or white-box techniques Coverage The coverage of a set of test cases is a measure of the proportion of statements, branches or paths covered by the set of test cases. Statement coverage, branch coverage and path coverage are white box testing techniques that are used to propose test cases based on the logical structure of a program
  • 30. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Designing Test Cases for Coverage • Analyse source to derive flow graph • Propose test paths to achieve required coverage from the flow graph • Evaluate test conditions to achieve each path • Propose input and output values based on the conditions
  • 31. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Example enrol(student, tute) { A if student already in tute B display “already enrolled in tute” else C if tute is full D display “tute requested is full” else E add enrolment record for student in tute display “enrolment successful” F end if G end if } A B C D E F G
  • 32. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Statement Coverage Statement coverage of a set of test cases is defined to be the proportion of statements in a unit covered by those test cases. 100% statement coverage for a set of tests means that all statements are covered by the tests. That is, all statements will be executed at least once by running the tests.
  • 33. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Example – Statement Coverage A B C D E F G Total Nodes = 7 Test case ABG covers 3/7 = 43% + Test case ACDFG Now covers 5/7 = 71% Need 1 more fore 100% statement coverage - ACEFG
  • 34. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Example – Defining test cases For 100% statement coverage need 3 cases: ABG, ACDFG, ACEFG ABG – conditions: student already in tute. expect: display “already enrolled in tute” enrol(student, tute) { A if student already in tute B display “already enrolled in tute” else C if tute is full D display “tute requested is full” else E add enrolment record for student in tute display “enrolment successful” F end if G end if }
  • 35. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Branch Coverage Branch coverage is determined by the proportion of decision branches that are exercised by a set of proposed test cases. 100% branch coverage is where every decision branch in a unit is visited by at least one test in the set of proposed test cases.
  • 36. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Example – Branch coverage A B C D E F G What branch coverage is achieved by ABG, ACDFG, ACEFG? 4 in total. 4 covered So 4/4 = 100% branch coverage
  • 37. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Path Coverage Path coverage is determined by assessing the proportion of execution paths through a unit exercised by the set of proposed test cases. 100% path coverage is where every path in the unit is executed at least once by the set of proposed test cases.
  • 38. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Example – Path coverage A B C D E F G What path coverage is achieved by ABG, ACDFG, ACEFG? 3/3=100%
  • 39. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Coverage 100% path coverage implies 100% branch coverage and 100% branch coverage implies 100% statement coverage
  • 40. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Experience-based techniques  Random Testing  Exploratory Testing  Error Guessing
  • 41. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Random Testing  A non systematic techniques • Should be used only after systematic techniques have been exhausted • Involves picking a set of test cases randomly from the present test • No set approach in selecting test cases • Also known as Guerilla testing and Monkey Testing
  • 42. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Other Techniques  Exploratory Testing  “Exploratory testing is simultaneous learning, test design and test execution“ - James Bach • Test cases are not defined in advance • Outcome of one test case determines the next test case • Very useful in rapidly changing environments • Useful aid after all other techniques have been exhausted
  • 43. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Other Techniques  Error Guessing  Much ad hoc testing is based on intuition and guesswork and there are good reasons why this helps us to derive useful tests • Some people have a knack of finding bugs • Good test cases can be derived in this way • Example:  A menu system might be tested by entering same command repeatedly, screens entered and exited immediately entered, transactions aborted, re-entered, deleted then searched for.
  • 44. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Usage  Techniques like Exploratory testing and Error Guessing should never be used!  True ? False?  Both these techniques are widely used and used best by experienced testers.  Every Tester should use these techniques to increase the effectiveness of their Test Cases.
  • 45. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate • Risk Based Testing Wise Quote: Anything that can go wrong, will. (Larry Niven)
  • 46. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Risk Based Testing  So much to test , so little time !
  • 47. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Risk Based Testing  Always Prioritize based on Risk of the system Questions to ask: • What does the client require most? • What is most critical to the System? • What has been explicitly stated? • What has been implicitly understood? • Have you highlighted the risks and followed the mitigation steps?
  • 48. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Risk Based Testing The answers will help you identify:  what to test first • what to test most • how thoroughly to test each item • what not to test (this time) Also: • Use test results to refine the risk analysis. • Don’t neglect other low-risk areas - what if your risk analysis is wrong !
  • 49. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Risk Based Testing Examples:  One component has suffered from various attacks like: • Changing requirements • Change in development Team • High defects in earlier phases  This component would pose a very high product risk, but does it pose a high project risk also?
  • 50. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Risk Based Testing  Ask the following questions to get the answer : • Is the component a business critical requirement? • Is the component set to be delivered in this release?
  • 51. Overview | Financial Services All work described was performed by Capgemini or a Capgemini affiliate Choosing the right technique  The choice of which test techniques to use depends on a number of factors, including  type of system,  regulatory standards,  customer or contractual requirements,  level of risk, type of risk,  test objective,  documentation available,  knowledge of the testers,  time and budget,  previous experience of types of defects found, etc  Some techniques are more applicable to certain situations and test levels; others are applicable to all test levels.

Editor's Notes

  1. Add a content or an objective slide in the beginning of the presentation. The main objective is to; Understand the defect lifecycle, be able to write defect reports effectively, to be able to use a defect tracking tool effectively
  2. &amp;lt;number&amp;gt;
  3. &amp;lt;number&amp;gt;
  4. &amp;lt;number&amp;gt;
  5. &amp;lt;number&amp;gt;