# Lesson 3...PPT 2

50 %
50 %

Published on December 6, 2008

Author: bhushan4qtp

Source: slideshare.net

## Description

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

Black box testing

Objective What is Black box testing Who does it Techniques of black box testing

What is Black box testing

Who does it

Techniques of black box testing

What is black box testing? Knows only what the software is supposed to do Doesn’t know how it operates inside Why named as black box testing? You cannot see inside the box What & Why the name

What is black box testing?

Knows only what the software is supposed to do

Doesn’t know how it operates inside

Why named as black box testing?

You cannot see inside the box

Who, When & Why Who does black box testing? Testers Business Analysis Clients When you do? Once the functionality is developed Why not by developers? Very difficult to break one’s own code To test the software from end-user perspective Fresh eyes always help

Who does black box testing?

Testers

Clients

When you do?

Once the functionality is developed

Why not by developers?

Very difficult to break one’s own code

To test the software from end-user perspective

Fresh eyes always help

Calc Example

Test design techniques Equivalence Partitioning To reduce the number of test data To select the right test cases to cover all possible scenarios Ex: parameter “month” of a date now divided into 3 partitions (invalid partition1, valid partition, invalid partition2) Test Data : 1 or 2 from each partition. In this ex. - -3, 4, 15

Equivalence Partitioning

To reduce the number of test data

To select the right test cases to cover all possible scenarios

Ex: parameter “month” of a date

now divided into 3 partitions (invalid partition1, valid partition, invalid partition2)

Test Data : 1 or 2 from each partition. In this ex. - -3, 4, 15

If software can operate on the edge of its capabilities, it will certainly operate well under normal conditions. Example – possible values for the range 3-10 are 2,3,4,9,10,11 Back to month example: Possible values are : 0, 1, 2, 11, 12, 13 Partition U BVA : -3,0,1,2,4,11,12,13,15 Boundary Value Analysis

If software can operate on the edge of its capabilities, it will certainly operate well under normal conditions.

Example – possible values for the range

3-10 are 2,3,4,9,10,11

Back to month example:

Possible values are : 0, 1, 2, 11, 12, 13

Partition U BVA : -3,0,1,2,4,11,12,13,15

Error Guessing Tester guesses from his /her experience on the error-prone area and concentrates around that area . Example : When the bike stops, first thing you do is – check the petrol. You probably wont go to mechanic or read the manual or check the spark plug You know from your experience or usage that petrol could be over.

Tester guesses from his /her experience on the error-prone area and concentrates around that area .

Example : When the bike stops, first thing you do is – check the petrol.

You probably wont

go to mechanic or

check the spark plug

You know from your experience or

usage that petrol could be over.

Same example

Questions?

 User name: Comment:

## Related pages

### Unit 3 Lesson 2 - PPT.ppt | BetterLesson

File: Unit 3 Lesson 2 - PPT.ppt. AF Hartford Academy Middle School, Hartford. 55 Views

### y3 instructions lesson 2 ppt - TES Resources

lesson 2: i've put this ... y3 instructions lesson 2 ppt. ... 2nd Grade Instructions Lesson 3 ppt. I found this helped students as an interactive visual aid.

### Lesson_3.ppt - coursehero.com

View Homework Help - Lesson_3.ppt from EMP GNG4120 at University of Ottawa.

### Brazil - Lesson 3 - Physical Features by iheartgeography ...

Brazil - Lesson 3 - Physical Features. Favorite. by iheartgeography. ... year 9 lesson 3. ppt, 2 MB Lesson plan. year_9_lesson_3. Report a problem. Related ...