As this project is for "Online Insurance System", we will show our company information, explaining about the insurance types that we service to clients, our latest announcement, our advertising, proposal forms that will be requested by clients, premium forms, clients’ registration forms. After the clients had written our website address and click on the search button, they can see our latest information, our customers services and insurance types that we service in our homepage. Moreover, we will also show about us in our about us page. In that page, they can know about our vision, mission and our currently processes. When clients want to make insruace, they have to register first then they can choose the proposal form according to their desire. After filling proposal form, comfirmation wil be shown by the admin site. Then clients can give premium to the company.The main aim of changing current system to online system is to save time and to get high performance.
2. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 2 | 161
Table of Contents
Project Proposal ..................................................................................................................................... Pg.5
Introduction............................................................................................................................................. Pg.5
Aims and Objective of the Project........................................................................................................... Pg.6
Work Breakdown Structure..................................................................................................................... Pg.8
Title Page ............................................................................................................................................. Pg.11
Acknowledgement ................................................................................................................................ Pg.12
Abstract……………………………………………………………………………………………………………Pg.13
Chapter 1 Introduction
System Development …………………………………………………………………………………Pg.14
Justification for Method and Framework Used………………………………………………………Pg.15
The Solution that emerged…………………………………………………………………………… Pg.17
Main Aims and Objective of Project………………………………………………………………… Pg.18
Project Road Map………………………………………………………………………………………Pg.19
Chapter 2 Analysis
Requirements……………………………………………………………………………………………Pg.20
Use Cases………………………………………………………………………………………………Pg.22
Architecture………………………………………………………………………………………………Pg.23
Chapter 3 Design
Structure Model…………………………………………………………………………………………Pg.24
Behaviour Model……………………………………………………………………………………… Pg.26
Chapter 4 Implementation
Choice of Programming Language………………………………………………………………… Pg.27
Implementation Architecture………………………………………………………………………… Pg.28
Training Module……………………………………………………………………………………… Pg.29
3. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 3 | 161
Chapter 5 Other Project Matters
Risk Management………………………………………………………………………………Pg.32
Testing Schedule………………………………………………………………………………. Pg.33
Chapter 6 Conclusion
Evaluation……………………………………………………………………………………… Pg.34
References………………………………………………………………………………………………Pg.35
4. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 4 | 161
Table of Contents (Appendix)
Requirements Catalogue...................................................................................................................... Pg.37
Use Case Descriptions ......................................................................................................................... Pg.38
Detailed Class Definitions..................................................................................................................... Pg.40
Test Scripts .......................................................................................................................................... Pg.42
User Guide ........................................................................................................................................... Pg.95
System Code...................................................................................................................................... Pg.100
5. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 5 | 161
Project Proposal
Introduction
The name of the business for this project is "Insurance". It is the private company. It gives
services around the country of Myanmar. The main office is open in the commercial city, Yangon.
The sub offices are open in every state and division. Nearly about 10 suveyors are employ in every
office. Now it supports (5) services for insurance.
1. Life Insurance
2. Motor Insurance
3. Snake Bite Insurance
4. Fire Insurance
5. Athletes Insurance
Currently, showing information, marketing, recording clients‘ information, checking premium,
uploading proposal, providing policy, confirming premium, checking the events, receiving checkup
data are working with manually. According to the current business, clients have to come to the
company and to find out or to know the detail information, confirm insurance, premium payment.
Therefore, to give the detail information, to save time, to save effort, the current system wants to be
changed into the ―Online Insurance System‖ for those parts
Giving information
Customer‘s registration
Proof survey
Give Premium
Confirm Insurance
By changing online insurance system, the company can give update information to the
clients and the clients can inform to the company immediately.
6. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 6 | 161
Aims and Objective of the Project
The current system has some weakness as they are running manually. Supposing
customers want to make insurance, they have to go to the company once. Then they have to make
an appointment. Therefore, they have to come again. Therefore, customers may be impatient.
Especially it takes time and it may cost. In addition, customers will get late information. Finally, claim
will be late.
According to the weakness of current business, this project aim to write about the ―Online
Insurance System‖. These are the objective of making this project and these will be benefit not
only the clients but also the company.
To save time
When clients want to know information about the insurance, they can easily know
only viewing on this website.
When they need to get proposal form, they do not need to come the the company
and they can easily search and download the proposal file form our website.
Clients can registered themselves easily and the company can keep in the database
as soon as they get clients data.
When clients have some witnesses to prove their events, they can take photos or
vedio and can send the files to the company.
The company can send policy information as soon as they can confirm the insurance.
The seveyors can go and suvey quickly.
To save money
Whatever clients need information, request proposal form, check premium, they do
not need to go to the company so they do not need to spend money.
Clients do not need to come and give accidient events witnesses to the company.
For update information about the company such as announcement, advertising,
proposal form, policy, they do not need too much paper.
As website is unlimited acces to show the company information, uploading files and
recording clients‘ information, the company do not need to buy any storage device for
that.
To get information immediately from the client
As soon as accidient events happened in clients, they can take photos or vedios and
can uplode and send to the company
The company can know the information of clients and can give compensation quickly.
7. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 7 | 161
When clients want to find out about the insurance, make new insurance, or change
insurance type or stop making insurance, they can do on our wesite and can inform
immediately.
To survey the event in time
The suveyors can go and check the clients‘ accidient events as soon as the clients
inform and send events files to the company.
Therefore, they can prove the events and clients can get the compensation quickly.
The main purpose of changing the current insurance system into online insurance system
is that the clients can get information quickly. If the clients get the clear information and interest
about the company services, the company can get more markets. By changing the current manually
system to the online insurance system both the company and the clients can get benefits.
8. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 8 | 161
Work Breakdown Structure
Project Plan (Gantt chart)
11. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 11 | 161
Title Page
Student Name : THIRI SANDAR MAUNG
Student ID : 00150871
Centre Name : KMD COMPUTER CENTER (MYANMAR)
12. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 12 | 161
Acknowledgement
I deeply thank many people who supported me before writing this prject and helped me
during writing this Online Insurance System project. First, may I thank to my teachers from KMD
center (NCC education) especially thanks to my supervisor, Daw Moe Sandar Aung. I also thank to
my guiding teacher, Daw May Thet Hnin who helped me carefully and greate attention to create a
good prject. Moreover, I thank my English teacher Miss Caroline Gonsalves who helps me when
learning about the insurance system and send me to some insurance compnies. I will also thank to
the "Global World Insurance Co., Ltd” which helps me to know about the process of their current
insurance system. Without them, this project would not finish consistently.
13. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 13 | 161
Abstract
As this project is for "Online Insurance System", we will show our company information,
explaining about the insurance types that we service to clients, our latest announcement, our
advertising, proposal forms that will be requested by clients, premium forms, clients‘ registration
forms. After the clients had written our website address and click on the search button, they can see
our latest information, our customers services and insurance types that we service in our
homepage. Moreover, we will also show about us in our about us page. In that page, they can know
about our vision, mission and our currently processes. When clients want to make insruace, they
have to register first then they can choose the proposal form according to their desire. After filling
proposal form, comfirmation wil be shown by the admin site. Then clients can give premium to the
company.The main aim of changing current system to online system is to save time and to get high
performance.
14. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 14 | 161
CHAPTER 1: INTRODUCTION
1.1 System Development
Detail processes of the project
In this "Online Insurance System" project, there are two main parts for this website. They
are admin site and clients. As the admin from the company, he/she will check premium, check
customers‘ email, customers‘ feedback and confirming customers‘ insurance. As customers, they
can know the information of the company. Morever, if they want to know more information about the
insrance or company, they can ask by send their email to the company and the company will reply.
They can make registration if they want to make insurance. After making registration, they can fill in
the proposal form according to the insurance type. They can check their premium.
Admin site
Admin can sign in by double clicking compnay‘s logo or single click copyright link.
Admin can check the premium that the clients filled proposal form in display insurance tab.
Admin can confirm to the clients who make insurance.
Admin can view pending, premiunms, confirm, check premium, receive premiums clicking by
filtering button.
Admin can check premiums that customers have paid or not in check premiums tab.
Customers’ site
Customers can view information about the insurance that support from the company, the
company announcement in the home page.
In the home page, customers can also view detail about the insurance types by clicking on
the links under pictures.
Customers can send their email address to find out more information about the insurance
and the company in the home page.
They can also view the company‘s phone numbers, address at the footer of home page.
Customers can view the compnay‘s insurance process, vision and mission in about us tab
next to the home tab.
Customers can view the detail insurance types in why choose page.
Customers can register if they want to make insurance in registration page.
After customers had registered, they can see the proposal forms. Csutomers can choose the
proposal forms according to the insurance type they desire.
15. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 15 | 161
After confirming from the company admin site, customers can view their prmium by signing
in in sign in page.
1.2 Justification for Method and Framework used
To be a perfect online system, right selection of languagees, databases and methodology.
There are so many languages, database software and methodologies. Among them, PHP
framework for programming lanuge, MySQL for database and Unified Modelling language for
methodology.
PHP
PHP (Hypertext Pre-Processor) is a server-side web programming language that is widely
used for web development. MySQL is used with PHP as back-end tool. MySQL is the popular
online database and can be interfaced very well with PHP. Therefore, PHP and MySQL are
excellent choice for webmasters looking to automate their web sites. PHP also has powerful
output buffering that further increases over the output flow. PHP internally rearranges the buffer
so that headers come before contents. PHP is dynamic. PHP works in combination of HTML to
display dynamic elements on the page. PHP only parses code within its delimiters, such as.
Anything outside its delimiters is sent directly to the output and not parsed by PHP. PHP can be
used with a large number of relational database management systems, runs on all of the most
popular web servers and is available for many different operating systems. It‘s used for Word
Press development and even Facebook utilizes PHP for their site so PHP comes with a certain
level of credibility and popularity.
Simple and easy to learn
Support
Freedom
Integration
Integration
Easier to fix problems
Scalability
Object Oriented
Speed
MySQL Database
MySQL is easy to use, yet extremely powerful, secure, and scalable. And because of its small
size and speed, it is the ideal database solution for Web sites. Some of its advantages include the
following:
16. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 16 | 161
It is easy to use: While a basic knowledge of SQL is required—and most relational
databases require the same knowledge—MySQL is very easy to use. With only a few simple SQL
statements, you can build and interact with MySQL.
It is secure: MySQL includes solid data security layers that protect sensitive data from
intruders. Rights can be set to allow some or all privileges to individuals. Passwords are encrypted.
It is inexpensive: MySQL is included free with NetWare® 6.5 and available by free
download from MySQL Web site.
It is fast: In the interest of speed, MySQL designers made the decision to offer fewer
features than other major database competitors, such as Sybase* and Oracle*. However, despite
having fewer features than the other commercial database products, MySQL still offers all of the
features required by most database developers.
It is scalable: MySQL can handle almost any amount of data, up to as much as 50 million
rows or more. The default file size limit is about 4 GB. However, you can increase this number to a
theoretical limit of eight TB of data.
.
Unified Modelling Language
UML is a most useful method of visualization and documenting software systems design.
UML uses object oriented design concepts and it is independent of specific programming language.
Unified Modeling Language is a popular technique for documenting and modeling system .the UML
uses set of symbols to represent graphically the various components and relationships within the
system and UML can be used for business processing modeling and requirements modeling ,it
mainly is used to support object oriented system analysis and to develop the object models. Real
time UML, this method is the application of UML to design of real-time system. It represents the
system with structural and behavioral language models, those designing modeling include the
architectural mechanical, and detailed design .Object oriented methodologies have employed in the
construction of the real time system.
17. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 17 | 161
1.3 The solution that emerged
SYSTEM REQUIREMENTS
No. Hardware Requirements
1 Pentinum III or higher for better performance
2 128 MB of RAM (256MB or more recommended).
5 A standard keyboard
6 Mouse or other pointing device
7 Wimax Broadband Connection
8 Graphic Network Adapter
9 Printer (Minimum A4 Size paper Printable quality )
No. Software Requirements
1 Microsoft Windows 7 Operating System
2 MySQL Server version : 2005
3 Adobe CS 5: or above
4 Web Server Apache 1.8.0 or above
6 Microsoft Excel Spreadsheet 2007 or above
7 Any Browser
8 Network Connection
18. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 18 | 161
1.4 Main Aims and Objective of Project
The main aim and objective of the project is to save time, to save money, to get information
quickly for both customers and company. When create the website, customers‘ registration froms,
proposal forms, sign in form, check premiums forms are created as user interface.
In user interface design, the first priority is to be a secure website, to navigate the tabs
clearly and to search the pages and information easily. Easy volcabulary are used to understand
well. The last priority is to be an attractive.
This online system is usefull for users to serch information, to make insurance, to check
premium, to contact to the company.
19. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 19 | 161
1.5 Project road map
Chapter 2 will analyze about requirements and draw use case diagram.
Chapter 3 will design structural models, deployment diagram and class diagrams.
Chapter 4 implement about the choice of programming and development architecture.
Chapter 5 will describe project plan, risk management and test schedule.
Chapter 6 conclusion will express general process about the whole project.
20. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 20 | 161
CHAPTER 2: ANALYSIS
2.1 Requirements
To analysis my project, I learned my student book “Analysis Design and Implementation”
form NCC education first. From that book I have known how to design the use case diagram and
how to analysis the processes. Then I went to the “Global World Insurance” company. From
there, I got some information such as how the current business is working, the policy of the current
system, how many processes they have, how to deal with customers.
From my point of view, the current business has some advantages and disadvantages. As current
business is not online business, customers have to come and ask the information exactly as
possible. But after they insured for one service, they cannot give information in time such as give
the photos, video of the event. After that marketing staff have to visit many times to complete the
clients‘ document and see everything is functioning well. So changing into online service is vast
differences compared to the current business. And advantages will be such as to get quick
information from our client then survey will be done within hours. Claim will be activate within hours.
Business functions will continue for furthers steps and we can rebuild the broke down businesses,
natural disasters, personal accidents, death, fire, health care, poison cause by snake bite, and
vehicle damage.
Functional requirement
Survey
There will be a person who understands and have had experience to survey on such as...
1. Checking on the vehicle and the documents of the proposal for that vehicle is correct or not.
2. Checking on the apartment, building, factory, office room, and situation of the place that was
mentioned on the proposal for fire Insurance is correct or not.
3. checking on the Medical Check Up result Book, Medication History and present health
4. Condition which is mentioned on the proposal.
5. Checking on the Fidelity Proposal it is true or not.
6. Checking on the Cash-in-transit Proposal it is true or not.
7. Checking on the Service life Proposal it is true or not.
Certify to be insured
After surveying, the certification that the customer can be insured will be sent.
Send policy
21. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 21 | 161
After the customer had wanted to inure and signed, the policy will be sent.
Give Premium
Amount of Premium has to be given according to the period of the year/month/ of the unit.
Confirm insured
Confirm insured, letter and Attachments of the documents has to be sent.
Non-functional requirement
Surveyor need to survey that the event or case is real or not. Although we have agent and
surveyor at all the towns or cities we served, it needs to take time for about 2 weeks or 3 weeks.
Sometimes the network connection may down or slow.
22. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 22 | 161
2.2 Use Case
Online Insurance System for
“Global World Insurance” Co.,Ltd.
Client Surveyor<<primary>>
Insurer<<primary>>
Accountant<<primary>>
Certified to be
Insured
Send Policy
Give Premium
Confirm Insured
Display
Record Insurance
23. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 23 | 161
2.3 Architecture
System Architecture (Development Architecture)
:Application
<<device>>
{OS=Window7}
Vendor=MS Word 2013
:Database Server
<<data store>>
{OS=Window7}
Vendor=Mysql
Business Logic
Data Gathering
Analyzing Data
Table Establish
Make Design
24. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 24 | 161
Initial Class Diagram
staff
Life Insurance
Fire Insurance
Mortor Insurance
Snake Bite Insurance
Athletes Insurance
InsuranceType
Preminum
Insurer
1
*
1 *
1
*
26. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 26 | 161
3.2 Behaviour Model
Sequence Diagram
Client Staff
p3:premiumi2.insuranceType
{}
{}
Request insurance
Search proposal
Send proposal (proposal No)
Choose insurance type
Send Insurance Type
Check premium (premium No)
Record premium amount
i.insurer
27. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 27 | 161
CHAPTER 4: IMPLEMENTATION
4.1 Choice of Programming Language
As the project is for the online service, the project must be used the online programming
language. There are some programming language PHP, ASP.net, VB.net etc. Among them, the
project is chosen PHP language.
PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java
and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to
allow web developers to write dynamically generated pages quickly. It is some advantages or
benefits. The benefits of using frameworks is, that you can use many predefined things. For
example, in most PHP frameworks you can use MVC Pattern. Sure you could also build your own
MVC structure with flat PHP, but that is like re-inventing the wheel every time again. Only thing is, if
you have very specific requirements, you may can/should not use a framework, but in most cases
the requirements are not that specific.
To store data for this project, database software must be used. In this project, MySQL
software is used. MySQL is a database management system (DBMS). A database is a structured
collection of data. It might be anything from a simple shopping list to a picture gallery, to the vast
amounts of information in a corporate network.
This project is chosen to use the MySQL because it has advantages. It's easy to use: While a
basic knowledge of SQL is required—and most relational databases require the same knowledge—
MySQL is very easy to use. With only a few simple SQL statements, you can build and interact with
MySQL. It’s secure: MySQL includes solid data security layers that protect sensitive data from
intruders. Rights can be set to allow some or all privileges to individuals. Passwords are encrypted.
It’s inexpensive: MySQL is included for free with NetWare® 6.5 and available by free download
from MySQL Web site. It’s fast: In the interest of speed, MySQL designers made the decision to
offer fewer features than other major database competitors, such as Sybase* and Oracle*.
However, despite having fewer features than the other commercial database products, MySQL still
offers all of the features required by most database developers.
28. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 28 | 161
4.2 Implementation Architecture
Deployment Diagram
:Application server<<device>> OS-windows
7 Vendor_PHP
Main System
Staff Registration
Clients Registration
Suvery Process
:Database server<<data
store>>{OS Windows
7} Vendor Mysql
:Client Server {OS Windows 7}
PHP
<<TCP/IP>>
Comfirm Insured process
<<TCP/IP, Dataset,
Connection String>>
Data storing
:Web Server <<PHP>> {OS Windows
7} Online
Insurance Service
Wed Browser
PHP Pages {User Interface}
<<TCP/IP>>
29. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 29 | 161
4.3 Training
This online insurance system include two main parts such as admin part and customers‘
part. So it only need to train how to use each part.
From admin part, admin can sign in and can view customers‘ insurance. Admin can confirm
customers‘ insurance. Admin can check customer‘s insurance. Admin can also view customers‘
biography. After checking premium, admin can make report.
From customers‘ part, customers can view the compnay‘s information and announcement by
visiting home page. They can register at the registration page. They can view the insurance types.
After viewing insurance tyeps, they can decide to choose the insurance type they desire. Moreover,
they can check their insurance confirm or not.
Sign in Form from admin side
In this training, admin‘s username- ‗admin@gmail.com‘ and password- ‗admin‘. Some web pages
and links are only allowed to use admin and hidden for customers.
Training Title Admin Sign in
Type of User Administrator
Location Global World Insurance Company
Date 26 May 2014
Time 9:00 am to 11:30 am
Tool PC, any Browser
Description How to signi in the admin page with username
and password?
How to confirm customers‘ insurance, how to
check premiums, how to make report?
30. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 30 | 161
Check premiums
This is the training for admin how to check premiums after making insurance from the customers.
Admin can check premims according to the type or status.
Training Title Display Records
Type of User Administrator
Location Technoland Company
Date 26 May 2014
Time 9:00 am to 11:30 am
Tool PC, any Browser
Description How to check premiums?
Display premiumd
This is training admin to view detail premiums of customers. Admin can also view the detail inform
atio about customers.
Training Title Sale Order View
Type of User Administrator
Location Technoland Company
Date 26 May 2014
Time 9:00 am to 11:30 am
Tool PC, any Browser
Description How view detail process of customers and detail
information about customers?
31. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 31 | 161
Make premium Report
This is the training for admin to make report about the insurance and premium with Microsoft Excel
spreadsheet.
Training Title Make Sales Report
Type of User Administrator
Location Technoland Company
Date 26 May 2014
Time 9:00 am to 11:30 am
Tool PC, any Browser
Description How to generate all sales report?
32. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 32 | 161
CHAPTER 5: OTHER PROJECT MATTERS
5.1 Risk Management
Risks Action Arrangements
Browser is incompatible with the website
structure example Internet Explorer.
Redesing and realign the menus, form design
and some web pages.
Link between web pages cannot be changed. Check every links of web pages and test again.
Internet connection is slow. Reduce some large images size.
Cannot saved in the database. Check the php code and test again.
The admin cannot generate the premium report. Make export from database and check version of
the excel.
Insufficient time for the project. Use MOSCOW prioritization.
The project folder will be deleted because of
virus.
Back up data file is made and weekly update
antivirus.
Cannot make hidden link in display premium
menu.
Can be updated in future.
33. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 33 | 161
5.2 Testing Schedule
Name Golbal World Online Insurance System
Prepared Date 8 June 2014
Features to be tested
Test Plan 1 – Sign in form (admin) : Menu
User Name
Password
Log in button
Email format
Test Plan 2 – Sign in form (Customer) : Menu
User Name
Password
Log in button
Eamil format
Test Plan 3 – Registration form (Customer):Menu
Data Entry
Email format
Generate Caledar
Submit button
Database
Test Schedule 8 June 2014 to 10 June 2014
34. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 34 | 161
CHAPTER 6: CONCLUSION
Evaluation
The current system has some weakness as they are running manually. Supposing
customers want to make insurance, they have to go to the company once. Then they have to make
an appointment. Therefore, they have to come again. Therefore, customers may be impatient.
Especially it takes time and it may cost. In addition, customers will get late information. Finally, claim
will be late.
According to the weakness of current business, this project aim to write about the ―Online
Insurance System‖. These are the objective of making this project and these will be benefit not
only the clients but also the company.
The main aim and objective of the project is to save time, to save money, to get information
quickly for both customers and company. When create the website, customers‘ registration froms,
proposal forms, sign in form, check premiums forms are created as user interface.
In user interface design, the first priority is to be a secure website, to navigate the tabs
clearly and to search the pages and information easily. Easy volcabulary are used to understand
well. The last priority is to be an attractive.
This online system is useful for users to serch information, to make insurance, to check
premium, to contact to the company 24 hours a day.
While I was doing this project, I faced some problems and difficulties that very first time
person to create system for online isurance system. Although, I know how to create database
entities, I learned the PHP code while I was doing my project implementation. When I was writing
codes, some changes had for real implementation with code is quite different. Moreover, usecase
diagram, class diagram and sequence diagram are have changed.
I also faced some errors while I run my web pages. As the PHP pages links are related to
each other, if css style is chaged for one page, then some of the pages of the color are alos
changed. Therfore, the code system are also need to write consistently to run correctly.
After fixing errors, I test my web design in different browsers. I also test the forms from the
users side and admin side as my website includes two parts.
This project let me know how to create websites and creation knowledge about using
programming language, time management, and risk management.
35. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 35 | 161
References
http://blog.eukhost.com/webhosting/advantages-of-php-programming/
http://www.novell.com/documentation/nw65/web_mysql_nw/data/aj5bj52.html
www.fnipublic.com/faq-for-fire-insurance
file:///D:/NCC/2nd%20Year/Project/THIRI%20SANDAR%20MAUNG/online%20insurance/Active%2
0Quote.com/About/About%20ActiveQuote%C2%AE%20_%20ActiveQuote%C2%AE.htm
file:///D:/NCC/2nd%20Year/Project/THIRI%20SANDAR%20MAUNG/online%20insurance/Health%2
0Insurance/Life%20Insurance/Health%20Insurance%20Questions%20and%20Answers%20_%20In
surance.com.htm
file:///D:/NCC/2nd%20Year/Project/THIRI%20SANDAR%20MAUNG/online%20insurance/ref%20onl
ine%20insurance/Online%20Term%20Insurance%20%20Premium%20and%20Process%20Analysi
s%C2%A0_%C2%A0AvantGarde.htm
file:///D:/NCC/2nd%20Year/Project/THIRI%20SANDAR%20MAUNG/online%20insurance/US%20ins
urance/Home%20of%20health/Individual%20Health%20Insurance%20Quotes%20_%20Health%20I
nsurance%20Quote%20Tool%20_%20UsInsuranceOnline.com.htm
37. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 37 | 161
Requirements Catalogue
System: Online Insurance Service
Author : Thiri Sandar Maung
Date: 12 Nov
2013
Page: Draft / Final
P/R : No: 1 Source :
Documents
Priority:
Description
Survey
Certify to be insured
Send policy
Give premium
Display
Confirm insured
Benefits if action taken
-To save time
-To save money
-To get information immediately from the client
-To survey the event in time
-To transfer the amount of money claimed by the client
Comments/Suggested Solution
The internet connection is needed to be installed.
Databases system is also important to be installed.
Customers and staff can save time
Can give further information about insurance
Can survey quickly
Can know the claim quickly with the events with witness such as photos or
videos.
38. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 38 | 161
Use Case Descriptions
Use case name : Record Insurance
Actor : Customers, Surveyor
Description : The use case starts when a customer wants to insure.
Flow of event : (1) Collecting proper information for the data from the customers
1.1 Customers‘ work
1.2 Who is benefit for he/she insurance?
1.3 Record customers‘ username and password.
End of the use case: Inform the customers to wait for the confirm date.
Use case name : Certify to be insured
Actor : Customers, Insurer
Description : Use case starts after proof of the survey.
Flow of event : (1) Inform the customer the confirm date
End of the use case : Send the certify document to the customers. The customer choose
which of the insurance want to insured such as life insurance, Motor
Insurance, Snake bite insurance, Fire Insurance(House Insurance)
and Athletes Insurance. Firstly the insurer choose that five insurance.
Then record related information.
Use case name : Send policy
Actor : Customers, Insurer
Description : Use case starts after sending the certify document to the customers
Flow of event : (1) Refer the certify document
1.1. Recheck the proof survey
End of the use case Send the policy to the customers
Use case name : Give premium
Actor : Customer, Insurer
Description : Use case starts when the customers had finished reading the policy.
Flow of event : (1) Complete the premium form
39. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 39 | 161
(2) Amount of cash is given for premium that is calculated on the
amount of cash insured.
End of the use case Receive the premium
Use case name : Confirm insured
Actor : Customers, Insurer
Description : Use case starts after receiving premium
Flow of event : (1) Give the customers the premium received form
(2) Sending a thanking letter for choosing our service
End of the use case Send the customers the confirm insured form
Use case name : Display
Actor : Accountant
Description : Use case starts after accepting the premium from the customers
Flow of event : (1) Check the amount of premium
(2) Store the data in the databases
End of the use case Finish checking the proces
40. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 40 | 161
Detailed Class Definitions
Class Diagram Name : Insurer
Attributes : InsurerID, Name, Gender, DOB, Height, Weight, Address, Phone,
Email, Password, City, State, Job, JobAdress, Job Address
Operations : record username (), record password (), record insurer information
Class Diagram Name : Staff
Attributes : StaffID, Name, Position, Email, and Password.
Operations : Record staff username(), record staff password().
Class Diagram Name : Insurance Type
Attributes : InsuranceTypeID, Type, YearOfCoverage, Amount, ProposalID,
PreviousProposal, Status
Operations : record staff username(), record staff password()
Class Diagram Name : Premiums
Attributes : PremiumID, PaymentDate, ExpireDate, YearOfCoverage, Amount,
ProposalID, CardNo, CardType.
Operations : record premium(), record amount(), recrodPaymentDate()
Class Diagarm Name : LifeInsurance
Attributes : InsuranceTypeID, InsuranceTobacco, SpouseName, SpouseGender,
Tobacco, Address, Phone, Children, LDescription, LifeEvendence,
CheckUpDate, PersonBenefit, Agree, HealthCondition
Operations : record insurance(), record personal details(), record life event(),
record insurance()
Class Diagram Name : FireInsurance
Attributes : InsuranceTypeID, Owner, HouseNo, Squareft, Stay There,
PurchaseDate, StayPerson, FDescription, BesideFactory,
FactoryName, FactoryFar, Agree, Evidence
Operations : record insurance(), recordPersonalDetail(), recordEvidence()
Class Diagram Name : MotorInsurance
41. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 41 | 161
Attributes : InsuranceTypeID, CarOwner, DrivingLicense, Criminal,
CriminalDescription, RegularUse, UseForTravel, CarPurchase,
CarValue, Modified, ModifiedTime, MAgree, MotorEvidence
Operations : recordInsurance(), recordPersonalDetails(), recordAccidientEvent()
Class Diagram Name : SnakeBiteInsurance
Attributes : InsuranceTypeID, SnakeType
Operations : recordinsurance(), recordpersonaldetail(), recordaccidientevent(),
Class Diagram Name : AthletesInsurance
Attributes : InsuranceTypeID, SportType, CoverPerson, PersonalName,
AthletesEvidence
Operations : recordinsurance(), recordpersonaldetail(), recordAccidientEvent()
42. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 42 | 161
Test Scripts
Unit Test
Unit Test 1 Test Case : Sign In Form Designed By: Thiri Sandar Maung
Data Source : Sign In Form Objective : Sign In Form Test Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual Result
1.1 Test the text box
Put pointer on the text box
Show a
notification
―Please fill out
this field‖.
See Figures
Below
Before Testing
43. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 43 | 161
After Testing
Unit Test 1 Test Case : Sign In Form Designed By: Thiri Sandar Maung
Data Source : Sign In Form Objective : Sign In Form Test Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual Result
1.2 Test Data ‗Null‘ in User
Name
User Name – ‗Null‘
Enter Password : 123
Show error
message
See Figures
Below
44. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 44 | 161
Before Testing
After Testing
Unit Test 1 Test Case : Sign In Form Designed By: Thiri Sandar Maung
Data Source : Sign In Form Objective : Password Test Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual Result
1.3 Test Data ‗Null‘ in
Password
User Name – Erin Mac
Password – Null
Show error
message
See Figures
Below
45. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 45 | 161
Before Testing
After Testing
Unit Test 1 Test Case : Sign In Form Designed By: Thiri Sandar Maung
Data Source : Sign In Form Objective : Sign In Form Test Tester : Thiri Sandar Maung
46. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 46 | 161
Test
Case Description Tasks Expected
Result
Actual Result
1.4 Fill wrong data in text box
User Name – Erin Mac
Password – 123
Show error
message
See Figures
Below
Before Testing
After Testing
Unit Test 1 Test Case : Sign In Form Designed By: Thiri Sandar Maung
Data Source : Clear Button Objective: All data will be clear Tester : Thiri Sandar Maung
47. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 47 | 161
when clicking on ―Clear Button‖.
Test
Case Description Tasks Expected
Result
Actual Result
1.5 Fill Data and click on
―Clear Button‖
User Name – Erin Mac
Password – 123
All data will be
clear.
See Figures
Below
Before Testing
After Testing
48. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 48 | 161
Unit Test 2 Test Case : Registration Form Designed By: Thiri Sandar Maung
Data Source : users registration Objective: users fill in date of birth Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual Result
2.1 Fill all data and click on
―Submit Button‖
Insurer Name– John
Gender – Male
Date of Birth-19.3.1990
Height-5‘10‖
Weight-120 lb
Address-No.20, Orchid Road.
City-London
State-London
Phone-44444
Where do you work?-Software
house
Job Address-No123,Main Road
Job's Phone Number-55555
Email- john@gmail.com
Password-john123
Who is the benefit of that the
insurance- Suzy
How to relate with insurer?-wife
Address of the related person-
No.20, Orchid Road.
Successfully
saved message
box
See Figures
Below
49. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 49 | 161
Phone of the related person?-
55555
Before Testing
After Testing
50. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 50 | 161
Unit Test 2 Test Case : Registration Form Designed By: Thiri Sandar Maung
Data Source : Calendar in text
box
Objective : Registration Form Test Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual Result
2.2 Click on Choose Date of
Birth
Insurer Name- John
Gender-Male
Show monthly
calendar
See Figures
Below
Before Testing
After Testing
51. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 51 | 161
Unit Test 2 Test Case : Registration
Form
Designed By: Thiri Sandar
Maung
Data Source : fill data null in
weight text box
Objective : Registration
Form Test
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual Result
2.3 All data fill except
weight text box and
click on the submit
button.
Insurer Name- John
Gender-Male
Height-5‘10‖
Show red text
box and
notification
See Figures
Below
Before Testing
52. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 52 | 161
After Testing
Unit Test 2 Test Case : Registration
Form
Designed By: Thiri Sandar
Maung
Data Source : email text box Objective : Registration
Form Test
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual Result
2.4 Fill old email
Email-john@gmail.com
Password-123
Show red text
box and
notification
See Figures
Below
53. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 53 | 161
Before Testing
After Testing
Unit Test 2 Test Case : Registration
Form
Designed By: Thiri Sandar
Maung
Data Source : email text box Objective : Registration
Form Test
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual Result
2.5 Fill wrong email format
Email-john
Password-123
Show error
text box
See Figures
Below
54. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 54 | 161
Before Testing
After Testing
Unit Test 2 Test Case : Registration Form Designed By: Thiri Sandar Maung
Data Source : users registration Objective: to save record in
database
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual Result
2.1 Fill all data and click on
―Submit Button‖
Insurer Name– John
Gender – Male
Date of Birth-19.3.1990
Height-5‘10‖
Weight-120 lb
Address-No.20, Orchid Road.
City-London
State-London
Phone-44444
Where do you work?-Software
house
Job Address-No123,Main Road
Job's Phone Number-55555
Email- john@gmail.com
Password-john123
Who is the benefit of that the
insurance- Suzy
How to relate with insurer?-wife
Data will be
successfully
recorded in the
database
See Figures
Below
55. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 55 | 161
Address of the related person-
No.20, Orchid Road.
Phone of the related person?-
55555
Before Testing
56. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 56 | 161
After Testing
Unit Test 3 Test Case : Sign In Form from
user site
Designed By: Thiri Sandar Maung
Data Source : Sign In Form Objective : Sign In Form Test Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual Result
3.1 Fill username and
password and click on the
login button.
User Name – ‗john@gmail.com
Enter Password : john123
Show insurance
type
See Figures
Below
Before Testing
57. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 57 | 161
After Testing
Unit Test 3 Test Case : Sign In Form from
user site
Designed By: Thiri Sandar Maung
Data Source : Sign In Form Objective : Sign In Form Test Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual Result
3.2 Fill username and wrong
password and click on the
login button.
User Name – ‗john@gmail.com
Enter Password : john
Show error
See Figures
Below
Before Testing
58. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 58 | 161
After Testing
Unit Test 3 Test Case : Sign In Form from
user site
Designed By: Thiri Sandar Maung
Data Source : Sign In Form Objective : Sign In Form Test Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual Result
3.3 Fill username and wrong
password and click on the
login button three times
User Name – ‗john@gmail.com
Enter Password : john, 123,
john111
Show error
See Figures
Below
Before Testing
60. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 60 | 161
Unit Test 3 Test Case : Sign In Form from
admin site
Designed By: Thiri Sandar Maung
Data Source : Sign In Form Objective : Sign In Form Test Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual Result
3.4 Fill username and
password and click on the
login button three times
UserName–admin@gmail.com
Password : admin
Show premium
See Figures
Below
Before Testing
After Testing
61. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 61 | 161
Unit Test 3 Test Case : Sign In Form
from admin site
Designed By: Thiri Sandar
Maung
Data Source : Sign In Form Objective : Sign In Form Test Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
3.5 Fill username and
wrong password
UserName–
admin@gmail.com
Password : 123
Show error
message
See Figures
Below
Before Testing
After Testing
62. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 62 | 161
Unit Test 4 Test Case : Proposal Form
for life insurance
Designed By: Thiri Sandar
Maung
Data Source : life insurance
proposal form
Objective : Life insurance
proposal Form Test
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
4.1 Fill right data in all text
boxes.
Fill all data and click on the
submit button.
Show
successfully
saved
message box
See Figures
Below
64. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 64 | 161
After Testing
Unit Test 4 Test Case : Proposal Form
for life insurance
Designed By: Thiri Sandar
Maung
Data Source : life insurance
proposal form check up date
Objective : life insurance
proposal form Test
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
4.2 Test the calendar that
is available or not.
Fill data and click on the
check up date text box.
Show
automatic
calendar.
See Figures
Below
66. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 66 | 161
Unit Test 4 Test Case : Proposal Form
for life insurance
Designed By: Thiri Sandar
Maung
Data Source : life insurance
proposal form Age text box
Objective : life insurance
proposal form Test
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
4.3 Test automatic
calculate insurance
age
Fill data in enter your age
text box
Show a new
generate age
in the this is
your
insurance
year text box
See Figures
Below
Before Testing
After Testing
67. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 67 | 161
Unit Test 4 Test Case : Proposal Form
for life insurance
Designed By: Thiri Sandar
Maung
Data Source : data saved in
database
Objective : life insurance
proposal form Test
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
4.3 Test data will save or
not in the database
after submitting.
Fill all data and click on the
submit button.
Show a new
record in the
database
See Figures
Below
69. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 69 | 161
Before Testing
After Testing
Unit Test 5 Test Case : Proposal Form
for fire insurance
Designed By: Thiri Sandar
Maung
Data Source : data saved in
database
Objective : fire insurance
proposal form Test
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
5.1 Fill all data and test
successfully save or
not.
Fill all data and click on the
submit button.
Show a
successfully
saved
message
See Figures
Below
70. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 70 | 161
Before Testing
Before Testing
After Testing
Unit Test 5 Test Case : Proposal Form Designed By: Thiri Sandar
71. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 71 | 161
for fire insurance Maung
Data Source : House
Evidence
Objective : fire insurance
proposal form Test
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
5.2 Fill all data except
attaching file
Fill all data except attaching
file and click on the submit
button.
Show error
message
See Figures
Below
Before Testing
After Testing
72. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 72 | 161
Unit Test 5 Test Case : Proposal Form
for fire insurance
Designed By: Thiri Sandar
Maung
Data Source : Data save in
database
Objective : fire insurance
proposal form Test
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
5.3 Test data will save or
not in the database
after submitting.
Fill all data and click on the
submit button.
Show a new
record in the
database
See Figures
Below
Before Testing
73. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 73 | 161
Before Testing
After Testing
Unit Test 6 Test Case : Proposal Form
for motor insurance
Designed By: Thiri Sandar
Maung
Data Source : Objective : motor insurance
proposal form Test
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
6.1 Fill all data and test
successfully save or
not.
Fill all data and click on the
submit button.
Show a
successfully
saved
message
See Figures
Below
75. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 75 | 161
Unit Test 6 Test Case : Proposal Form
for motor insurance
Designed By: Thiri Sandar
Maung
Data Source : Motor insurance
proposal form
Objective : motor insurance
proposal form Test
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
6.2
Fill all data except
attaching file Fill all data except attaching
file and click on the submit
button.
Show error
message
See Figures
Below
Before Testing
76. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 76 | 161
After Testing
Unit Test 6 Test Case : Proposal Form
for motor insurance
Designed By: Thiri Sandar
Maung
Data Source : Data save in
database
Objective : motor insurance
proposal form Test
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
6.3 Test data will save or
not in the database
after submitting.
Fill all data and click on the
submit button.
Show a new
record in the
database
See Figures
Below
78. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 78 | 161
Unit Test 7 Test Case : Proposal Form
for athletes insurance
Designed By: Thiri Sandar
Maung
Data Source : Objective : athletes
insurance proposal form Test
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
7.1 Fill all data and test
successfully save or
not.
Fill all data and click on the
submit button.
Show a
successfully
saved
message
See Figures
Below
Before Testing
79. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 79 | 161
After Testing
Unit Test 7 Test Case : Proposal Form
for athletes insurance
Designed By: Thiri Sandar
Maung
Data Source : athletes
insurance proposal form
Objective : athletes
insurance proposal form Test
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
7.2
Fill all data except
attaching file Fill all data except attaching
file and click on the submit
button.
Show error
message
See Figures
Below
81. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 81 | 161
Unit Test 7 Test Case : Proposal Form
for athletes insurance
Designed By: Thiri Sandar
Maung
Data Source : Data save in
database
Objective : athletes
insurance proposal form Test
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
7.3 Test data will save or
not in the database
after submitting.
Fill all data and click on the
submit button.
Show a new
record in the
database
See Figures
Below
Before Testing
After Testing
82. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 82 | 161
Unit Test 8 Test Case : Proposal Form
for snakebite insurance
Designed By: Thiri Sandar
Maung
Data Source : Objective : snakebite
insurance proposal form Test
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
8.1 Fill all data and test
successfully save or
not.
Fill all data and click on the
submit button.
Show a
successfully
saved
message
See Figures
Below
Before Testing
83. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 83 | 161
After Testing
Unit Test 8 Test Case : Proposal Form
for snakebite insurance
Designed By: Thiri Sandar
Maung
Data Source : Data save in
database
Objective : snakebite
insurance proposal form Test
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
8.2 Test data will save or
not in the database
after submitting.
Fill all data and click on the
submit button.
Show a new
record in the
database
See Figures
Below
84. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 84 | 161
Before Testing
After Testing
Unit Test 9 Test Case : Display premium Designed By: Thiri Sandar
Maung
Data Source : View premium
from users site
Objective : test users make
payment
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
9.1 Click Make payment to
view for payment
Click on the Make Payment Show
insurance
date and
expiry date
See Figures
Below
85. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 85 | 161
Before Testing
After Testing
Unit Test 10 Test Case : Display premium Designed By: Thiri Sandar
Maung
Data Source : check premium
from admin site
Objective : test check
premiums
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
10.1 Click on check
premium link.
Click on the check premium
link to view users‘ premium
Show users‘
detail
information
and premium
See Figures
Below
87. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 87 | 161
Unit Test 10 Test Case : download file Designed By: Thiri Sandar
Maung
Data Source : test download
file
Objective : test to download
the attachment
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
10.2 Click on View Health
Condition.
Click on the View Health
Condition to download the
attachment
Show
download file
See Figures
Below
Before Testing
88. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 88 | 161
After Testing
Unit Test 10 Test Case : confirm premium Designed By: Thiri Sandar
Maung
Data Source : confirm
premium from admin site
Objective : test confrim
premiums
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
10.3 Click on confirm link
Click on the confirm link to
confirm users‘ insurance
Show confirm
See Figures
Below
90. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 90 | 161
Unit Test 10 Test Case : check premiums Designed By: Thiri Sandar
Maung
Data Source : check premium Objective : test to search by
filtering
Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
10.4 Filter to know confirm
or pending according
to type
Choose type radio button
Choose life insurance in type
Choose confirm in status.
Click on filter button
Show confirm
Users only
See Figures
Below
Before Testing
After Testing
91. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 91 | 161
Unit Test 10 Test Case : Make Report Designed By: Thiri Sandar
Maung
Data Source : check make
report
Objective : test make report Tester : Thiri Sandar Maung
Test
Case Description Tasks Expected
Result
Actual
Result
10.5 Test to make report
Amin will sign in and check
premium, after checking
premium, admin can make
report with excel.
Show excel
report box
See Figures
Below
Before Testing
93. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 93 | 161
Integration Test
Customer Registration and Sign in
Integration Test Suite 1 Test Classes : Customer
registration and sign in
Designed By: Khin Oo Oo Khin
Data Source : Registration form Objective : Registration form Tester : Khin Oo Oo Khin
Test
Case Description Tasks Expected
Result
Actual Result
1.1 The customer will register
The customer will fill all complete
information in registration
Registration is
Successfully
saved
Record data
into database
1.2 Check null data in
registeration form
The customer will miss one place
to complete data
Show error
message
Show error
message
1.3 The system is able to
check the username and
password to log in.
Fill the right user name and
password.
Successfully
sign in
The customer
will reach to
insurance type
page.
1.4 The invalid username and
password to sign in.
The customer fills the wrong
username or password.
Show error
message
Invalid
username and
password do
not match.
1.5 The customer will log out
when they finish making
insurance.
Click logout button
The customer
can see the
sign in form
again.
It shows as
sign in.
94. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 94 | 161
Admin Sign in
Integration Test Suite 2 Test Classes : Admin Sign in Designed By: Khin Oo Oo Khin
Data Source : Admin Sign in Objective : Admin Sign in Tester : Khin Oo Oo Khin
Test
Case Description Tasks Expected
Result
Actual Result
2.1 Chcek admin can sign in
or not
Fill right username and password
Admin can
reach display
premium page
Show display
page
2.2 Invalid username and
password
Fill wrong username and
password
Show error
Invalid
username and
password.
95. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 95 | 161
User Guide
Home Page
This page can be seen when the user enters into website.
96. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 96 | 161
Register Form
When the customers do not have an account to make order or to log in , they need to make registration
here.
97. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 97 | 161
Log In Page
This is the login page for customers and admin to log in.
98. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 98 | 161
About Us page
In this page, the customers can view about company.
99. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 99 | 161
Why Chooe page
In this page, customers can know detail information about insurance types.
100. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 100 | 161
System Code
Function.php
<?php
function AutoID($tableName,$fieldName,$prefix,$noOfLeadingZeros)
{
$newID="";
$sql="";
$value=1;
$sql="SELECT " . $fieldName . " FROM " . $tableName . " ORDER BY " . $fieldName . " DESC";
$result = mysql_query($sql);
$noOfRow=mysql_num_rows($result);
$row = mysql_fetch_array($result);
if ($noOfRow<1)
{
return $prefix . "000001";
}
else
{
$oldID=$row[$fieldName]; //Reading Last ID
$oldID=str_replace($prefix,"",$oldID); //Removing "Prefix"
$value=(int)$oldID; //Convert to Integer
$value++; //Increment
$newID=$prefix . NumberFormatter($value,$noOfLeadingZeros);
return $newID;
}
}
function NumberFormatter($number,$n)
{
return str_pad((int) $number,$n,"0",STR_PAD_LEFT);
}
?>
AdminLoginForm.php
<!DOCTYPE html>
<!-- Website template by freewebsitetemplates.com -->
<html>
<head>
<meta charset="UTF-8" />
<title>Global World Insuarance Co.,Ltd.</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link href="datepicker.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="datepicker.js" ></script>
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<!--[if IE 9]>
<link rel="stylesheet" type="text/css" href="css/ie9.css" />
<![endif]-->
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="css/ie8.css" />
<![endif]-->
104. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 104 | 161
</div>
</div>
</body>
</html>
LogOut.php
<?php
session_start();
session_destroy();
$_SESSION["InsurerID"]=null;
header("Location:index.html");
?>
Test.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="js/jquery.js"></script>
<style>
.deliveryaddress{
visibility:hidden;
}
</style>
</head>
<body>
<label> <input type="checkbox" name="cbo" id="shipping" /></label>Ship to Other address
<script>
$(document).ready(function(e) {
$("#shipping").change(function(e) {
$("#delivery").toggleClass("deliveryaddress");
});
});
</script>
<table border="3" align="left" id="delivery" class="deliveryaddress">
<tr>
<td align="left">First Name</td>
<td>
<input name="txtdFirstName" type="text" placeholder="Enter your first name" maxlength="40"/>
</td>
</tr>
<tr>
<td align="left">Last Name</td>
<td>
<input name="txtdLastName" type="text" placeholder="Enter your first name" maxlength="30"/>
</td>
</tr>
105. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 105 | 161
</table>
</body>
</html>
LifeInsurance.php
<?php
require_once("db.php");
require_once("function.php");
session_start();
$id = $_GET["id"];
?>
<!DOCTYPE html>
<!-- Website template by freewebsitetemplates.com -->
<html>
<head>
<meta charset="UTF-8" />
<title>Global World Insuarance Co.,Ltd.</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link href="datepicker.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="datepicker.js" ></script>
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function compute(inputObj, otherInputID, multiID) {
var otherObj = document.getElementById(otherInputID)
var multiObj = document.getElementById(multiID)
var v1=inputObj.value
var v2=otherObj.value
var v3=multiObj.value
var val1 = v1=="" ? 0 : parseFloat(v1) // convert string to float
var val2 = v2=="" ? 0 : parseFloat(v2)
multiObj.value = val2 - val1
}
</script>
<style>
.td{
color:#006;
}
.space
{
margin:1.5em;
}
</style>
<!--[if IE 9]>
<link rel="stylesheet" type="text/css" href="css/ie9.css" />
<![endif]-->
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="css/ie8.css" />
106. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 106 | 161
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="css/ie7.css" />
<![endif]-->
</head>
<body>
<div id="header">
<div>
<div id="logo">
<a href="index.html"><img src="images/logo.jpg" alt="Logo" /></a>
</div>
<div id="navigation">
<div>
<ul>
<li class="current"><a href="index.html">Home</a></li>
<li><a href="about.html">About us</a></li>
<li><a href="whychoose.html">Why Choose</a></li>
<li><a href="Insurer.php">Registration</a></li>
<li><a href="InsurerLogin.php">Sign In</a></li>
</ul>
</div>
</div>
</div>
</div>
<div id="content">
<div id="featured">
<form id="form" name="form" action="LifeInsuranceController.php" method="post" enctype="multipart/form-
data">
<table align="center" border='1' width="100%">
<th colspan="2"></th>
<input type="hidden" name="instypeid" value="<?php echo
AutoID("insurancetype","InsuranceTypeID","IT_",6);?>"/>
<input type="hidden" name="proposalid" value="<?php echo $id;?>">
<tr>
<td>Are You Smoking?</td>
<td><input type="radio" value="Yes" name="tabacco">Yes
<input type="radio" value="No" name="tabacco">No
</td>
</tr>
<th colspan="2">Are You Married? If you Have Fill Following Infromation</th>
<tr>
<td class="td">Spouse Name</td>
<td><input type="text" name="spname"></td>
</tr>
<tr>
<td class="td">Are He/She Smoking?</td>
<td><input type="radio" value="Yes" name="stabacco">Yes
<input type="radio" value="No" name="stabacco">No
</td>
</tr>
<tr>
<td class="td">Where Do He/She Work?</td>
<td><input type="text" name="sjob" placeholder="Fill He/She Company Name" /></td>
107. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 107 | 161
</tr>
<tr>
<td class="td">He/She Job's Address</td>
<td><input type="text" name="sjaddress" placeholder="Fill He/She Company Address"/></td>
</tr>
<tr>
<td class="td">He/She Job's Phone Number</td>
<td><input type="text" name="sjphone" placeholder="Fill He/She Company Phone"/></td>
</tr>
<tr>
<td class="td">How Many Children do you Have?</td>
<td><select name="nchild">
<option>0</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
</select></td>
</tr>
<tr>
<th colspan="2">About Health Condition</th>
</tr>
<tr>
<th colspan="2" style="color:#660;">Does anyone have any major health conditions?Please select any
health conditions that apply:</th>
</tr>
<tr>
<td colspan="2">
<input type="checkbox" name="HeCondition[]" value="Ok"/>I have No other Disease<br/>
<input type="checkbox" name="HeCondition[]" value="Alzheimer's / Dementia"
class="space"/>Alzheimer's / Dementia
<input type="checkbox" name="HeCondition[]" value="Alcohol / Drug Abuse" class="space"/>Alcohol /
Drug Abuse
<input type="checkbox" name="HeCondition[]" value="Pulmonary Disease" class="space"/>Pulmonary
Disease <br/>
<input type="checkbox" name="HeCondition[]" value="Vascular Disease" class="space"/>Vascular
Disease
<input type="checkbox" name="HeCondition[]" value="High Blood Pressure" class="space"/>High Blood
Pressure
<input type="checkbox" name="HeCondition[]" value="High Cholesterol" class="space"/>High
Cholesterol <br/>
<input type="checkbox" name="HeCondition[]" value="Multiple Sclerosis" class="space"/>Multiple
Sclerosis
<input type="checkbox" name="HeCondition[]" value="AIDS / HIV" class="space"/>AIDS / HIV
<input type="checkbox" name="HeCondition[]" value="Heart Attack" class="space"/>Heart Attack <br/>
<input type="checkbox" name="HeCondition[]" value="Mental Illness" class="space"/>Mental Illness
<input type="checkbox" name="HeCondition[]" value="Clinical Depression" class="space"/>Clinical
Depression
<input type="checkbox" name="HeCondition[]" value="Asthma" class="space"/>Asthma <br/>
<input type="checkbox" name="HeCondition[]" value="AIDS / HIV" class="space"/>Diabetes
<input type="checkbox" name="HeCondition[]" value="Stroke" class="space"/>Stroke
108. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 108 | 161
<input type="checkbox" name="HeCondition[]" value="Cancer" class="space"/>Cancer <br/>
<input type="checkbox" name="HeCondition[]" value="Emphysema" class="space"/>Emphysema
<input type="checkbox" name="HeCondition[]" value="Heart Disease" class="space"/>Heart Disease
<input type="checkbox" name="HeCondition[]" value="Ulcers" class="space"/>Ulcers <br/>
<input type="checkbox" name="HeCondition[]" value="Epilepsy" class="space"/>Epilepsy
<input type="checkbox" name="HeCondition[]" value="Hepatitis / Liver" class="space"/>Hepatitis / Liver
<input type="checkbox" name="HeCondition[]" value="Kidney Disease" class="space"/>Kidney Disease
<br/>
</td>
</tr>
<tr>
<td><p>Check Up Date:</p></td>
<td><input type="text" name="CD" placeholder="Choice Check Up Date"
onFocus="showCalender(calender,this)" required autofocus/>
</td>
</tr>
<tr>
<td style="color:#F00;"><p>Life Evidence:(Submit All Process of the Check Up in
Hospital)</p></td>
<td><input type="file" name="image" required autofocus>
</td>
</tr>
<tr><th colspan="2">Insurance Information</th></tr>
<tr>
<td>How Many Year Do You Want To Make Insurance?<br/><h4>Remark: Insurance Must Be Make
From Prsent Age Up To Minimum 60 years old </h4></td>
<td>
<input id="txt1" type="hidden" value="60" onKeyUp="compute(this, 'txt2', 'addres', 'subtract', 'mulres')">
<br />
Enter Your Age:<br/><input id="txt2" type="text" onKeyUp="compute(this, 'txt1', 'addres', 'subtract',
'mulres')">
<br />
This is Your Insurance Year: <input id="addres" name="YearOfCoverage" type="text">
<br />
</td>
</tr>
<tr>
<td>How Much Amount You Want To Start For Insurance. That is For One Year.</td>
<td><select name="amount">
<option>1000</option>
<option>2000</option>
<option>3000</option>
<option>4000</option>
<option>5000</option>
<option>6000</option>
<option>7000</option>
<option>8000</option>
<option>9000</option>
<option>10000</option>
<option>20000</option>
<option>30000</option>
109. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 109 | 161
<option>40000</option>
<option>50000</option>
</select></td>
</tr>
<tr>
<td>At Past, Do You Make The Proposal In Our Insurance Company </td>
<td>
<input type="radio" name="previous" value="Yes"/>Yes
<input type="radio" name="previous" value="No"/>No
</td>
</tr>
<tr>
<td>Display Pre-Proposal Date</td>
<td>
<input type="text" name="PDate" placeholder="Please Select Date"
onFocus="showCalender(calender,this)" required autofocus/>
</td>
</tr>
<tr>
<td>I Am Accept All Of The Policy</td>
<td>
<input type="checkbox" name="Agree" value="Agree"/>Agree
</td>
</tr>
<tr>
<td></td>
<td>
<input type="submit" value="Submit"/>
</td>
</tr>
</table>
</form>
</div></div>
<div id="footer">
<div>
<div class="first">
<form action="#">
<label for="subscribe"><input type="text" id="subscribe"
maxlength="30" value="email address" /></label>
<input class="submit" type="submit" value="" />
</form>
</div>
112. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 112 | 161
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
</select></td>
</tr>
<tr>
<td>Fill The Name Of Person</td>
<td><input type="text" name="stayperson"/></td>
</tr>
<tr>
<td style="color:#F00;"><p>House Evidence:(You Need to submit requirement of House such as
Sketch Showing Situation of building(s), grant-land and Photo of House and etc)</p></td>
<td><input type="file" name="image" required autofocus>
</td>
</tr>
<tr><th colspan="2">Situation Of Surrounding</th></tr>
<tr>
<td>Is the building detached Or Besides have Factory </td>
<td><input type="radio" value="Yes" name="BFactory"/>Yes
<input type="radio" value="No" name="BFactory"/>No
</td>
</tr>
<tr>
<td> Factory Name</td>
<td><input type="text" name="FName"/>
</td>
</tr>
<tr>
<td>How Far It Is?</td>
<td><input type="text" name="FFar"/>
</td>
</tr>
<tr>
<td> Which Type of Factory</td>
<td><input type="text" name="FDescription"/>
</td>
</tr>
<tr><th colspan="2">Insurance Information</th></tr>
113. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 113 | 161
<tr>
<td>How Many Year Do You Want To Make Insurance?<br/></td>
<td><select name="YearOfCoverage">
<option>1 year</option>
<option>2 years</option>
<option>3 years</option>
<option>4 years</option>
<option>5 years</option>
<option>6 years</option>
<option>7 years</option>
<option>8 years</option>
<option>9 years</option>
<option>10 years</option>
</select></td>
</tr>
<tr>
<td>How Much Amount You Want To Start For Insurance. That is For One Year.</td>
<td><select name="amount">
<option>10000</option>
<option>20000</option>
<option>30000</option>
<option>40000</option>
<option>50000</option>
<option>60000</option>
<option>70000</option>
<option>80000</option>
<option>90000</option>
<option>100000</option>
</select></td>
</tr>
<tr>
<td>At Past, Do You Make The Proposal In Our Insurance Company </td>
<td>
<input type="radio" name="previous" value="Yes"/>Yes
<input type="radio" name="previous" value="No"/>No
</td>
</tr>
<tr>
<td>Display Pre-Proposal Date</td>
<td>
<input type="text" name="PDate" placeholder="Please Select Date"
onFocus="showCalender(calender,this)"/>
</td>
</tr>
<tr>
<td>I Am Accept All Of The Policy</td>
<td>
<input type="checkbox" name="Agree" value="Agree"/>Agree
116. KMD Computer Center
[GLOBAL WORLD INSURANCE] P a g e 116 | 161
<td><input type="text" name="owner"/></td>
</tr>
<tr>
<td>Car driving Licence</td>
<td><input type="text" name="drivinglicence"/></td>
</tr>
<tr>
<td>Do You Have Criminal Case With That Motor </td>
<td><input type="radio" name="Criminal" value="Yes"/>Yes
<input type="radio" name="Criminal" value="No"/>No
</td>
</tr>
<tr>
<td>Description About That Criminal Case</td>
<td><input type="text" name="DeCriminal"/></td>
</tr>
<tr>
<td>Regular use of that Motor or not</td>
<td>
<input type="radio" name="Regularuse" value="Yes"/>Yes
<input type="radio" name="Regularuse" value="No"/>No
</td>
</tr>
<tr>
<td>Use that car for travel</td>
<td>
<input type="radio" name="UseForTravel" value="Yes"/>Yes
<input type="radio" name="UseForTravel" value="No"/>No
</td>
</tr>
<tr>
<td>Date purchased</td>
<td><input type="text" name="PurchaseDate" placeholder="Please Select Date"
onFocus="showCalender(calender,this)" required autofocus/></td>
</tr>
<tr>
<td>Estimated car value</td>
<td><input type="text" name="CarValue"/></td>
</tr>
<tr>
<td>Has the car been modified in any way</td>
<td><input type="radio" name="modified" value="Yes"/>Yes
<input type="radio" name="modified" value="No"/>No
</td>
</tr>
<tr>