Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Black box Testing
Techniques
BY : Sampath kumar M
DATE : 16-09-2015
Agenda
Overview of Quality Assurance and Testing
Black Box Testing
Black Box - Test Design Techniques
Live Examples in Tes...
Testing Overview
FUNCTIONAL
• COMPONENT (UNIT) TESTING
• INTEGRATION TESTING
• SYSTEM / END-TO-END TESTING
NON-FUNCTIONAL
...
Classification Of Testing
By the object of testing:
Functional Testing
Performance Testing
Load testing/Stress testing
(st...
By the knowledge of the system:
Testing the black
box
Testing the white
box
Testing the grey
box
✓ TESTING OF FUNCTIONAL PART
OF THE APPLICATION
✓ NEED NOT HAVE ANY FORMAL
STRUCTURAL KNOWLEDGE OF
THE CODE
✓ TESTING ENGI...
Test
Design Techniques
Typical black-box test design techniques
include:
✓ State Transition
✓ Equivalence Partitioning
✓ B...
Equivalence Partitioning
Live TalentOz Example
Invalid
Salary Field
Valid Salary
field
Invalid
Salary field
Invalid
Salary...
Boundary Value Analysis
Live TalentOz Example
Considering Day, Month As input possibilities
Invalid – Valid boundary
Day f...
Decision Table Testing
Live TalentOz Example
This Decision Table explains about the Competency Assessment in Live Talentoz...
Error Guessing
Assumptions and Guessing
The success of error
guessing is very much
dependent on the skill of
the tester
Bl...
Q&A
Thank you
Upcoming SlideShare
Loading in …5
×

Black Box Testing Techniques by Sampath M

1,147 views

Published on

Overview of software testing and black box testing techniques with examples

Published in: Technology
  • Be the first to comment

Black Box Testing Techniques by Sampath M

  1. 1. Black box Testing Techniques BY : Sampath kumar M DATE : 16-09-2015
  2. 2. Agenda Overview of Quality Assurance and Testing Black Box Testing Black Box - Test Design Techniques Live Examples in Test Design techniques (TalentOz)
  3. 3. Testing Overview FUNCTIONAL • COMPONENT (UNIT) TESTING • INTEGRATION TESTING • SYSTEM / END-TO-END TESTING NON-FUNCTIONAL • PERFORMANCE • SECURITY • COMPATIBILITY • USABILITY • LOCALIZATION
  4. 4. Classification Of Testing By the object of testing: Functional Testing Performance Testing Load testing/Stress testing (stability / endurance / soak testing) Usability Testing Testing the user interface (UI testing) Security Testing Localization Testing Compatibility Testing By the basis of positive scenario: Positive testing Negative testing ➢ Smoke Testing ➢ New feature Testing ➢ Regression Testing ➢ Acceptance Testing ➢ Alpha Testing ➢ Beta Testing By the time of testing: According to the degree of automation Manual testing Automation Testing Semi-automated testing By degree of preparedness to be tested Documentation Testing (formal testing) Test Ad-hoc or Intuitive Testing (Ad-hoc Testing)
  5. 5. By the knowledge of the system: Testing the black box Testing the white box Testing the grey box
  6. 6. ✓ TESTING OF FUNCTIONAL PART OF THE APPLICATION ✓ NEED NOT HAVE ANY FORMAL STRUCTURAL KNOWLEDGE OF THE CODE ✓ TESTING ENGINEERS ✓ WHY NO DEVELOPERS DO THIS TESTING ???? What is Black Box Testing ?
  7. 7. Test Design Techniques Typical black-box test design techniques include: ✓ State Transition ✓ Equivalence Partitioning ✓ Boundary Value analysis ✓ Decision Table testing (Cause effect graph) ✓ Error guessing
  8. 8. Equivalence Partitioning Live TalentOz Example Invalid Salary Field Valid Salary field Invalid Salary field Invalid Salary Field Invalid Salary Field A,B,C……Z 1,2,3,……. a,b,c,d,….z !,@,#..... -1,-2,-3….. Considering Gross Salary as input field, which accepts only Positive numbers
  9. 9. Boundary Value Analysis Live TalentOz Example Considering Day, Month As input possibilities Invalid – Valid boundary Day field (Lower) Invalid – Valid boundary Day field (Upper) Below Boundary Above Boundary Below Boundary Above Boundary 0 1 31 33 Invalid – Valid boundary Month field (Lower) Invalid – Valid boundary Month field (Upper) Below Boundary Above Boundary Below Boundary Above Boundary 0 1 12 13 ▪ Most of errors occurs at boundary ▪ You test boundaries between equivalence partitions
  10. 10. Decision Table Testing Live TalentOz Example This Decision Table explains about the Competency Assessment in Live Talentoz.Test Combination of inputs that produce different results. Also called as Cause-effect testing Created Combination of conditions that might get grayed out during ad-hoc testing methodology Rule 1 Rule 2 Rule 3 Cause 1 Cause 2 Cause 3 Effect 1 Effect 2 1. Identify cause & effect 2. Establish relation relation between cause and effect 3. Add constraints between cause and effect 4. Convert graph as table 5. Generate Test Case
  11. 11. Error Guessing Assumptions and Guessing The success of error guessing is very much dependent on the skill of the tester Blank (or no) input, empty files and the wrong kind of data (e.g. alphabetic characters where numeric are required) For E.g. From the requirement tester should be able to guess the error possibility 1. Requirement : Employee Status Inactive expected employee should not be allowed to login Error guess : Login Authentication one of the critical error occurring area 2. Requirement : Employee with Approved leave will not fall in learning recommendation Error Guess : Integration between one module & another may cause regression due to new requirements
  12. 12. Q&A Thank you

×