Sie sind auf Seite 1von 8

Website development for a Company 92

6. SYSTEM TESTING
6.1 INTRODUCTION:

Testing is a process of executing a program with intent of finding an error.


A good case is one that has a high probability of finding an as-yet-undiscovered
error. A successful test is one that uncovers an as-yet-undiscovered error.
We aimed at testing simple module and integrated modules for

 Operability
 Observability
 Controllability
 Decomposability
 Simplicity
 On-line help and decision support help
 Stability
 Understandability
 Elimination

We carried out testing on the following ways:

• Black Box Testing - Knowing the specified functional requirements.

• White Box Testing - Glass box testing


Website development for a Company 93

6.1 Black Box Testing:


Black Box testing on the functional requirements and to
derive sets of input condition that will exercise all the functional requirements
for a program. Black box testing attempts to find errors in the following
categories:

• Incorrect or missing functions


• Interface errors
• Errors in data structures or external database access
• Performance error
• Initialization and termination errors

6.2 White Box Testing:


White box testing, sometimes called as glass box testing, is a
test case design method that uses the control structure of the procedure
and to derive test cases. The main Objectives of the white box testing was
deriving test cases that

1. Exercises all the independent paths within a module.


2. Exercises all logical decisions.
3. Executes all loops at their boundaries and within their operational bounds.
4. Exercises internal data structures to achieve their operational bounds.

These principles were followed when designing the test case for the system.

The website development application is tested using white box testing method.
Website development for a Company 94

6.2 TEST CASES DESIGN:

TEST CASE- 1:

If we give the telephone number in the registration form as string instead


of number then it displays immediately invalid telephone number.

TEST CASE-2:

To buy the product in the company, we have to give credit card number and
quantity. If we give credit card number less than 12 digits and greater than 12 digits
then it displays invalid credit card number. The credit card number must have 12
digits.

TEST CASE-3:

If we give invalid user id and password in the login form then it displays
login failed. This case is used to allow only the users that have registered their
names in the company.

TEST CASE- 4:

If user give password below six characters then it displays invalid


password message.
Website development for a Company 95

SCREEN LAYOUTS:
TEST CASE-1:
INPUT:

OUTPUT:
Website development for a Company 96

TEST CASE-2:
INPUT:

OUTPUT:
Website development for a Company 97

TEST CASE-3:
INPUT:

OUTPUT:
Website development for a Company 98

TEST CASE-4:
INPUT:

OUTPUT:
Website development for a Company 99

Das könnte Ihnen auch gefallen