Professional Documents
Culture Documents
5.0 Introduction
This chapter entails the construction of the system to the reader and its code which will be
followed by testing of the system which includes system testing whereby we will be looking at
Unit testing, Black box Testing, White box testing, Module testing and the sample test runs.
Following the testing phase is the installation of the system with the training of the users, system
conversion, file conversion that is data migration.
5.1 Modules
Basically the system has one major section with its own sub-modules. The major section is the:-
Asset Register module
Asset Management module
The maintenance module contains such sub modules as creation, updating of user and asset
details.
Creating of accounts – this module is used by customers when making their payments
according to their monthly bills thereby updating their records.
Updating of accounts – the administrator will be responsible for using this module in
updating accounts registered by any customers, for example when a client wants to
change his password or no longer wants to use a contract account.
View accounts/ Tables – the operations clerks will be able to print customer statements
from the system for a particular month and then send them to customers such that they
will be able to make payments in time.
Routine maintenance of assets – it maintains the system users from the database. It
facilitates functions such as adding a new system user, deleting a user and also changing
a user’s login details.
Send service request– the utilities module allows the user to perform a backup of the
database in case a risk occurs such as data redundancy and therefore the need to restore
the database to its original state.
Asset condition calculations– the utilities module allows the user to perform a backup of
the database in case a risk occurs such as data redundancy and therefore the need to
restore the database to its original state.
5.2.1 Logging On
Enter ecnumber and password
If correct then
Go to the asset page
Else
If logon is unsuccessful then
Go To visit the I.T Unit.
End if
5.2.2 Asset Management module
If registered
Case 1 View Asset Details
Case 2 View Routine Table
Case 3 Send a mail to I.T Unit
If Valid Name, Email and Message then
Send mail
Else
Fail sending mail
Else Log out
CN.BeginTrans
CN.CommitTrans
Set rs_currentpay = Nothing
'sFORM.reloadRecord
MsgBox "Payment has been successfully made.", vbInformation
Unload Me
Unload FRM_PAYMENTS
Call printreceipt
Exit Sub
'Err:
' CN.RollbackTrans
' Call prompt_err(Err)
End Sub
5.4 Testing
Before the system can be installed on a clients’ machine it is essential to conduct tests in order to
check for errors such as syntax errors and some errors which might compromise on the quality of
the system.
The testing for the Bill Enquiries and Payments System for Virtual Telecommunications was
done in the following phases:-
Unit testing
Module testing
System testing
Acceptance testing
Different units within a module are combined to test on the functionality of a module as a whole.
More than one module in the system is tested to see if they are meeting the required
functionalities
.
5.4.3 System Testing
This process of the system testing cycle tests all programs and this ensures that everything
necessary is in place, for instance proper documentation. It involves testing of the whole system
to measure efficiency and effectiveness of the system. It is essential to measure the systems’
functionality with the stated objectives and this is done during the process of system testing.
Functions such as security and output generation will be taken into account as users go through
the system. There are also other issues that are taken into consideration such as the compatibility
of the software to the hardware and how the system will adapt to computer threats.
The diagram below gives a summarized overview of the testing process.
Testing phases outline
Unit Testing
Module Testing
System Testing
Acceptance
Testing
Validation
Verification
5.5.2 Validation
Validation is concerned with building the right system and evaluating whether it is meeting the
organizational needs and objectives. We check whether the final product meets the expectations.
The developed system went through a series of tests with the objective of detecting errors and
then correcting the identified errors. This process was to ensure that the system would be
delivered for final use without errors.
Validation is also concerned with showing the invalid data being entered into the system and
how the system validates the data to inform the user through the use of pattern notifications.
Only when the data integrity of the data to be saved is met, that is only when data can be
accepted and saved into the system.
5.5.3 Verification
When we were building the system we were concerned with whether we are building the product
in the right way. The major focus was to build a system that would suffice all user requirements.
In other words the question that was being addressed is are we building the product rightly. A
system can be built that may be exceptionally functional but not necessarily addressing the
problem at hand so there was need to do systems reviews of the project so that we would not
deviate from the system focus. We had to use sample data to verify whether the system was
accepting the correct inputs and giving the correct results.
Scenario1: When a user enters alphabetic characters in the date put box, the following message
will be shown:
Scenario 2:When a user leaves some required fields empty the, for example leaving the asset
useful life field empty when capturing a new asset into the system following message is shown
by the system.
5.5.4 Test methodologies applied
The following system testing methodologies were applied:
unit testing
module testing
acceptance testing
5.5.4.1 Unit Testing
Individual components of the system were tested independently without other system
components.
The following bookings form shows the results from unit testing. The form shows the required
components involved and the data displayed as per user requirement and design requirement.
New Asset Details form showing results from unit testing
When one has entered the details correctly the message box shown on the form will approve that
the details has been entered and updated correctly.
If new user has been accepted the message box below will be shown.
New users
Can the system add new users under the various profiles
Can the system capture the new users new password
Can the password be changed or edited for the user.
Can a user be deleted from the system
Setting program access
Can the system set access levels for the different user profiles?
Can access levels be changed for the different profiles?
We tested the access levels of the management user group to see if they were restricted to the
access levels they had been granted. Fig 5.4 shows the access rights this user group has been
granted.
The Database Management System as set by the administrator does this. To invoke this facility
set the backup plan within the SQL 2000 server. Care should be taken to set the following