SlideShare a Scribd company logo
1 of 25
Functional System Testing Written by Adam Carmi
Outline ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The goal of software testing ,[object Object],[object Object],[object Object],[object Object],[object Object]
Test cases ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Test case execution ,[object Object],[object Object]
Test data ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example: Test data for TVRS … … … … 8700342 longLastN longFirstN 000345 8245731 Josef Dina 255245 1346329 Porat Dan 264683 237812 Dan Levi 6386541 243567 Rachel Josef 8700342 Violation ID Offender’s first name Offender’s last name Issuing policeman ID Description:   Violation records designed for validating violation lookup Name:   test1.db
Specification Vs. Implementation ,[object Object],[object Object],[object Object],[object Object],[object Object]
Functional System Testing ,[object Object],[object Object],[object Object],[object Object]
How much testing is adequate? ,[object Object],[object Object],[object Object],[object Object],[object Object]
Coverage ,[object Object],[object Object],[object Object],[object Object]
Technique: Functional Analysis ,[object Object],[object Object],[object Object],[object Object],[object Object]
Example: Functional Analysis I ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example: Functional Analysis II Defect diagnosis: Actual results: Passed Failed Test results A message dialog stating that violation “243567” is not stored in TVRS Enter “243567” at “Violation ID” text field and press the “Search” button “ Lookup Violation” dialog is displayed Press the “Yes” button Confirmation dialog is displayed Press “Delete” button Expected result Action Related use cases:  “Lookup Traffic Violation”, “Remove Traffic Violation” Pre-conditions: 1. TVRS initialized with test1.db database 2. Violation 243567 displayed in the “Lookup Violation” dialog Test case ID: 134543
Example: Functional Analysis III Verify effects of change Filled when the test case is executed How do we know that violation 243567 is stored in the system? Can a tester diagnose the cause of a defect? In addition, a query could be run on the Offenders database
Technique: Equivalence Partitioning ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example: Equivalence Partitioning I ,[object Object],[a-zA-Z]{0, 10} Offender’s last name [a-zA-Z]{0, 10} Offender’s first name [0-9]{0, 9} Violation ID Valid values Field name
Example: Equivalence Partitioning II … … … … “” Empty [email_address] Invalid character Rachel Single known violation Dan Many known violations -1, 1234567890 ID < 0 or ID > 999999999 00243567 Known violation Violation ID 23ab@ Non numeric ID 32456720 Unknown violation “” Empty Offender’s first name Unknown violation David Character# > 10 Hasalongname Field Valid  equivalent classes Valid representative values Invalid  equivalent classes Invalid representative values
Example: Equivalence Partitioning III ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Technique: Boundary Value Analysis ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BVA as an equivalence partitioning extension ,[object Object],[object Object],[object Object]
General purpose test-suite construction technique ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example: Country Club I Specification 45 15 50 30 15 35 [60, 120] [16, 60) 50 25 45 70 25 65 [0, 16) 25 10 20 35 10 30 Age (years) Admission fee Guest status Visitor Member Student Visitor Member Student Day Sunday - Thursday Friday - Saturday
Example: Country Club II A combo box is used for choosing the day and guest status 100,  60 ,  120 [60, 120] Member Member Student Student Fri,  Sat Fri - Sat [16, 60) 34,  16 ,  59 Age < 0 or  Age > 120 -1 ,  121 Age [0, 16) 2,  0 ,  15 Non-numeric value [email_address] Guest status Visitor Visitor Day Sun - Thu Mon,  Sun, Thu Field Valid  equivalent classes Valid representative values Invalid  equivalent classes Invalid representative values
Example: Country Club III valid valid (boundary) invalid Invalid age 121 Visitor Fri 12 Invalid age -1 Student Fri 11 Invalid age [email_address] Member Mon 10 9 Thu Visitor 59 50 8 Sat Student 120 45 7 Sun Member 15 10 6 Thu Student 60 30 5 Sat Member 16 10 4 Sun Visitor 0 25 3 Mon Student 100 30 2 Fri Member 34 25 1 Mon Visitor 2 25 Test case ID Day Guest status Age Result

More Related Content

What's hot

Integration in component based technology
Integration in component based technologyIntegration in component based technology
Integration in component based technology
Saransh Garg
 
Black box testing lecture 11
Black box testing lecture 11Black box testing lecture 11
Black box testing lecture 11
Abdul Basit
 

What's hot (19)

System testing
System testingSystem testing
System testing
 
Integration in component based technology
Integration in component based technologyIntegration in component based technology
Integration in component based technology
 
An Insight into the Black Box and White Box Software Testing
An Insight into the Black Box and White Box Software Testing An Insight into the Black Box and White Box Software Testing
An Insight into the Black Box and White Box Software Testing
 
System testing
System testingSystem testing
System testing
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)
 
Python: Object-Oriented Testing (Unit Testing)
Python: Object-Oriented Testing (Unit Testing)Python: Object-Oriented Testing (Unit Testing)
Python: Object-Oriented Testing (Unit Testing)
 
unit testing and debugging
unit testing and debuggingunit testing and debugging
unit testing and debugging
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
S.t.
S.t.S.t.
S.t.
 
Ch23
Ch23Ch23
Ch23
 
Testing type
Testing typeTesting type
Testing type
 
Black box testing lecture 11
Black box testing lecture 11Black box testing lecture 11
Black box testing lecture 11
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testing
 
Software engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designSoftware engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit design
 
Software Testing Techniques: An Overview
Software Testing Techniques: An Overview Software Testing Techniques: An Overview
Software Testing Techniques: An Overview
 
Object Oriented Testing
Object Oriented TestingObject Oriented Testing
Object Oriented Testing
 

Viewers also liked

System testing ppt
System testing pptSystem testing ppt
System testing ppt
L ESHWAR
 
THE APPLICATION OF CAUSE EFFECT GRAPH FOR THE COLLEGE PLACEMENT PROCESS
THE APPLICATION OF CAUSE EFFECT GRAPH FOR THE COLLEGE PLACEMENT PROCESSTHE APPLICATION OF CAUSE EFFECT GRAPH FOR THE COLLEGE PLACEMENT PROCESS
THE APPLICATION OF CAUSE EFFECT GRAPH FOR THE COLLEGE PLACEMENT PROCESS
VESIT/University of Mumbai
 
Mercenaries Unleashed, 2016
Mercenaries Unleashed, 2016Mercenaries Unleashed, 2016
Mercenaries Unleashed, 2016
Russel Harland
 
Master version draft final
Master version draft finalMaster version draft final
Master version draft final
irbgcpartners
 
13 0716 session 1 & 2 webinars-final
13 0716 session 1 & 2 webinars-final13 0716 session 1 & 2 webinars-final
13 0716 session 1 & 2 webinars-final
CleantechOpen
 
Career Profile - Anshuman Jain
Career Profile - Anshuman JainCareer Profile - Anshuman Jain
Career Profile - Anshuman Jain
Anshuman Jain
 
GPP Final Draft for Scott Wells
GPP Final Draft for Scott WellsGPP Final Draft for Scott Wells
GPP Final Draft for Scott Wells
Scott Wells
 
ISON Technologies Overview Presentation
ISON Technologies Overview PresentationISON Technologies Overview Presentation
ISON Technologies Overview Presentation
Chhavi Tiwari Sood
 

Viewers also liked (20)

System testing
System testingSystem testing
System testing
 
System testing ppt
System testing pptSystem testing ppt
System testing ppt
 
THE APPLICATION OF CAUSE EFFECT GRAPH FOR THE COLLEGE PLACEMENT PROCESS
THE APPLICATION OF CAUSE EFFECT GRAPH FOR THE COLLEGE PLACEMENT PROCESSTHE APPLICATION OF CAUSE EFFECT GRAPH FOR THE COLLEGE PLACEMENT PROCESS
THE APPLICATION OF CAUSE EFFECT GRAPH FOR THE COLLEGE PLACEMENT PROCESS
 
Exploiting the Testing System
Exploiting the Testing SystemExploiting the Testing System
Exploiting the Testing System
 
Pre Internship Vaibhav Gupta Samtel
Pre Internship Vaibhav Gupta SamtelPre Internship Vaibhav Gupta Samtel
Pre Internship Vaibhav Gupta Samtel
 
Gilda's Club 2011 "Live! From South Florida...It's Saturday Night!" Virtual ...
Gilda's Club 2011 "Live! From South Florida...It's Saturday Night!"  Virtual ...Gilda's Club 2011 "Live! From South Florida...It's Saturday Night!"  Virtual ...
Gilda's Club 2011 "Live! From South Florida...It's Saturday Night!" Virtual ...
 
Mercenaries Unleashed, 2016
Mercenaries Unleashed, 2016Mercenaries Unleashed, 2016
Mercenaries Unleashed, 2016
 
Master version draft final
Master version draft finalMaster version draft final
Master version draft final
 
Foreign Educational Institutions In India Vaibhav Gupta
Foreign Educational Institutions In India   Vaibhav GuptaForeign Educational Institutions In India   Vaibhav Gupta
Foreign Educational Institutions In India Vaibhav Gupta
 
13 0716 session 1 & 2 webinars-final
13 0716 session 1 & 2 webinars-final13 0716 session 1 & 2 webinars-final
13 0716 session 1 & 2 webinars-final
 
Career Profile - Anshuman Jain
Career Profile - Anshuman JainCareer Profile - Anshuman Jain
Career Profile - Anshuman Jain
 
Beyondfreud
BeyondfreudBeyondfreud
Beyondfreud
 
tema 3 tema 1
tema 3 tema 1tema 3 tema 1
tema 3 tema 1
 
GPP Final Draft for Scott Wells
GPP Final Draft for Scott WellsGPP Final Draft for Scott Wells
GPP Final Draft for Scott Wells
 
Spark - Volume 3
Spark - Volume 3Spark - Volume 3
Spark - Volume 3
 
47035 0 mma
47035 0 mma47035 0 mma
47035 0 mma
 
Publication listing
Publication listingPublication listing
Publication listing
 
Spartacus and the slave war
Spartacus and the slave warSpartacus and the slave war
Spartacus and the slave war
 
ISON Technologies Overview Presentation
ISON Technologies Overview PresentationISON Technologies Overview Presentation
ISON Technologies Overview Presentation
 
Excise law
Excise lawExcise law
Excise law
 

Similar to 12 functional-system-testing (20)

CTFL Module 04
CTFL Module 04CTFL Module 04
CTFL Module 04
 
prova4
prova4prova4
prova4
 
provalast
provalastprovalast
provalast
 
test3
test3test3
test3
 
test2
test2test2
test2
 
domenica3
domenica3domenica3
domenica3
 
provoora
provooraprovoora
provoora
 
remoto2
remoto2remoto2
remoto2
 
provacompleta2
provacompleta2provacompleta2
provacompleta2
 
finalelocale2
finalelocale2finalelocale2
finalelocale2
 
domenica2
domenica2domenica2
domenica2
 
provarealw4
provarealw4provarealw4
provarealw4
 
test2
test2test2
test2
 
prova3
prova3prova3
prova3
 
prova1
prova1prova1
prova1
 
provaoggi2
provaoggi2provaoggi2
provaoggi2
 
stasera1
stasera1stasera1
stasera1
 
provarealw2
provarealw2provarealw2
provarealw2
 
prova5
prova5prova5
prova5
 
provarealw3
provarealw3provarealw3
provarealw3
 

Recently uploaded

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Recently uploaded (20)

Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 

12 functional-system-testing

  • 1. Functional System Testing Written by Adam Carmi
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7. Example: Test data for TVRS … … … … 8700342 longLastN longFirstN 000345 8245731 Josef Dina 255245 1346329 Porat Dan 264683 237812 Dan Levi 6386541 243567 Rachel Josef 8700342 Violation ID Offender’s first name Offender’s last name Issuing policeman ID Description: Violation records designed for validating violation lookup Name: test1.db
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14. Example: Functional Analysis II Defect diagnosis: Actual results: Passed Failed Test results A message dialog stating that violation “243567” is not stored in TVRS Enter “243567” at “Violation ID” text field and press the “Search” button “ Lookup Violation” dialog is displayed Press the “Yes” button Confirmation dialog is displayed Press “Delete” button Expected result Action Related use cases: “Lookup Traffic Violation”, “Remove Traffic Violation” Pre-conditions: 1. TVRS initialized with test1.db database 2. Violation 243567 displayed in the “Lookup Violation” dialog Test case ID: 134543
  • 15. Example: Functional Analysis III Verify effects of change Filled when the test case is executed How do we know that violation 243567 is stored in the system? Can a tester diagnose the cause of a defect? In addition, a query could be run on the Offenders database
  • 16.
  • 17.
  • 18. Example: Equivalence Partitioning II … … … … “” Empty [email_address] Invalid character Rachel Single known violation Dan Many known violations -1, 1234567890 ID < 0 or ID > 999999999 00243567 Known violation Violation ID 23ab@ Non numeric ID 32456720 Unknown violation “” Empty Offender’s first name Unknown violation David Character# > 10 Hasalongname Field Valid equivalent classes Valid representative values Invalid equivalent classes Invalid representative values
  • 19.
  • 20.
  • 21.
  • 22.
  • 23. Example: Country Club I Specification 45 15 50 30 15 35 [60, 120] [16, 60) 50 25 45 70 25 65 [0, 16) 25 10 20 35 10 30 Age (years) Admission fee Guest status Visitor Member Student Visitor Member Student Day Sunday - Thursday Friday - Saturday
  • 24. Example: Country Club II A combo box is used for choosing the day and guest status 100, 60 , 120 [60, 120] Member Member Student Student Fri, Sat Fri - Sat [16, 60) 34, 16 , 59 Age < 0 or Age > 120 -1 , 121 Age [0, 16) 2, 0 , 15 Non-numeric value [email_address] Guest status Visitor Visitor Day Sun - Thu Mon, Sun, Thu Field Valid equivalent classes Valid representative values Invalid equivalent classes Invalid representative values
  • 25. Example: Country Club III valid valid (boundary) invalid Invalid age 121 Visitor Fri 12 Invalid age -1 Student Fri 11 Invalid age [email_address] Member Mon 10 9 Thu Visitor 59 50 8 Sat Student 120 45 7 Sun Member 15 10 6 Thu Student 60 30 5 Sat Member 16 10 4 Sun Visitor 0 25 3 Mon Student 100 30 2 Fri Member 34 25 1 Mon Visitor 2 25 Test case ID Day Guest status Age Result