Lesson 3...PPT 2

1,894 views
1,837 views

Published on

For Queries mail to : bhushan4qtp@gmail.com or
bhushan4qtp@yahoo.com

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,894
On SlideShare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Lesson 3...PPT 2

  1. 1. Black box testing
  2. 2. Objective <ul><li>What is Black box testing </li></ul><ul><li>Who does it </li></ul><ul><li>Techniques of black box testing </li></ul>
  3. 3. <ul><li>What is black box testing? </li></ul><ul><ul><li>Knows only what the software is supposed to do </li></ul></ul><ul><ul><li>Doesn’t know how it operates inside </li></ul></ul><ul><li>Why named as black box testing? </li></ul><ul><ul><li>You cannot see inside the box </li></ul></ul>What & Why the name
  4. 4. Who, When & Why <ul><li>Who does black box testing? </li></ul><ul><ul><li>Testers </li></ul></ul><ul><ul><li>Business Analysis </li></ul></ul><ul><ul><li>Clients </li></ul></ul><ul><li>When you do? </li></ul><ul><ul><li>Once the functionality is developed </li></ul></ul><ul><li>Why not by developers? </li></ul><ul><ul><li>Very difficult to break one’s own code </li></ul></ul><ul><ul><li>To test the software from end-user perspective </li></ul></ul><ul><ul><li>Fresh eyes always help </li></ul></ul>
  5. 5. Calc Example
  6. 6. Test design techniques <ul><li>Equivalence Partitioning </li></ul><ul><ul><li>To reduce the number of test data </li></ul></ul><ul><ul><li>To select the right test cases to cover all possible scenarios </li></ul></ul><ul><li>Ex: parameter “month” of a date </li></ul><ul><li>now divided into 3 partitions (invalid partition1, valid partition, invalid partition2) </li></ul><ul><li>Test Data : 1 or 2 from each partition. In this ex. - -3, 4, 15 </li></ul>
  7. 7. <ul><li>If software can operate on the edge of its capabilities, it will certainly operate well under normal conditions. </li></ul><ul><li>Example – possible values for the range </li></ul><ul><li>3-10 are 2,3,4,9,10,11 </li></ul><ul><li>Back to month example: </li></ul><ul><li>Possible values are : 0, 1, 2, 11, 12, 13 </li></ul><ul><li>Partition U BVA : -3,0,1,2,4,11,12,13,15 </li></ul>Boundary Value Analysis
  8. 8. Error Guessing <ul><li>Tester guesses from his /her experience on the error-prone area and concentrates around that area . </li></ul><ul><li>Example : When the bike stops, first thing you do is – check the petrol. </li></ul><ul><li>You probably wont </li></ul><ul><li> go to mechanic or </li></ul><ul><li> read the manual or </li></ul><ul><li> check the spark plug </li></ul><ul><li>You know from your experience or </li></ul><ul><li>usage that petrol could be over. </li></ul><ul><li> </li></ul>
  9. 9. Same example
  10. 10. Questions?

×