Black Box Testing Functional or Black Box Testing Is From Where The Tests Are Derived From The Program

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

BLACK BOX TESTING

Functional or Black box testing is from where the tests are derived from the program
specification. Interface testing where the tests are derived from the specifications plus knowledge
of its internal interfaces. This type of testing is particularly important for object oriented system.

Project Aspect:

In this project the system is a black box whose behavior can only be determined by studying
its inputs and the related outputs. The testing process is derived from the program specification.

 By the use of these techniques the missing functions are identified and placed in their
positions.
 The errors in the interfaces were identified and corrected.
 This technique was also used to identify the initialization and determination errors and
correct them.

BLACK BOX TEST CASE

Table Name : Admin table

TEST EVENT RESULT INPUT OUTPUT


ID

T1 Admin Pass Details Entry Saved


Entry

T2 Login Pass Login=”admin” Ok

Password=”$$$$”
Table Name : Donor Details

TEST EVENT RESULT INPUT OUTPUT


ID

T1 Add Pass Name=”Deepak” Successfully


added
DOB=”20/03/1997”

Address=”112/10 East Street


Coimbatore”

MobileNo=”8344436231”

Email=”bdeepak@gmail.com”

Gender=”Male”

Age=”23”

Blood Group=”o+”

Message=”Available”

T2 Save Pass Name=”Deepak” Successfully


saved
DOB=”20/03/1997”

Address=”112/10 East Street


Coimbatore”

MobileNo=”8344436231”

Email=”bdeepak@gmail.com”

Gender=”Male”

Age=”23”

Blood Group=”o+”

Message=”Available”
Table Name : Contact query Details

TEST EVENT RESULT INPUT OUTPUT


ID

T1 Add Pass Email=”bdeepak@gmail.com” Successfully added

Name=”Naveen”

Contact No=”8344436231”

Message=” Not Available Till


Jan”

T2 Save Pass Email=”bdeepak@gmail.com” Successfully saved

Name=”Naveen”

Contact No=”8344436231”

Message=” Not Available Till


Jan”

Email=” ” Successfully refersh

T3 Refresh Pass Name=” ”

Contact No=” ”

Message=” ”
WHITE BOX TESTING
Also known as glass box, structural, clear box and open box testing. Software testing
techniques whereby explicit knowledge of the internal working of the item being tested are used
to select the test data. Unlike black box testing, white box testing uses specific knowledge of
programming code to examine outputs.
Project Aspect:

The test is accurate only if the tester knows what the program is supposed to do. He or she
can then see if the program diverges from its intended goal. White box testing does not account
for errors caused by omission, and all visible code must also be readable. For a complete
software examination, both white box and black box tests are required.

 By using this technique it was tested that all the individual logical paths were executed at
least once.
 All logical decision were tested on both their true and false sides.
 All the loops were tested with the data in between the ranges and especially at the
boundary values.

WHITE BOX TEST CASE

TEST ID EVENT LOGIC RESULT

Test1 Login Database Pass


compare

Admin Database Pass


compare

Test2 Donor Details Entry Pass

Test3 Contact Query Details Entry Pass

You might also like