Professional Documents
Culture Documents
Technical Website Documentation
Technical Website Documentation
Presented by:
------------------ ----------------------------------
----------------------
------------------- ---------------------
By
------------
----------------
------------------
Project submitted to
BACHELOR OF SCIENCE
IN
COMPUTER SCIENCE
Page ii
ABSTRACT
The food donation app is a digital platform designed to facilitate the process of donating surplus food from
individuals, restaurants, grocery stores, and other food establishments to those in need. With the rising concerns
about food waste and food insecurity, this app serves as a bridge to connect donors with organizations and
individuals who can redistribute food to communities facing hunger. The app provides an intuitive user interface for
donors to easily list available food items, specify pickup times, and choose recipient organizations or individuals.
Recipient organizations, such as shelters, food banks, and community centers, can register on the platform to
receive notifications about available donations and arrange pickups accordingly. Key features of the app include
real-time notifications, geolocation services for efficient pickup coordination, user profiles for tracking donation
history, and feedback mechanisms to ensure transparency and accountability in the donation process. Through the
implementation of this food donation app, we aim to reduce food waste, alleviate hunger, and foster community
engagement in addressing food insecurity issues. The app's user-friendly design and seamless functionality make it
accessible to a wide range of users, empowering individuals and businesses to make meaningful contributions to
their communities.
Page iii
DEDICATION
This project is dedicated to all those who believe in the power of compassion and solidarity in
addressing the pressing issues of food waste and hunger.
To the tireless volunteers, activists, and organizations working tirelessly to alleviate food
insecurity and promote food insecurity and promote sustainable solutions, your dedication inspires
us.
To the individuals and businesses who generously contribute their time, resources, and surplus
food to those in need, your kindness embodies the spirit of community and empathy.
May this food donation app serve as a catalyst for positive change, bringing us closer to a future
where no one goes hungry and where every meal shared is a symbol of hope and solidarity.
This project is dedicated to you, champions of compassion and advocates for a more equitable
world.
“Let's turn surplus into sustenance, waste into warmth, and hunger into hope. Together, through small acts of
generosity, we can create a world where no plate is empty and no heart is untouched. ”
------------------------
-------------
Page iv
ACKNOWLEDGEMENT
As we culminate the development of this food donation app as part of our university project, we
would like to extend our sincere gratitude to all those who have contributed to its success.
First and foremost, we express our appreciation to our academic advisors, professors, and mentors for their
guidance, encouragement, and unwavering support throughout the duration of this project. Your expertise
and insights have been invaluable in shaping the direction and scope of our work.
We also extend our heartfelt thanks to our fellow classmates and peers who provided feedback, suggestions,
and constructive criticism during various stages of development. Your perspectives and collaboration have
enriched the project and contributed to its overall quality.
We acknowledge the university administration and staff for providing resources, facilities, and technical
support that facilitated the implementation and execution of the project. Your commitment to fostering
innovation and academic excellence has been instrumental in our journey.
Furthermore, we are grateful to the broader community of stakeholders, including local organizations,
businesses, and individuals, who have supported our efforts to address food waste and hunger in our
university's vicinity. Your partnership and engagement have reinforced the importance of community-driven
initiatives in creating positive social impact.
Lastly, we extend our heartfelt thanks to our families, friends, and loved ones for their unwavering
encouragement, understanding, and patience throughout the challenges and triumphs of this project.
Together, through collaborative efforts and dedication, we have demonstrated the potential for technology to
address pressing societal issues and make a meaningful difference in people's lives.
----------------
---------------
Page v
Table of Contents
Dedication .....................................................................................................................................iv
Acknowledgement..........................................................................................................................v
Table of Contents .........................................................................................................................vi
List of Tables ...............................................................................................................................vii
List of Figures ...............................................................................................................................ix
CHAPTER 1: Introduction to the Problem.................................................................................1
1.1 Background of problem ............................................................................................................... 2
1.2 Problem........................................................................................................................................ 2
CHAPTER 2: Existing Solutions And Proposed
Solution .........................................................4
2.1 Existing Solutions ........................................................................................................................ 5
2.2 Proposed Solution ........................................................................................................................ 5
CHAPTER 3:
Analysis ..................................................................................................................6
Structured
Approach .....................................................................................................................7
3.1 Vision .......................................................................................................................................... 7
3.2 Supplementary Specification ....................................................................................................... 7
3.2.1 Functional Requiremnets ............................................................................................................................ 7
3.2.2 Non-Functional Requiremnets .................................................................................................................. 10
3.2.3 Design and Implementation Constraints ................................................................................................... 12
3.2.4 Glossary (Acronyms and Abreviations) ................................................................................................... 13
3.3 Software Architecture ................................................................................................................ 14
3.4 Screen Shots .............................................................................................................................. 15
3.5 Use Case Diagrams .................................................................................................................... 22
CHAPTER 4:
Design ...................................................................................................................57
4.1 Database Design ........................................................................................................................ 58
4.2 ERD ........................................................................................................................................... 59
4.3 Data Flow diagrams ................................................................................................................... 64
4.4 Activity Diagram ....................................................................................................................... 66
4.5 State Transition Diagrams ......................................................................................................... 68
4.6 System Sequence Diagrams ....................................................................................................... 69
CHAPTER 5:
Testing ................................................................................................................102
5.1 Introduction .............................................................................................................................
103
5.2 Test Plan .................................................................................................................................. 104
5.3 Test Case Specification ........................................................................................................... 109
5.4 Test Cases ................................................................................................................................ 110
5.5 Performance Testing ................................................................................................................ 144 5.6
Security Testing ....................................................................................................................... 144
5.7 Regression Testing .................................................................................................................. 145
CHAPTER 6: Tools
Used ..........................................................................................................146 a.
Languages ................................................................................................................................ 147
b. Applications ............................................................................................................................. 147
vi
c. Libraries ................................................................................................................................... 147
CHAPTER 7: Summary and
Conclusions ...............................................................................148
CHAPTER 8: User
Manual ......................................................................................................150 CHAPTER 9:
Lessons Learnt And Future Work ..................................................................169
Appendix A: Project Management
Documents .......................................................................171
a. Team Structure ........................................................................................................................ 172
b. Roles & Responsibilities ......................................................................................................... 172
c. WBS (Work Breakdown Structure) ......................................................................................... 173
d. PERT Diagram ........................................................................................................................ 174
e. Scope Statement ...................................................................................................................... 174
f. Project Charter ......................................................................................................................... 176
g. Meetings Summary .................................................................................................................. 177
Appendix B:
Bibliography/References .....................................................................................179 Appendix
C: Index .....................................................................................................................181
Page
List of Tables
Use Case Tables Related To Admin Side ..................................................................................
23
Table 1: Admin_Log_In ............................................................................................................................. 23
Table 2: Admin_Transfer_Complaints .......................................................................................................
24
Table 3: Admin_Register_User .................................................................................................................. 25
Table 4: Admin_Complete ..........................................................................................................................
26
Table 5: DC_Log_In ...................................................................................................................................
27
Table 6: DC_Update_Status ....................................................................................................................... 28
Table 7: DC_Complete ...............................................................................................................................
29
Table 8: AC_Log_In ...................................................................................................................................
30
Table 9: AC_Update_Status ....................................................................................................................... 31
Table 10: AC_Complete .............................................................................................................................
32
Table 11: Tehsildar_Log_In ....................................................................................................................... 33
Table 12: Tehsildar_Update_Status ............................................................................................................
34
Table 13: Tehsildar_Complete ....................................................................................................................
35
Table 14: Employee_Log_In ...................................................................................................................... 36
Table 15: Employee_Complete ...................................................................................................................
37
Use Case Tables Related To User Side………………………………………………………...38
Table 16: AC_Log_In .................................................................................................................................
38
Table 17: AC_Register_Complaints ...........................................................................................................
39
Page vii
Table 18: AC_Give_Feedback ....................................................................................................................
40
Table 19: AC_Complete .............................................................................................................................
41
Table 20: Tehsildar_Log_In ....................................................................................................................... 42
Table 21: Tehsildar_Register_Complaints ..................................................................................................
43
Table 22: Tehsildar_Give_Feedback ..........................................................................................................
44
Table 23: Tehsildar_Complete ....................................................................................................................
45
Table 24: Employee_Log_In ...................................................................................................................... 46
Table 25: Employee_Register_Complaints ................................................................................................ 47
Table 26: Employee_Give_Feedback .........................................................................................................
48
Table 27: Employee_Complete ...................................................................................................................
49
Table 28: Citizen_Sign_Up .........................................................................................................................
50
Table 29: Citizen_Log_In ...........................................................................................................................
51
Table 30: Citizen_Edit_Profile ...................................................................................................................
52
Table 31: Citizen_Change_Password .........................................................................................................
53
Table 32: Citizen_Register_Complaints .....................................................................................................
54
Table 33: Citizen_Give_Feedback ..............................................................................................................
55
Table 34: Citizen_Complete .......................................................................................................................
56
Table 35: Items to be tested…………...…………..……………..………………………...
…………....105
Table 36: Items not to be tested.…………..………………...………………………………….
……....105
Table 37: Features to be tested.…………..…………………..………………………………….
……...106
Table 38: Responsibilities .......................................................................................................................
108
Table 39: Test Case Identifiers….………..………….……..……………………………...…………...109
Test Cases for user side .......................................................................................................................... 110
Table 40: TC-1 ..........................................................................................................................................
110
Table 41: TC-2 ..........................................................................................................................................
111
Table 42: TC-3 ..........................................................................................................................................
111
Table 43: TC-4 ..........................................................................................................................................
112
Table 44: TC-5 ..........................................................................................................................................
113
Table 45: TC-6 ..........................................................................................................................................
113
Table 46: TC-7 ..........................................................................................................................................
114
viii
Table 47: TC-8 ..........................................................................................................................................
114
Table 48: TC-9 ..........................................................................................................................................
115
Table 49: TC-10 ........................................................................................................................................
116
Table 50: TC-11 ........................................................................................................................................
116
Table 51: TC-12 ........................................................................................................................................
117
Table 52: TC-13 ........................................................................................................................................
117
Table 53: TC-14 ........................................................................................................................................
118 Table 54: TC-
15 ........................................................................................................................................ 119 Table 55:
TC-16 ........................................................................................................................................ 119
Table 56: TC-17 ........................................................................................................................................
120
Table 57: TC-18 ........................................................................................................................................
121
Table 58: TC-19 ........................................................................................................................................
121 Table 59: TC-
20 ........................................................................................................................................ 122
Table 60: TC-21 ........................................................................................................................................
123
Table 61: TC-22 ........................................................................................................................................
123 Table 62: TC-
23 ........................................................................................................................................ 124
Test Cases For Admin Side .................................................................................................................... 125
Table 63: TC-24 ........................................................................................................................................
125
Table 64: TC-25 ........................................................................................................................................
125 Table 65: TC-
26 ........................................................................................................................................ 126
Test Cases for DC ....................................................................................................................................
127
Table 66: TC-27 ........................................................................................................................................
127 Table 67: TC-
28 ........................................................................................................................................ 128
Test Cases for AC ....................................................................................................................................
129
Table 68: TC-29 ........................................................................................................................................
129 Table 69: TC-
30 ........................................................................................................................................ 130
Test Cases for Tehsildar .........................................................................................................................
130
Table 70: TC-31 ........................................................................................................................................
130
Table 71: TC-32 ........................................................................................................................................
131
Table 72: TC-33 ........................................................................................................................................
132
Table 73: TC-34 ........................................................................................................................................
133
Page ix
Table 74: TC-35 ........................................................................................................................................
133 Table 75: TC-
36 ........................................................................................................................................ 134
Test Cases for Naib Tehsidar .................................................................................................................
135
Table 76: TC-37 ........................................................................................................................................
135
Table 77: TC-38 ........................................................................................................................................
136
Table 78: TC-39 ........................................................................................................................................
136 Table 79: TC-
40 ........................................................................................................................................ 137
Test Cases for Gadawar ......................................................................................................................... 138
Table 80: TC-41 ........................................................................................................................................
138
Table 81: TC-42 ........................................................................................................................................
139
Table 82: TC-43 ........................................................................................................................................
139 Table 83: TC-
44 ........................................................................................................................................ 140
Test Cases for Patwari ............................................................................................................................
141
Table 84: TC-45 ........................................................................................................................................
141
Table 85: TC-46 ........................................................................................................................................
142
Table 86: TC-47 ........................................................................................................................................
142 Table 87: TC-
48 ........................................................................................................................................ 143
Page
List of Figures
FIGURE-1: Software
Architecture ............................................................................................14
FIGURE: Screen
Shots ................................................................................................................15
User
Interface ...............................................................................................................................15
x
FIGURE-2:Home Page .........................................................................................................................
15
FIGURE-3:About Us Page .....................................................................................................................
16
FIGURE-4:Laws and Policies Page ......................................................................................................
17
FIGURE-5:Location Page ......................................................................................................................
18
FIGURE-6:Registration Page ............................................................................................................... 19
FIGURE-7:Login Page .......................................................................................................................... 20
FIGURE-8: Privacy Policy Page ............................................................................................................
21
FIGURE: Use Case Diagrams Related To Admin
Side ............................................................23
FIGURE: Use Case Diagram
(Admin) .......................................................................................23
FIGURE-9: Use Case (Admin Login).................................................................................................... 23
FIGURE-10: Use Case (Admin Transfer Complaints) ..........................................................................
24
FIGURE-11: Use Case (Admin Register Users) ....................................................................................
25
FIGURE-12: Complete Use Case (Admin) ............................................................................................
26
FIGURE: Use Case Diagram
(DC) .............................................................................................27
FIGURE-13: Use Case (DC Login) .......................................................................................................
27
FIGURE-14: Use Case (DC Update Complainant Status) .....................................................................
28
FIGURE-15: Complete Use Case (DC) .................................................................................................
29
FIGURE: Use Case Diagram
(AC) .............................................................................................30
FIGURE-16: Use Case (AC Login) .......................................................................................................
30
FIGURE-17: Use Case (AC Update Complainant Status) .....................................................................
31
FIGURE-18: Complete Use Case (AC) .................................................................................................
32
FIGURE: Use Case Diagram
(Tehsildar) ..................................................................................33
FIGURE-19: Use Case (Tehsildar Login) ..............................................................................................
33
FIGURE-20: Use Case (Tehsildar Update Complainant Status) ...........................................................
34
FIGURE-21: Complete Use Case (Tehsildar) ........................................................................................
35
FIGURE: Use Case Diagram (Employee)..................................................................................36
FIGURE-22: Use Case (Employee Login) ............................................................................................ 36
FIGURE-23: Use Case (Employee Complete) ...................................................................................... 37
FIGURE: Use Case Diagram Related To
Complainants .........................................................38
FIGURE: Use Case Diagram
(AC) .............................................................................................38
Page xi
FIGURE-24: Use Case (AC Login) .......................................................................................................
38
FIGURE-25: Use Case (AC Register Complaint) .................................................................................
39
FIGURE-26: Use Case (AC Give Feedback) .........................................................................................
40
FIGURE-27: Complete Use Case (AC) .................................................................................................
41
FIGURE: Use Case Diagram
(Tehsildar) ..................................................................................42
FIGURE-28: Use Case (Tehsildar Login) ..............................................................................................
42
FIGURE-29: Use Case (Tehsildar Register Complaint) ........................................................................
43
FIGURE-30: Use Case (Tehsildar Give Feedback) ...............................................................................
44
FIGURE-31: Complete Use Case (Tehsildar) ........................................................................................
45
FIGURE: Use Case Diagram (Employee)..................................................................................46
FIGURE-32: Use Case (Employee Login) ............................................................................................ 46
FIGURE-33: Use Case (Employee Register Complaint) .......................................................................
47
FIGURE-34: Use Case (Employee Give Feedback) ..............................................................................
48
FIGURE-35: Complete Use Case (Employee) ...................................................................................... 49
FIGURE: Use Case Diagram
(Citizen) ......................................................................................50
FIGURE-36: Use Case (Citizen Signup) ...............................................................................................
50
FIGURE-37: Use Case (Citizen Login) .................................................................................................
51
FIGURE-38: Use Case (Citizen Edit Profile) ........................................................................................
52
FIGURE-39: Use Case (Citizen Change Password) ..............................................................................
53
FIGURE-40: Use Case (Citizen Register Complaint) ...........................................................................
54
xii
FIGURE-41: Use Case (Citizen Give Feedback) ...................................................................................
55
FIGURE-42: Complete Use Case (Citizen) ...........................................................................................
56
FIGURE-43: Database
Design ....................................................................................................58
FIGURE-44: Entity Tables .........................................................................................................61
FIGURE-45: ER
Diagram ...........................................................................................................63
FIGURE-46: Data Flow Diagram...............................................................................................64
FIGURE-47: Activity
Diagram ...................................................................................................67
FIGURE-48: State Transition Diagram.....................................................................................68
FIGURE: Sequence Diagram Related To
Officers ...................................................................69 FIGURE: Sequence Diagram
(Admin) ......................................................................................69
FIGURE-49: Sequence Diagram (Admin: Login) .................................................................................
69
FIGURE-50: Sequence Diagram (Admin: Transfer Complaints) ..........................................................
70
FIGURE-51: Sequence Diagram (Admin: View Complaint Messages) ................................................
70
FIGURE-52: Sequence Diagram (Admin: Register Officer) .................................................................
71
FIGURE-53: Sequence Diagram (Admin: Logout) ...............................................................................
72
FIGURE: Sequence Diagram
(DC) ............................................................................................73
FIGURE-54: Sequence Diagram (DC: Login) .......................................................................................
73
FIGURE-55: Sequence Diagram (DC: View Complaint Messages) .....................................................
74
FIGURE-56: Sequence Diagram (DC: Update Complaint Status) ........................................................
74
FIGURE-57: Sequence Diagram (DC: Send Message) ......................................................................... 75
FIGURE-58: Sequence Diagram (DC: Logout) .....................................................................................
75
FIGURE: Sequence Diagram
(AC) ............................................................................................76
FIGURE-59: Sequence Diagram (AC: Login) .......................................................................................
76
FIGURE-60: Sequence Diagram (AC: View Complaint Messages) .....................................................
77
FIGURE-61: Sequence Diagram (AC: Update Complaint Status) ........................................................
77
FIGURE-62: Sequence Diagram (AC: Send Message) ......................................................................... 78
FIGURE-63: Sequence Diagram (AC: Logout) .....................................................................................
78
FIGURE: Sequence Diagram (Tehsildar) .................................................................................79
FIGURE-64: Sequence Diagram (Tehsildar: Login) .............................................................................
79
Page xiii
FIGURE-65: Sequence Diagram (Tehsildar: View Complaint Messages) ............................................
80
FIGURE-66: Sequence Diagram (Tehsildar: Update Complaint Status) ...............................................
80
FIGURE-67: Sequence Diagram (Tehsildar: Send Message) ...............................................................
81
FIGURE-68: Sequence Diagram (Tehsildar: Logout) ...........................................................................
81
FIGURE: Sequence Diagram
(Employee) .................................................................................82
FIGURE-69: Sequence Diagram (Employee: Login) ............................................................................
82
FIGURE-70: Sequence Diagram (Employee: View Messages) ............................................................ 83
FIGURE-71: Sequence Diagram (Employee: Logout) ..........................................................................
83
FIGURE: Sequence Diagram Related To
Complainants .........................................................84
FIGURE: Sequence Diagram
(AC) ............................................................................................84
FIGURE-72: Sequence Diagram (AC: Login) .......................................................................................
84
FIGURE-73: Sequence Diagram (AC: Register Complaint) .................................................................
85
FIGURE-74: Sequence Diagram (AC: View Complaint Status) ...........................................................
86
FIGURE-75: Sequence Diagram (AC: Give Feedback) ........................................................................
86
FIGURE-76: Sequence Diagram (AC: View Messages) .......................................................................
87
FIGURE-77: Sequence Diagram (AC: Logout) .....................................................................................
87
FIGURE: Sequence Diagram (Tehsildar) .................................................................................88
FIGURE-78: Sequence Diagram (Tehsildar: Login) .............................................................................
88
FIGURE-79: Sequence Diagram (Tehsildar: Register Complaint) ........................................................
89
FIGURE-80: Sequence Diagram (Tehsildar: View Complaint Status) ................................................. 90
FIGURE-81: Sequence Diagram (Tehsildar: Give Feedback) ...............................................................
90
FIGURE-82 Sequence Diagram (Tehsildar: View Messages) ..............................................................
91
FIGURE-83: Sequence Diagram (Tehsildar: Logout) ...........................................................................
91
FIGURE: Sequence Diagram
(Employee) .................................................................................92
FIGURE-84: Sequence Diagram (Employee: Login) ............................................................................
92
FIGURE-85: Sequence Diagram (Employee: Register Complaint) ...................................................... 93
FIGURE-86: Sequence Diagram (Employee: View Complaint Status) ................................................ 94
FIGURE-87: Sequence Diagram (Employee: Give Feedback) ..............................................................
94
FIGURE-88: Sequence Diagram (Employee: View Messages) ............................................................ 95
Page xiv
FIGURE-89: Sequence Diagram (Employee: Logout) ..........................................................................
95
FIGURE: Sequence Diagram
(Citizen) ......................................................................................96
FIGURE-90: Sequence Diagram (Citizen: Login) .................................................................................
96
FIGURE-91: Sequence Diagram (Citizen: Manage Profile) ..................................................................
97
FIGURE-92: Sequence Diagram (Citizen: Change Password) ..............................................................
98
FIGURE-93: Sequence Diagram (Citizen: Register Complaint) ...........................................................
99
FIGURE-94: Sequence Diagram (Citizen: View Complaint Status) ...................................................
100
FIGURE-95: Sequence Diagram (Citizen: Give Feedback) ................................................................
100
FIGURE-96: Sequence Diagram (Citizen: View Messages) ...............................................................
101
FIGURE-97: Sequence Diagram (Citizen: Logout) .............................................................................
101
FIGURE: User Manual .............................................................................................................151
Admin
Dashboard ......................................................................................................................151
FIGURE-98:Admin Dashboard ........................................................................................................... 151
FIGURE-99:Admin Profile ..................................................................................................................
152
FIGURE-100:Admin View Notification ..............................................................................................
152
FIGURE-101:Admin Forward Complaints ..........................................................................................
153
FIGURE-102:Admin View User ......................................................................................................... 154
User
Dashboard ..........................................................................................................................155
FIGURE-103:User Dashboard .............................................................................................................
155
FIGURE-104:User Profile ................................................................................................................... 155
FIGURE-105:User Edit Profile ............................................................................................................
156
FIGURE-106:User Change Password ..................................................................................................
156
FIGURE-107:User Complaint Form ....................................................................................................
157
FIGURE-108:User Complaint Status ...................................................................................................
157
FIGURE-109:User Message Page ....................................................................................................... 158
FIGURE-110:User Feedback Page ...................................................................................................... 158
DC
Dashboard ............................................................................................................................160
FIGURE-111:DC Dashboard ...............................................................................................................
160
FIGURE-112:DC Profile ..................................................................................................................... 160
FIGURE-113:DC Incoming Complaints ..............................................................................................
161
Page xv
FIGURE-114:DC Send Message ......................................................................................................... 162
FIGURE-115:DC Complaints Page .....................................................................................................
162
AC
Dashboard ............................................................................................................................163
FIGURE-116:AC Dashboard ...............................................................................................................
163
FIGURE-117:AC Profile ..................................................................................................................... 163
FIGURE-118:AC Messages .................................................................................................................
164
Tehsildar
Dashboard .................................................................................................................164
FIGURE-119:Tehsildar Dashboard ..................................................................................................... 164
FIGURE-120:Tehsildar Profile ............................................................................................................
165
Naib Tehsildar
Dashboard ........................................................................................................165
FIGURE-121:Naib Tehsildar Dashboard .............................................................................................
165
FIGURE-122: Naib Tehsildar Profile ..................................................................................................
166
Gadawar
Dashboard ..................................................................................................................166
FIGURE-123:Gadawar Dashboard ......................................................................................................
166
FIGURE-124:Gadawar Profile ............................................................................................................ 167
Patwari
Dashboard ....................................................................................................................167
FIGURE-125:Patwari Dashboard ........................................................................................................ 167
FIGURE-126:Patwari Profile ...............................................................................................................
168
FIGURE-127: Team
Structure .................................................................................................172
FIGURE-128: WBS ...................................................................................................................173
FIGURE-129: PERT Diagram..................................................................................................174
Page xvi
CHAPTER 1
INTRODUCTION TO THE
PROBLEM
Page xvii
1. Introduction
Food waste occurs at various stages of the food supply chain, including production, distribution, retail, and
consumption. In developed countries, a substantial amount of food is discarded by households, restaurants,
supermarkets, and other food establishments due to reasons such as overproduction, aesthetic standards,
and expiration dates. This wastage not only squanders valuable resources such as water, land, and energy
but also exacerbates environmental degradation and contributes to greenhouse gas emissions.
Conversely, food insecurity persists as a pressing social issue, affecting individuals and families across diverse
socioeconomic backgrounds. Factors such as poverty, unemployment, inadequate access to nutritious food,
and systemic inequalities contribute to food insecurity, leaving millions of people uncertain about their next
meal.
In response to these challenges, numerous initiatives, programs, and policies have been implemented to
address food waste and hunger. However, gaps in coordination, distribution inefficiencies, and logistical
barriers continue to hinder effective solutions.
Recognizing the urgency of addressing both food waste and hunger, this project aims to develop a digital
solution that leverages technology to facilitate the donation of surplus food from donors to individuals and
organizations in need. By harnessing the power of mobile applications and online platforms, the project
seeks to streamline the process of food donation, enhance transparency and accountability, and foster
community engagement in combating food insecurity.
Through collaborative efforts and innovative solutions, we aspire to create a more equitable and sustainable
food system where surplus food is redirected to those who need it most, thereby alleviating hunger, reducing
food waste, and promoting social cohesion and solidarity within our communities.
1.2 Problems
The existing system of food donation, although well-intentioned, is often characterized by inefficiencies, lack
of coordination, and limited accessibility, hindering its ability to effectively address the dual challenges of
food waste and hunger. Several key issues persist within the current framework:
• Lack of Visibility:
Many potential donors and recipients are unaware of opportunities for food donation or face challenges
in locating and connecting with suitable partners. This lack of visibility contributes to missed
opportunities for surplus food redistribution and leaves many individuals and organizations without
access to much-needed resources.
• Fragmented Coordination:
Page 18
The process of food donation is often fragmented, with multiple stakeholders operating
independently and utilizing disparate communication channels. This fragmentation leads to
inefficiencies, duplication of efforts, and difficulty in coordinating donation logistics, resulting in
inequalities in access to food resources, delays and missed opportunities for timely food distribution.
• Limited Accessibility:
Existing donation platforms may lack user-friendly interfaces or may not be accessible to
individuals and organizations with limited technological literacy or resources. As a result,
marginalized communities and smaller-scale donors may face barriers to participation in food
donation initiatives, exacerbating inequalities in access to food resources.
Page 19
CHAPTER 2
EXISTING SOLUTIONS AND
PROPOSED SOLUTION
The existing solutions for food donation typically involve manual processes, phone calls, or in-
person coordination between donors and recipient organizations. Some communities may have
local food banks or charitable organizations that facilitate food redistribution, but these systems
often rely on outdated communication methods and face challenges in efficiently matching supply
with demand.
Page 20
2.2 Proposed Solution
The proposed solution is the development of a comprehensive food donation app that leverages
technology to streamline the donation process and enhance accessibility, transparency, and
accountability. The app will offer the following features:
1. User-friendly Interface: The app will feature an intuitive, user-friendly interface that allows
donors to easily list surplus food items for donation and specify pickup times and locations.
2. Geolocation Services: The app will utilize geolocation services to facilitate efficient pickup
coordination between donors and recipient organizations, reducing logistical challenges and
optimizing resource allocation.
3. Real-time Notifications: The app will provide real-time notifications to donors and recipient
organizations about available donations, pickup requests, and delivery status updates, enabling
timely response and coordination.
5. Feedback Mechanisms: The app will incorporate feedback mechanisms to promote transparency
and accountability in the donation process, allowing recipients to provide feedback on the quality
and suitability of donated items and donors to evaluate the effectiveness of recipient organizations
in distributing donations.
6. Community Engagement: The app will serve as a platform for community engagement,
providing opportunities for users to participate in volunteering, fundraising, and advocacy efforts
to address food insecurity and promote sustainable food systems.
4. Donation Tracking: Users will have access to personalized profiles where they can track their
donation history, view feedback from recipients, and monitor the impact of their contributions
over time.
By implementing this food donation app, we aim to create a more efficient, transparent, and inclusive
system for food redistribution, empowering individuals and organizations to make meaningful
contributions to their communities while reducing food waste and alleviating hunger.
CHAPTER 3
Page 21
ANALYSIS
3. Analysis
3.1 Vision
The vision of this project is to create a more equitable and sustainable food system where surplus
food is redirected to those in need, fostering a culture of generosity, compassion, and community
engagement.
We envision a world where every individual has access to nutritious food, regardless of
socioeconomic status or geographic location. Through the power of technology and collective
action, we aspire to:
Alleviate Hunger:
Our project aims to reduce food insecurity and hunger by facilitating the efficient redistribution of
surplus food to individuals and families facing nutritional challenges. By connecting donors with
recipient organizations and individuals in need, we seek to ensure that no one goes to bed hungry.
Page 22
Donation Listing and Management:
• Donors should be able to list surplus food items for donation, including details such as quantity,
type, expiration date (if applicable), and pickup location.
• Donors should have the option to edit or delete donation listings as needed.
Search and Matching:
• Recipient organizations should be able to search for available donations based on criteria such as
location, food type, and quantity.
• The app should facilitate matching between donors and recipient organizations based on their
preferences and logistical constraints.
Pickup Coordination:
• The app should provide functionality for scheduling and coordinating pickup times and
locations between donors and recipient organizations.
• Automated notifications should be sent to both parties to confirm pickup arrangements and
provide real-time updates.
Page 23
• The app should be accessible to users with diverse abilities and should comply with
accessibility standards.
• Localization support should be provided to accommodate users from different regions and
linguistic backgrounds.
Security and Privacy:
• The app should implement robust security measures to protect user data, including
encryption, secure authentication, and data access controls.
• Privacy policies should be clearly communicated to users, and consent should be obtained
for the collection and use of personal information.
By incorporating these functional requirements, the food donation app will provide a user-
friendly, secure, and efficient platform for connecting donors with recipient organizations
and individuals in need, thereby facilitating the redistribution of surplus food and
contributing to the alleviation of food insecurity.
By addressing these non-functional requirements, the food donation app will not only provide a
robust and secure platform for food redistribution but also deliver a positive user experience that
fosters trust, engagement, and satisfaction among users.
• The project budget and resources may be limited, constraining the scope of development and feature
implementation.
• Availability of skilled developers, designers, and testers may also pose constraints on the project
timeline and execution.
• Compliance with data privacy regulations such as GDPR and HIPAA (Health Insurance Portability and
Accountability Act) may impose constraints on data collection, storage, and processing.
• Implementation of robust security measures, including encryption, access controls, and secure
authentication, may introduce complexity and overhead to the development process.
• Integration with external systems such as payment gateways, mapping services, and notification APIs
may be subject to constraints imposed by third-party providers' terms of service and API limitations.
• Compatibility issues and version dependencies may arise when integrating with legacy systems or
proprietary software used by partner organizations.
• Operation system: the development environment will be Android.
• Android-Based: the system will be Android based application.
• Designing: The design must be in Flutter.
• Language: Dart must be used.
Page 25
3.2.4 Glossary (Acronyms & Abbreviation)
The acronyms and abbreviations used throughout the SRS are following:
16. Firebase: Google's mobile platform that helps you quickly develop high-quality apps.
17. Stateless Widget: A widget in Flutter that does not require mutable state.
20. Material Design: A design language developed by Google that combines principles of good design with
innovations in technology and science.
21. Cupertino Design: Design language developed by Apple for iOS apps, supported in Flutter for iOS-specific
designs.
Page 26
27. GPU: Graphics Processing Unit.
Page 27
User Interface Home
Page:
About Us Page:
Page 28
FIGURE-3: About Us Page
Page 29
FIGURE-4: Laws & Polices Page
Location Page:
Page 30
FIGURE-5: Location Page
Registration Page
Page 31
FIGURE-6: Registration Page
Login Page
Page 32
FIGURE-7: Login Page
Page 33
FIGURE-8: Privacy Policy Page
A use case is a list of actions or event steps typically defining the interactions between a role
(known in the Unified Modeling Language (UML) as an actor) and a system to achieve a goal.
The actor can be a human or other external system. The actors that are used in the use case of
automated complaint system are:
Admin
Page 34
Deputy Commissioner (DC)
Assistant Commissioner (AC)
Tehsildar
Employees (Naib, Gadawar and Patwari).
Citizens
System
Where the officers of Revenue department: AC, Tehsildar and Employees can act as officers as
well as users (complainants) in different situations. That’s why the next portion describes the
diagrams related to admin and user sides. The tabular scenarios of all the use cases are also given
in this document.
Only authorize user can login to the system with authorize user name and password.
Page 35
FIGURE-9: Use case (Admin Login)
Identifier UC-1
Priority High
Purpose To access the admin panel.
Pre-conditions System Running Perfectly.
Post-conditions Successfully Login.
Typical Course of Action
S# Actor Action System Response
• System will check the CNIC, password
Admin select role and enter and captcha.
1 login details. • System allows the user to login if the
entered data is valid.
Alternate Course of Action
S# Actor Action System Response
If the login details are System will not allow the user to login and
1
invalid show the retry button.
Table 1: Admin_Log_In
Page 36
Use Case
3.5.2 02_Admin_Transfer_Complaints
Admin transfers complaints to the relevant authorities. If the complaint is against AC, it is
transferred to DC, if against Tehsildar then it is transferred to AC, if against employees
(Patwari, Gadawar or Naib/ Tehsildar) then it is transferred to the Tehsildar.
Identifier UC-2
Purpose To Transfer Complaints to the related authority.
Priority High
Pre-conditions Admin must receive complaints before transfer.
Successfully Transfer Complaints to the associated
Post-conditions
authority.
Typical Course of Action
S# Actor Action System Response
• Admin Click on Transfer System successfully transfers
complaint Option. complaints.
1 • Admin select authority from
category.
Table 2: Admin_Transfer_Complaints
Page 37
Use Case
3.5.3 03_Admin_Register_Users
Identifier UC-3
Purpose To Register new government employees.
Priority Medium
Pre-conditions Admin must login to register a new user.
Post-conditions Successfully Register Users.
Typical Course of Action
S# Actor Action System Response
• Admin Click on Register User System successfully register
Option. user.
1 • Admin enter the details related
to registration.
Table 3: Admin_Register_Users
Page 38
Use Case
3.5.4 04_Admin_Complete
Identifier UC-4
Purpose To Perform their tasks
Priority High
Pre-conditions Admin must login to perform different tasks.
Post-conditions Successfully perform activities.
Typical Course of Action
S# Actor Action System Response
• Admin can view complaints System successfully transfers
from Notification. complaints to the related
1 • Admin can forward authority.
complaints.
Admin can also view feedbacks System would show feedback
received from the successfully.
2
Complainant after completion
of complaint.
Admin can also manage other’s System successfully saved
3
profile and then logout. changes
Table 4: Admin_Complete
Page 39
Use Case
3.5.5 05_DC_Log_in
Identifier UC-5
Purpose To Receive complaints and to perform further execution
Priority High
Pre-conditions System Running Perfectly.
Post-conditions Successfully Login.
Typical Course of Action
S# Actor Action System Response
• System will check the CNIC, password
4 DC select role and and captcha.
1 enter login details.
• System allows the user to login if the
entered data is valid.
Alternate Course of Action
S# Actor Action System Response
System will not allow the user to login
If the login details are
1 and
invalid
Shows the retry button.
Table 5: DC_Log_In
Page 40
Use Case
4.1.1 06_DC_Update_Status
Identifier UC-6
Purpose To Update complainant status.
Priority High
Pre-conditions Must receive complaint before updating status
Post-conditions Successfully update status.
Typical Course of Action
S# Actor Action System Response
User send message related to System allows the user to
1 status
( on work or closed) send status.
Table 6: DC_Update_Status
Page 41
Use Case
4.1.2 07_DC_Complete
Identifier UC-7
Purpose To Perform duty.
Priority High
Pre-conditions User must login for processing.
Post-conditions Successfully operate tasks and Logout.
Typical Course of Action
S# Actor Action System Response
DC Click notification option to System shows complaint
1 view complaint messages and messages and sent messages.
send messages.
DC clicks on update status option System successfully updates
2 and then updates complainant complainant status
status.
Table 7: DC_Complete
Page 42
Use Case
4.1.3 08_AC_Log_in
Identifier UC-8
Purpose To Receive complaints and to perform further execution
Priority High
Pre-conditions System Running Perfectly.
Post-conditions Successfully Login.
Typical Course of Action
S# Actor Action System Response
AC select role and • System will check the CNIC, password
enter login and captcha.
1
details. • System allows the user to login if the
entered data is valid.
Alternate Course of Action
S# Actor Action System Response
If the login details System will not allow the user to login and
1
are invalid show the retry button.
Table 8: AC_Log_In
Page 43
Use Case
4.1.4 09_AC_Update_Status
Identifier UC-9
Purpose To Update complainant status.
Priority High
Pre-conditions Must receive complaint before updating status
Post-conditions Successfully update status.
Typical Course of Action
S# Actor Action System Response
User send message related System allows the user to
1 to status
( on work or closed) send status.
Table 9: AC_Update_Status
Page 44
Use Case
4.1.5 10_AC_Complete
Identifier UC-10
Purpose To Perform tasks.
Priority High
Pre-conditions User must login for processing.
Post-conditions Successfully operate tasks and Logout.
Typical Course of Action
S# Actor Action System Response
AC Click inbox Option to view System shows complaint
1 complaint messages and send messages and sent messages.
messages.
AC clicks on update status option System successfully updates
2 and then updates complainant complainant status
status.
Table 10: AC_Complete
Page 45
Use Case
4.1.6 11_Tehsildar_Log_in
Identifier UC-11
Purpose To Receive complaints and to perform further execution
Priority High
Pre-conditions System Running Perfectly.
Post-conditions Successfully Login.
Typical Course of Action
S# Actor Action System Response
• System will check the CNIC,
Tehsildar select role and enter password and captcha.
1 login details. • System allows the user to
login if the entered data is
valid.
Alternate Course of Action
S# Actor Action System Response
5 System will not allow the user to
1 If the login details are invalid login and show the retry button
Page 46
Use Case
5.1.1 12_Tehsildar_Update_Status
Identifier UC-12
Purpose To Update complainant status.
Priority High
Pre-conditions Must receive complaint before updating status
Post-conditions Successfully update status.
Typical Course of Action
S# Actor Action System Response
User send message related to System allows the user to
1 status
( on work or closed) send status.
Table 12: Tehsildar_Update_Status
Page 47
Use Case
5.1.2 13_Tehsildar_Complete
Identifier UC-13
Purpose To Perform tasks.
Priority High
Pre-conditions User must login for processing.
Post-conditions Successfully operate tasks and Logout.
Typical Course of Action
S# Actor Action System Response
Tehsildar Click inbox Option to System shows complaint
1 view complaint messages and messages and sent
send messages. messages.
Tehsildar clicks on update status System successfully updates
2 option and then updates complainant status
complainant status.
Table 13: Tehsildar_Complete
Page 48
Use Case
5.1.3 14_Employee_Log_in
Page 49
Use Case
6.1.1 15_Employee_Complete
Identifier UC-15
Purpose To Perform tasks.
Priority High
Pre-conditions User must login for processing.
Post-conditions Successfully operate tasks and Logout.
Typical Course of Action
S# Actor Action System Response
Employee Click on notification System shows complaint
1 Option to view complaint messages.
messages.
Table 15: Employee_Complete
Page 50
Use Case Diagrams & Tables Related To Complainants
Identifier UC-16
Purpose To Receive complaints and to perform further execution
Priority High
Pre-conditions System Running Perfectly.
Post-conditions Successfully Login.
Typical Course of Action
S# Actor Action System Response
• System will check the CNIC,
password and captcha.
AC enter login details • System allows the user to
1
login if the entered data is
valid.
Alternate Course of Action
S# Actor Action System Response
7 System will not allow the user to
1 If the login details are invalid login and show the retry button
Page 51
7.1.1 17_AC_Register_Complaints
Identifier UC-17
Purpose To Register Complaints
Priority Medium
Pre-conditions AC must login to register Complaints
Post-conditions Successfully Register Complaint.
Page 52
Use Case
7.1.2 Use Case 18_AC_Give_Feedback
Identifier UC-18
Purpose To Give feedback.
Priority Medium
Must login and processing related to complaints must be
Pre-conditions
closed.
Post-conditions Successfully Give Feedback.
Typical Course of Action
S# Actor Action System Response
System successfully sent
AC clicks on feedback option to give
1 feedback.
feedback.
Page 53
7.1.3 19_AC_Complete
Identifier UC-19
Purpose To file complaints.
Priority Medium
Pre-conditions AC must login to file complain.
Post-conditions Successfully Register complain
Typical Course of Action
S# Actor Action System Response
AC Click on register complaint option System successfully sent complains.
1
to file a complaint.
AC can check status from status System allow user to view all.
2 option and view messages from
messages option.
AC can also give feedback after System successfully saved changes.
3
complaint completion
Table 19: AC_Complete
Page 54
Use Case
7.1.4 20_Tehsildar_Log_in
Identifier UC-20
Purpose To Receive complaints and to perform further execution
Priority High
Pre-conditions System Running Perfectly.
Post-conditions Successfully Login.
Typical Course of Action
S# Actor Action System Response
Tehsildar select role • System will check the CNIC, password
and enter login and captcha.
1
details • System allows the user to login if the
entered data is valid.
Alternate Course of Action
S# Actor Action System Response
If the login details are 8 System will not allow the user to login
1
invalid and show the retry button
Table 20: Tehsildar_Log_In
Page 55
Use Case
8.1.1 21_Tehsildar_Register_Complaints
Identifier UC-21
Purpose To Register Complaints
Priority Medium
Pre-conditions Tehsildar must login to register Complaints
Post-conditions Successfully Register Complaint.
Typical Course of Action
S# Actor Action System Response
• Tehsildar Click on Register Complaint System successfully
Option sent complaint.
1 • Tehsildar fill the form to register
complaint
• Tehsildar enter textual data.
Table 21: Tehsildar_Register_Complaints
Page 56
Use Case
8.1.2 22_Tehsildar_Give_Feedback
Identifier UC-22
Purpose To Give feedback.
Priority Low
Must login and processing related to complaints must be
Pre-conditions
closed.
Post-conditions Successfully Give Feedback.
Typical Course of Action
S# Actor Action System Response
System successfully sent
Tehsildar clicks on feedback option to
1 feedback.
give feedback.
Page 57
Use Case
8.1.3 23_Tehsildar_Complete
Identifier UC-23
Purpose To file complaints.
Priority High
Pre-conditions User must login for processing.
Post-conditions Successfully operate tasks and Logout.
Typical Course of Action
S# Actor Action System Response
Tehsildar Click on register System successfully sent
1 complaint option to file a complains.
complaint.
Tehsildar can check status System allow user to view all.
2 from status option and view
messages.
Table 23: Tehsildar_Complete
Page 58
Use Case
8.1.4 24_Employee_Log_in
Identifier UC-24
To Receive complaints and to perform further
Purpose
execution
Priority High
Pre-conditions System Running Perfectly.
Post-conditions Successfully Login.
Typical Course of Action
S# Actor Action System Response
Employee select role • System will check the CNIC,
and enter login password and captcha.
1
details • System allows the user to login if the
entered data is valid.
Alternate Course of Action
S# Actor Action System Response
If the login details are 9 System will not allow the user to login
1 and show the retry button
invalid
Table 24: Employee_Log_In
Page 59
Use Case
9.1.1 25_Employee_Register_Complaints
Identifier UC-25
Purpose To Register Complaints
Priority Medium
Pre-conditions Employee must login to register Complaints
Post-conditions Successfully Registered Complaint.
Typical Course of Action
S# Actor Action System Response
• Employee Click on System successfully
Register sent complaint.
Complaint Option
1
• Employee fill the form to register
complaint
• Employee enter textual data.
Table 25: Employee_Register_Complaints
Page 60
Use Case
9.1.2 26_Employee _Give_Feedback
Identifier UC-26
Purpose To Give feedback.
Priority Low
Must login and processing related to complaints must be
Pre-conditions
closed.
Post-conditions Successfully Give Feedback.
Typical Course of Action
S# Actor Action System Response
System successfully sent
Employee clicks on feedback
1 feedback.
option to give feedback.
Page 61
Use Case
9.1.3 27_ Employee_Complete
Identifier UC-27
Purpose To file complaints.
Priority High
Pre-conditions User must login for processing.
Post-conditions Successfully operate tasks and Logout.
Typical Course of Action
S# Actor Action System Response
Employee Click on register System successfully sent
1 complaint option to file a complains.
complaint.
Employee can check status System allow user to view all.
from status option and view
2
messages from message
option.
Page 62
Use Case
9.1.4 28_Citizen_Sign_Up
Identifier UC-28
Purpose For Registration.
Priority High
Pre-conditions System Running Perfectly.
Post-conditions Successfully Login.
Typical Course of Action
S# Actor Action System Response
• System will check all details
Citizen enter SignUp
1 • System allows the user to Sign-Up
details
if the entered data is valid.
Alternate Course of Action
S# Actor Action System Response
Citizen enter Sign-Up 10 System would not response.
1
details
Table 28: Citizen_Sign_Up
Page 63
Use Case
10.1.1 29_Citizen_Log_in
Identifier UC-29
Purpose To access account.
Priority High
Pre-conditions Citizen must be Registered.
Post-conditions Successfully Login.
Typical Course of Action
S# Actor Action System Response
• System will check the CNIC, password
• Citizen select role and and captcha.
enter login details
• System allows the user to login if the
1 • If the login details are entered data is valid.
invalid
• System will not allow the user to login
and show the retry button
Alternate Course of Action
S# Actor Action System Response
If the login details are 11 System will not allow the user to login and
1 show the retry button
invalid
Table 29: Citizen_Log_In
Page 64
Use Case
11.1.1 30_Citizen_Edit_Profile
Page 65
Use Case
11.1.2 31_Citizen_Change_Password
Identifier UC-31
Purpose To Change Password.
Priority Low
Pre-conditions Citizen must enter current password to change password.
Post-conditions Successfully Save Changes.
Page 66
Use Case
11.1.3 32_Citizen_Register_Complaint
Identifier UC-32
Purpose To Register Complaints
Priority High
Pre-conditions Citizen must login to register Complaints
Post-conditions Successfully Registered Complaints.
Typical Course of Action
S# Actor Action System Response
• Citizen Click on Register Complaint System successfully
Option send complaint.
1 • Citizen fill the form to register
complaint
• Citizen enter textual data.
Table 32: Citizen_Register_Complaints
Page 67
11.1.4 Use Case 32_Citizen_Give_Feedback
Identifier UC-33
Purpose To Give feedback.
Must login and processing related to complaints must
Pre-conditions
be closed.
Post-conditions Successfully Give Feedback.
Typical Course of Action
S# Actor Action System Response
System successfully sent
Citizen clicks on feedback
1 feedback.
option to give feedback.
Page 68
11.1.5 Use Case 33_Citizen_Complete
Identifier UC-34
Purpose To file complaints and then perform further activities.
Pre-conditions Citizen must Sign-up or Login to file complain.
Post-conditions Successfully Register complain and perform other
activities.
Typical Course of Action
S# Actor Action System Response
Citizen Click on register complaint System allow the user to file
1 complain
option to file a complain
Citizen can check status from status System shows notification
2 option and view messages from option.
messages.
System shows feedback
Citizen can also give feedback after
3 option after the complaint
complaint completion
completion
Page 70
FIGURE-43: Database Design
Entity Tables:
Admin:
Page 71
Deputy Commissioner (DC):
Complaint Status:
Officers:
Tehsildar and Assistant Commissioner (AC) are called officers here as both have the same
attributes and same tasks.
Page 72
Employee:
Naib Tehsildar, Patwari and Gadawar are employees here. Who have the same attributes and same
tasks to perform using this system.
Citizen:
Complaint Message:
Page 73
Complaint:
Feedback:
ER Diagram
An entity relationship diagram (ERD), also known as an entity relationship model, is a graphical
representation of an information system that depicts the relationships among people, objects,
Page 74
places, concepts or events within that system. ER modeling helps you to analyze data
requirements systematically to produce a well-designed database. So, it is considered a best
practice to complete ER modeling before implementing your database. Entities can be thought
of as nouns. Examples: a computer, an employee, a song, a mathematical theorem, etc. A
relationship captures how entities are related to one another
ERDs model an organization’s data storage requirements with three main components: entities,
attributes, and relationships.
• Entities:
Entities which represent people, places, items, events, or concepts.
• Attributes:
Attributes which represent properties or descriptive qualities of an entity. These are also known as
data elements.
• Relationships:
Relationships which represent the link between different entities.
The ERD of proposed system consists of ten entities:
Admin
DC
Officers
Employee
Citizen
Complaint
Verification Message
Complaint Status
Complaint Message
Feedback
ERD:
Page 75
FIGURE-45: ER Diagram
Page 76
FIGURE-46: Level-0
LEVEL 1
Page 77
FIGURE-47: Level-1
Activity diagram is another important diagram in UML to describe the dynamic aspects of the
system. Activity diagram is basically a flowchart to represent the flow from one activity to
another activity. The activity can be described as an operation of the system.
Page 78
The purpose of an activity diagram can be described as −
Page 79
FIGURE-48: Activity Diagram
Page 80
4.5 State Transition Diagram
A state [7] diagram is used to represent the condition of the system. It’s a behavioral diagram
and it represents the behavior using state transitions. State diagrams are also referred to as
State machines and State-chart Diagrams. These terms are often used interchangeably. So
simply, a state diagram is used to model the dynamic behavior of a class in response to time
and changing external stimuli. We prefer to model the states with three or more states.
Page 81
4.6 Sequence diagram
A sequence diagram shows object interactions arranged in time sequence. It depicts the objects
and classes involved in the scenario and the sequence of messages exchanged between the
objects needed to carry out the functionality of the scenario. Sequence diagrams are typically
associated with use case realizations in the Logical View of the system under development.
Sequence diagrams are sometimes called event diagrams or event scenarios.
A sequence diagram shows, as parallel vertical lines (lifelines), different processes or objects
that live simultaneously, and, as horizontal arrows, the messages exchanged between them, in
the order in which they occur. This allows the specification of simple runtime scenarios in a
graphical manner.
Page 82
Sequence Diagram (Admin
View Complaints)
Page 83
Sequence Diagram (Admin
Register Users)
Logout)
Page 84
Sequence Diagram (Admin
Page 85
Sequence Diagram (Admin
Page 86
Sequence Diagram (DC
Login)
View Complaints)
Page 87
Sequence Diagram (DC
Page 88
Sequence Diagram (DC
Send Messages)
Page 89
Sequence Diagram (DC
Page 90
Sequence Diagram (AC
Login)
Page 91
Sequence Diagram (AC
View Complaints)
Page 92
Sequence Diagram (AC
Send Message)
Page 93
Sequence Diagram (AC
FIGURE-64: Sequence Diagram (AC: Logout)
Page 94
Sequence Diagram (Tehsildar
Login)
View Complaints)
Page 95
Sequence Diagram (Tehsildar
Send Messages)
Page 96
Sequence Diagram (Tehsildar
Page 97
Sequence Diagram (Tehsildar
Page 98
Sequence Diagram
(Employee Login)
Page 99
Sequence Diagram
Page 100
Sequence Diagram
Page 101
Sequence Diagram
Page 102
Sequence Diagram (AC
Register Complaints)
View Message)
Page 104
Sequence Diagram (AC
Page 105
Sequence Diagram (Tehsildar
Login)
Register Complaints)
Page 106
Sequence Diagram (Tehsildar
Page 107
Sequence Diagram (Tehsildar
View Message)
Page 108
Sequence Diagram (Tehsildar
Page 109
Sequence Diagram
(Employee Login)
Page 110
Sequence Diagram
Page 111
Sequence Diagram (Employee View Complaint Status)
Page 112
Sequence Diagram
Page 113
FIGURE-90: Sequence Diagram (Employee: Logout)
Page 114
Sequence Diagram
(Citizen Login)
Page 116
Sequence Diagram
Page 117
Sequence Diagram (Citizen Register Complaints)
Page 118
Sequence Diagram (Citizen View Complaint Status)
Page 119
FIGURE-97: Sequence Diagram (Citizen: Give Feedback)
Page 120
CHAPTER 5
TESTING
5. TESTING
5.1 Introduction
Web testing [9] is a software testing practice to test the websites or web applications for
potential bugs. It's a complete testing of web-based applications before making live. A web-
based system needs to be checked completely from end-to-end before it goes live for end users.
By performing website testing, an organization can make sure that the web-based system is
functioning properly and can be accepted by real-time users. We have been applied the
following different testing techniques on Automated Complaint System to ensure the quality and
efficiency of system.
Functionality Testing:
The below are some of the checks that are performed but not limited to the below list:
Usability testing:
• Content checking.
Page 121
• Check for user intuition.
Interface testing:
Performed to verify the interface and the dataflow from one system to other.
Page 122
The test plan identifier for User Registration is TC-1.
5.2.2.2 Introduction
All modules of our system will be tested. All validation checks will be tested through STLC
(Software Testing Life Cycle).
Page 123
5.2.2.4 Features to be tested
Here we will define which of the features of the ACS will be tested here. we need to identify
the functionality that are to be tested in each module or sub module as these are what delivers
value to the team.
Accept complaint
Transfer Complaint
Reject complaint
Register a complaint
Register Complaint
Page 124
The technique we are going to adopt for testing are:
Unit Testing
Black Box Testing
The goal of unit testing is to isolate each part of the program and show that individual parts are
correct in terms of requirements and functionality. Black Box testing is defined as the testing of
combined parts of an application to determine if they function correctly. We applied these
testing techniques to check whether each module of ACS work properly when combine with
other module or not. Normally this type of testing will be performed by developers before the
setup is handed over to the test Engineer to formally execute the test cases.
Page 125
Hardware Requirements
• System: Pentium 3 or higher
Software Requirements
• OS: Windows 7, windows 8.1 or windows 10
• Web Browser: Internet explorer, Google Chrome, Mozilla.
• Tool: Xampp Server
5.2.2.9 Responsibilities
The developing team of “Automated Complaint System” is responsible for managing,
__________________
Supervisor’s Signature
5.3 Test Case Specification 5.3.1 Purpose
To define a test case identified by a test plan.
5.3.2 Test case specification identifier
Following are the test case identifiers that will be used in our test:
Serial No. Testing Features Test Case Identifier
1 Valid data while TC-1
registration
2 Empty field in registration TC-2
form
Identifier TC-1
Priority High priority
1. User must have internet access.
Related requirement(s) 2. System must be running successfully.
3. User must open ‘Register’ page.
Related use-case(s) Citizen_Sign_Up
Testing is applied on registration form fields to check when new
Short description user enters valid data in all form fields then user must be registered
successfully.
1. User must have internet access.
2. ACS (Automated Complaint System) must be running
Pre-condition(s) successfully.
3. Register page must be opened.
Page 128
Input data Correctly enter data in all fields of registration form by user.
1. User open UI successfully.
2. Navigate to Register page (new user is not register).
3. User enters valid Full Name, valid CNIC*, valid Email, valid
Detailed steps
Password* and valid Contact No* in registration form.
4. Click on REGISTER button.
Identifier TC-2
Priority High priority
1. User must have internet access.
Related requirement(s) 2. System must be running successfully.
3. User must open ‘Register’ page.
Related use-case(s) Citizen_Sign_Up
Testing is applied on registration form fields to check if user does
Short description not fill “Full Name” form filed then which error message will be
shown to user by system.
1. User must have internet access.
2. ACS (Automated Complaint System) must be running
Pre-condition(s) successfully.
3. Register page must be opened.
User enters valid CNIC*, valid Email, valid Password* and valid
Input data
Contact No*.
1. User open UI successfully.
2. Navigate to Register page (new user is not registered).
3. User enters valid CNIC*, valid Email, valid Password* and
Detailed steps
valid Contact No* in registration form fields.
4. Click on REGISTER button.
Identifier TC-3
Priority High priority
1. User must have internet access.
Related requirement(s) 2. System must be running successfully.
3. User must open ‘Register’ page.
Related use-case(s) Citizen_Sign_Up
Short description Testing is applied on registration form fields to check if user enters
Page 130
invalid CNIC number i.e. write CNIC with less than 13 numbers
then an error message must be shown to user to enter data that is
matched with the format.
1. User must have internet access.
2. ACS (Automated Complaint System) must be running
Pre-condition(s) successfully.
3. Register page must be opened.
User enters valid Full Name*, invalid CNIC*, valid Email, valid
Input data
Password* and valid Contact No* in registration form.
1. User open UI successfully.
2. Navigate to Register page (new user is not registered).
3. User enters valid Full Name*, invalid CNIC*, valid Email,
Detailed steps
valid Password* and valid Contact No*.
4. Click on REGISTER button.
Expected result(s) System must show some pop up or message to write valid data.
System shows a validation message of “Please match the requested
Post-condition(s)
Format”.
Table 42-TC-3
Identifier TC-4
Priority High priority
1. User must have internet access.
Related requirement(s) 2. System must be running successfully.
3. User must open ‘Register’ page.
Related use-case(s) Citizen_Sign_Up
Testing is applied on registration form fields to check if user enters
invalid CNIC number i.e. write CNIC with greater than 13
Short description
numbers then an error message must be shown to user to enter data
that is matched with the format.
4. User must have internet access.
1. ACS (Automated Complaint System) must be running
Pre-condition(s) successfully.
2. Register page must be opened.
User enters valid Full Name*, invalid CNIC*, valid Email, valid
Input data
Password* and valid Contact No* in registration form.
1. User open UI successfully.
2. Navigate to Register page (new user is not registered).
3. User enters valid Full Name*, valid CNIC*, valid Email,
Detailed steps
valid Password* and valid Contact No*.
4. Click on REGISTER button.
Identifier TC-6
Priority High priority
1. User must have internet access.
Related requirement(s) 2. System must be running successfully.
3. User must open ‘Register’ page.
Related use-case(s) Citizen_Sign_Up
Testing is applied on registration form fields to check if user enters
Short description phone number in “Contact No*” field with less than 11 numbers
then an error message must be shown by system to user.
1. User must have internet access.
2. ACS (Automated Complaint System) must be running
Pre-condition(s) successfully.
3. Register page must be opened.
Page 132
User enters valid Full Name*, valid CNIC*, valid Email, valid
Input data
Password* and invalid Contact No*.
1. User open UI successfully.
2. Navigate to Register page (new user is not registered).
Detailed steps 3. User enters valid Full Name*, valid CNIC*, valid Email, valid
Password* and invalid Contact No* in registration form fields.
4. Click on REGISTER button.
Expected result(s) System must show a validation error.
System shows a validation message of “Please match the requested
Post-condition(s)
Format”.
Table 45-TC-6
Identifier TC-7
Priority High priority
1. User must have internet access.
Related requirement(s) 2. System must be running successfully.
3. User must open ‘Register’ page.
Related use-case(s) Citizen_Sign_Up
Testing is applied on registration form fields to check if user enters
Short description phone number in “Contact No*” field with greater than 11
numbers then an error message must be shown by system to user.
Pre-condition(s) 1. User must have internet access.
User enters valid Full Name*, valid CNIC*, valid Email, valid
Input data
Password* and invalid Contact No*.
1. User open UI successfully.
2. Navigate to Register page (new user is not registered).
Detailed steps 3. User enters valid Full Name*, valid CNIC*, valid Email, valid
Password* and invalid Contact No* in registration form.
4. Click on REGISTER button.
Expected result(s) System must show a validation error.
System shows a validation message of “Please match the requested
Post-condition(s)
Format”.
Table 46-TC-7
Identifier TC-8
Priority High priority
Related requirement(s) 1. User must have internet access.
2. System must be running successfully.
3. User must open ‘Register’ page.
Related use-case(s) Citizen_Sign_Up
Page 133
Testing is applied on registration form fields to check if user enters
Short description invalid email in “Email” field then an error message must be
shown by system to user.
Pre-condition(s) 1. User must have internet access.
2. ACS (Automated Complaint System) must be running
successfully.
3. Register page must be opened.
User enters valid Full Name*, valid CNIC*, invalid Email, valid
Input data
Password* and valid Contact No*.
1. User open UI successfully.
2. Navigate to Register page (new user is not registered).
3. User enters valid Full Name*, valid CNIC*, invalid Email,
Detailed steps
valid Password* and valid Contact No* in registration form
fields.
4. Click on REGISTER button.
Expected result(s) System must show a validation error.
System shows a validation message of “Please match the requested
Post-condition(s)
Format”.
Table 47-TC-8
Identifier TC-9
Priority High priority
1. User must have internet access.
Related requirement(s) 2. System must be running successfully.
3. User must open ‘Register’ page.
Related use-case(s) Citizen_Sign_Up
Testing is applied on registration form fields to check if user enters
Short description alphabets in Contact No* field then an error must be shown by
system to user.
1. User must have internet access.
2. ACS (Automated Complaint System) must be running
Pre-condition(s) successfully.
3. Register page must be opened.
User enters valid Full Name*, valid CNIC*, valid Email, valid
Input data
Password* and invalid Contact No*.
1. User open UI successfully.
2. Navigate to Register page (new user is not registered).
Detailed steps 3. User enters valid Full Name*, valid CNIC*, valid Email, valid
Password* and invalid Contact No*.
4. Click on REGISTER button.
Expected result(s) An error to enter valid Contact No occur.
System shows a validation message of “Please match the requested
Post-condition(s)
Format”.
Page 134
Table 48-TC-9
User login
Identifier TC-10
Priority High priority
1. User must have internet access.
2. System must be running successfully.
Related requirement(s)
3. User must be registered before login into system.
4. User must open User Login page.
Related use-case(s) Citizen_Log_In
Testing is applied on Login page to check when user leave both of
the fields of login form empty, no captcha is entered by user and
Short description
no role is selected then which error will be shown by system to
user.
1. User must have internet access.
2. ACS (Automated Complaint System) must be running
Pre-condition(s) successfully.
3. User must be registered.
4. User Login page must be opened.
Input data Blank CNIC, password field, captcha and no role is selected.
1. User open UI successfully.
Detailed steps 2. Navigate to User Login page (user must be registered before).
3. Click on SIGN IN button.
Expected result(s) System must show a validation error.
Post-condition(s) A validation message to “fill out this field” is shown.
Table 49-TC-10
Identifier TC-11
Priority High priority
1. User must have internet access.
2. System must be running successfully.
Related requirement(s)
3. User must be registered before login into system.
4. User must open User Login page.
Related use-case(s) Citizen_Log_In
Testing is applied on Login page to check when user who is not
Short description
registered trying to login into system.
Page 135
1. User must have internet access.
2. ACS (Automated Complaint System) must be running
Pre-condition(s) successfully.
3. User must be registered.
4. User Login page must be opened.
Input data User enters invalid CNIC and invalid password.
1. User open UI successfully.
2. Navigate to User Login page (user must be registered before).
Detailed steps
3. User write invalid CNIC and invalid password.
4. User select citizen role.
5. Click on SIGN IN button.
Expected result(s) System must show a validation error.
System shows an alert of “Incorrect password and please login
Post-condition(s)
again”.
Table 50-TC-11
Identifier TC-12
Priority High priority
1. User must have internet access.
2. System must be running successfully.
Related requirement(s) 3. User must be registered before login into system.
4. User must open User Login page.
5. User must remember CNIC and Password for login.
Related use-case(s) Citizen_Log_In
Testing is applied on Login page to check when user enters valid
Short description CNIC, valid password and add correct captcha without selecting
‘citizen role’ then what state will be shown by system to user.
1. ACS (Automated Complaint System) must be running
successfully.
Pre-condition(s) 2. User must be registered.
3. User Login page must be opened.
Input data User enters valid CNIC, valid password and correct captcha.
1. User open UI successfully.
2. Navigate to User Login page (user must be registered before).
Detailed steps
3. User enters valid CNIC, valid password and correct captcha.
4. Click on SIGN IN button.
Expected result(s) System must show a validation error.
Post-condition(s) System redirected user to login page.
Table 51-TC-12
Identifier TC-13
Priority High priority
Page 136
1. User must have internet access.
2. System must be running successfully.
Related requirement(s) 3. User must be registered before login into system.
4. User must open User Login page.
5. User must remember CNIC and Password for login.
Related use-case(s) Citizen_Log_In
Testing is applied on Login page to check when user enters valid
CNIC, valid password , correct captcha and select ‘AC role’ rather
Short description
than citizen then which type of error will be shown by system to
user.
1. ACS (Automated Complaint System) must be running
Pre-condition(s)
successfully.
2. User must be registered.
3. User Login page must be opened.
User enters valid CNIC, valid password, correct captcha and select
Input data
AC role.
1. User open UI successfully.
2. Navigate to User Login page (user must be registered before).
Detailed steps 3. User write valid CNIC, valid password, correct captcha and
select AC role.
4. Click on SIGN IN button.
Expected result(s) System must show a validation error.
Post-condition(s) System shows an alert of “Incorrect Password Please Login
again”.
Table 52-TC-13
Identifier TC-14
Priority High priority
1. User must have internet access.
2. System must be running successfully.
3. User must be registered before login into system.
Related requirement(s)
4. User must open User Login page.
5. User must remember password.
6. User must select citizen role.
Related use-case(s) Citizen_Log_In
Testing is applied on Login page to check when user enters
Short description invalid CNIC, valid password and select citizen then what
response will be shown by system to user.
1. ACS (Automated Complaint System) must be running
successfully.
Pre-condition(s) 2. User must be registered.
3. User Login page must be opened.
User enters invalid CNIC, valid password, correct captcha and
Input data
select citizen role.
Page 137
1. User open UI successfully.
2. Navigate to User Login page (user must be registered before).
Detailed steps 3. User write invalid CNIC, valid password, correct captcha and
select citizen role.
4. Click on SIGN IN button.
Expected result(s) System must show a validation error.
Post-condition(s) System shows an alert of “Incorrect Password Please Login
again”.
Table 53-TC-1
Identifier TC-15
Priority High priority
1. User must have internet access.
2. System must be running successfully.
3. User must be registered before login into system.
Related requirement(s)
4. User must open User Login page.
5. User must remember CNIC.
6. User must select citizen role.
Related use-case(s) Citizen_Log_In
Testing is applied on Login page to check when user enters valid
Short description CNIC, invalid password, correct captcha and select citizen role
then what response will be shown by system to user.
1. ACS (Automated Complaint System) must be running
successfully.
Pre-condition(s) 2. User must be registered.
3. User Login page must be opened.
User enters valid CNIC, invalid password, correct captcha and
Input data
select citizen role.
1. User open UI successfully.
2. Navigate to User Login page (user must be registered before).
Detailed steps 3. User write valid CNIC, invalid password, correct captcha and
select citizen role.
4. Click on SIGN IN button.
Expected result(s) System must show a validation error.
Post-condition(s) System shows an alert of “Incorrect Password Please Login
again”.
Table 54-TC-15
Identifier TC-16
Page 138
Priority High priority
1. User must have internet access.
2. System must be running successfully.
3. User must be registered before login into system.
Related requirement(s)
4. User must open User Login page.
7. User must remember CNIC and password.
8. User must select citizen role.
Related use-case(s) Citizen_Log_In
Testing is applied on Login page to check when user enters valid
Short description CNIC, valid password, correct captcha and select citizen role then
user must be logged in into user dashboard.
1. ACS (Automated Complaint System) must be running
successfully.
Pre-condition(s) 2. User must be registered.
3. User Login page must be opened.
User enters valid CNIC, valid password, correct captcha and select
Input data
citizen role.
1. User open UI successfully.
2. Navigate to User Login page (user must be registered before).
Detailed steps 3. User write valid CNIC, valid password, correct captcha and
select citizen role.
4. Click on SIGN IN button.
Expected result(s) User must login successfully.
Post-condition(s) System shows an alert of “Successfully Login”.
Table 55-TC-16
Page 139
Input data User enters valid data in all fields.
1. User open UI successfully.
2. Navigate to User Login page (user must be registered before).
3. Enter valid CNIC, valid password, correct captcha and select
citizen role for login into dashboard.
Detailed steps 4. Click on Complaint option from sidebar.
5. Select ‘File a Complaint’ option from dropdown menu of
‘Complaint’.
6. Fill all complaint fields with valid information.
7. Click on ‘submit’ button.
Expected result(s) Complaint must be registered.
Post-condition(s) System shows an alert of “Successfully Registered”.
Table 56-TC-17
Identifier TC-18
Priority High priority
1. User must have internet access.
2. System must be running successfully.
Related requirement(s) 3. User must be login successfully.
4. User must open ‘File a Complaint’ page from ‘Complaint’
option from sidebar of user dashboard.
Related use-case(s) Citizen Register Complaint
Testing is applied on Complaint form to check when user left
Short description Address and Complaine Text field empty then what validation
error will be shown by system to user.
1. ACS (Automated Complaint System) must be running
successfully.
Pre-condition(s) 2. User must log in successfully.
3. ‘File a Complaint’ page must be opened.
All other fields are filled except Address and Complaine Text
Input data
fields.
1. User open UI successfully.
2. Navigate to User Login page (user must be registered before).
3. Enter valid CNIC, valid password, correct captcha and select
citizen role for login into dashboard.
4. Click on Complaint option from sidebar.
Detailed steps
5. Select ‘File a Complaint’ option from dropdown menu of
‘Complaint’.
6. Fill all complaint fields except Address and Complaine Text
fields.
7. Click on ‘submit’ button.
Expected result(s) System must show a validation error to fill out field.
Post-condition(s) System shows a validation message of “Please fill out this field”.
Page 140
Table 57-TC-18
Edit User Profile
Identifier TC-19
Priority Low priority
1. System must be running successfully.
2. User must be login successfully.
Related requirement(s)
3. User must open ‘Edit Profile’ page from ‘User Options’ option
from sidebar of user dashboard.
Related use-case(s) Citizen Manage Profile
Testing is applied to check whether user successfully edit personal
Short description
information or not.
1. ACS (Automated Complaint System) must be running
Pre-condition(s) successfully.
2. User must log in successfully.
3. Dashboard must be opened.
4. Edit Profile page must be opened.
Input data User change Name from Edit Your Info form.
1. User open UI successfully.
2. Navigate to User Login page (user must be registered before).
3. Enter valid CNIC, valid password, correct captcha and select
citizen role for login into dashboard.
4. Click on User Options from sidebar.
Detailed steps
5. Select ‘Edit Profile’ option from dropdown menu of ‘Users
Options’.
6. Replace name with new name, Email with new Email id and
add new Contact.
7. Click on submit button.
Expected result(s) Information must be edited.
Post-condition(s) User personal information updated.
Table 58-TC-19 View
Complaint Status
Identifier TC-20
Priority High priority
1. System must be running successfully.
2. User must be login successfully.
Related requirement(s)
3. User must open ‘Complaint Status’ page from ‘Complaint’
option from sidebar of user dashboard.
Related use-case(s) User working
User has registered a complaint and want to see complaint status
Short description so we applied testing to check whether user can successfully view
complaint status or not.
Page 141
1. ACS (Automated Complaint System) must be running
successfully.
Pre-condition(s) 2. User must login successfully.
3. Dashboard must be opened.
User click on ‘Complaint Status’ Option from drop down menu of
Input data
‘Complaint’.
1. User open UI successfully.
2. Navigate to User Login page (user must be registered before).
3. Enter valid CNIC, valid password, correct captcha and select
Detailed steps citizen role for login into dashboard.
4. Click on Complaint option from sidebar.
5. Select ‘Complaint Status’ option from dropdown menu of
‘Complaint’.
Expected result(s) Status must be viewed to user.
Status “PENDING CLEARENCE FROM Admin.....” has been
Post-condition(s)
shown to user.
Table 59-TC-20
Change Password
Identifier TC-21
Priority Low priority
1. System must be running successfully.
2. User must be login successfully.
Related requirement(s)
3. User must open ‘Change Password’ page from ‘User Options’
option from sidebar of user dashboard.
Related use-case(s) Citizen Manage Profile
Testing is applied to check whether user can successfully change
Short description
password or not.
1. ACS (Automated Complaint System) must be running
successfully.
Pre-condition(s) 2. User must log in successfully.
3. Dashboard must be opened.
4. Change Password page must be opened.
Input data User enters new password in change password field.
1. User open UI successfully.
2. Navigate to User Login page (user must be registered before).
3. Enter valid CNIC, valid password, correct captcha and select
citizen role for login into dashboard.
4. Click on User Options from sidebar.
Detailed steps 5. Select ‘Change Password’ option from dropdown menu of
‘Users Options’.
6. Write old password in old password field.
7. Write new password in New password and Confirm password
fields.
Page 142
8. Click on submit button.
Expected result(s) Password must be edited.
Post-condition(s) User’s password is updated.
Table 60-TC-21
Identifier TC-22
Priority Low priority
1. System must be running successfully.
2. User must be login successfully.
Related requirement(s)
3. User must open ‘Change Password’ page from ‘User Options’
option from sidebar of user dashboard.
Related use-case(s) Citizen Manage Profile
Testing is applied to check when user enter wrong new password
Short description in “Confirm password” field then either its password will be
updated or system will show an error.
1. ACS (Automated Complaint System) must be running
Pre-condition(s)
successfully.
2. User must log in successfully.
3. Dashboard must be opened.
4. Change Password page must be opened.
User enters correct old password, valid new password but wrong
Input data
new password in confirm password field.
1. User open UI successfully.
2. Navigate to User Login page (user must be registered before).
3. Enter valid CNIC, valid password, correct captcha and select
citizen role for login into dashboard.
4. Click on User Options from sidebar.
Detailed steps
5. Select ‘Change Password’ option from dropdown menu of
‘Users Options’.
6. User enters correct old password, valid new password but
wrong new password in confirm password field.
7. Click on submit button.
Expected result(s) Error must be shown to user.
Error of “Old Pass didn't matched or please type correct in retype
Post-condition(s) password!” is shown to user.
Table 61-TC-22
User’s Feedback
Identifier TC-23
Priority High priority
Related requirement(s) 1. System must be running successfully.
2. User must be login successfully.
Page 143
3. Complaint must be closed by relevant authority.
Related use-case(s) Citizen Feedback
User registered a complaint and when complaint’s processing has
been done and status is closed then user can give feedback in the
Short description
form of stars. Now we applied testing to check whether user can
easily give feedback or not.
1. ACS (Automated Complaint System) must be running
successfully.
Pre-condition(s) 2. User must log in successfully.
3. Messages option must be opened.
Input data User click on feedback button in messages page.
1. User open UI successfully.
2. Navigate to User Login page (user must be registered before).
3. Enter valid CNIC, valid password, correct captcha and select
Detailed steps
citizen role for login into dashboard.
4. Click on Feedback button.
5. Give feedback in the form of selecting stars from Rating.
Expected result(s) Feedback must be submitted.
Post-condition(s) Feedback has been submitted in the form of stars.
Table 62-TC-23
5.4.2 Test cases for Admin side:
Identifier TC-24
Priority High priority
1. Admin must have internet access.
2. System must be running successfully.
Related requirement(s) 3. Admin must be login successfully.
4. Notifications page must be opened.
5. Complaints must be stored in Notifications.
Related use-case(s) Admin transfer Complaints
User registered a complaint (against AC) and it has been viewed
to admin first. Now admin has authority to forward that complaint
Short description to relevant authority (DC) or to reject it on the basis of complaint
text. Here we applied testing to check when admin click on
forward button then either complaint is transferred to DC or not.
1. ACS (Automated Complaint System) must be running
successfully.
Pre-condition(s) 2. Admin must be login.
3. Notifications page must be opened.
Input data Admin click on top right Notifications button.
Page 144
1. Admin open UI successfully.
2. Navigate to User Login page.
3. Enter valid CNIC, valid password, correct captcha and select
Detailed steps Admin role for successfully login.
4. Click on Notifications button.
5. Click on View button.
6. Click on forward button.
Expected result(s) Complaint must be transferred to relevant authority.
Post-condition(s) System shows a message of “Forwarded to authorities”.
Table 63-TC-24
Admin reject a complaint
Identifier TC-25
Priority High priority
1. Admin must have internet access.
2. System must be running successfully.
Related requirement(s) 3. Admin must be login successfully.
4. Notifications page must be opened.
5. Complaints must be stored in Notifications.
Related use-case(s) Admin transfer Complaints
User registered a complaint (against AC) and it has been viewed to
Short description
admin first. Now admin has authority to forward that complaint to
relevant authority (DC) or to reject it on the basis of complaint
text. Here we applied testing to check when admin click on reject
button then either complaint is rejected or not.
1. ACS (Automated Complaint System) must be running
successfully.
Pre-condition(s) 2. Admin must be login.
3. Notifications page must be opened.
Input data Admin click on top right Notifications button.
1. Admin open UI successfully.
2. Navigate to User Login page.
3. Enter valid CNIC, valid password, correct captcha and select
Detailed steps Admin role for successfully login.
4. Click on Notifications button.
5. Click on View button.
6. Click on reject button.
Expected result(s) Complaint must be deleted.
Post-condition(s) System shows a message of “Deleted Successfully!”.
Table 64-TC-25
Admin Register new officer
Identifier TC-26
Priority High priority
Page 145
1. Admin must have internet access.
Related requirement(s) 2. System must be running successfully.
3. Admin must be login successfully.
Related use-case(s) Admin
Whenever new officer has been appointed (DC, AC, Tehsildar,
Naib Tehsildar, Gadawar, Patwari), a login must be given to new
Short description officer so that he/she can manage profile and handle incoming
complaints. We applied testing to check whether admin
successfully register new officer or not.
1. ACS (Automated Complaint System) must be running
successfully.
Pre-condition(s) 2. Admin must be login.
3. Admin options must be opened.
Admin first click on ‘Admin Options’ and then select ‘Register
Input data
Officer’ option from dropdown menu.
1. Admin open UI successfully.
2. Navigate to User Login page.
3. Enter valid CNIC, valid password, correct captcha and select
Admin role for successfully login .
Detailed steps
4. Admin first click on ‘Admin Options’ and then select ‘Register
Officer’ option from dropdown menu.
5. Registration form is opened and admin enters correct officer
details in form fields.
6. Click on register button.
Expected result(s) Officer must be registered.
Post-condition(s) Message of “Successfully Registered” is shown.
Table 65-TC-26
Page 147
1. DC open UI successfully.
2. Navigate to User Login page.
3. DC enters valid CNIC, valid password, correct captcha and
Detailed steps select Dc role for login .
4. Click on SIGN IN button.
5. Click on Active Complaints option from side bar.
6. Click on close button.
Expected result(s) Status of complaint must be closed.
User is able to give feedback which shows status of particular
Post-condition(s)
complaint is closed.
Table 67-TC-28
Identifier TC-29
Priority High priority
1. There should an internet access.
2. System must be running successfully.
Related requirement(s) 3. AC must be login successfully.
4. “Check incoming complaints” page must be opened.
Related use-case(s) AC Working
All complaints are shown to AC that are against to Tehsildar and
AC then accept complaints and send complaint message
Short description (complaint message is in the form of date) to user who file
complaint. We applied testing to check when AC accept a
complaint and write message then whether it is send to user or not.
Page 148
1. ACS (Automated Complaint System) must be running
Pre-condition(s) successfully.
2. “Check incoming complaints” page must be opened.
1. AC click on complaint’s accept button.
Input data 2. Write date on Dated box to send informational message to
user.
1. AC open UI successfully.
2. Navigate to User Login page.
3. AC enters valid CNIC, valid password, correct captcha and
select Ac role.
4. Click on SIGN IN button.
Detailed steps
5. Click on ‘Complaints’ option and then click on “Check
incoming complaints”.
6. Click on accept button.
7. Writes suitable date on Dated box.
8. Click on send button.
Expected result(s) Message must be shown to user.
Post-condition(s) Message has been sent to user.
Table 68-TC-29
Page 150
1. Tehsildar open UI successfully.
2. Navigate to User Login page.
3. Tehsildar enters valid CNIC, valid password, correct captcha
and select Tehsil role.
4. Click on SIGN IN button.
Detailed steps
5. Click on ‘Complaints’ option and then click on “Check
incoming complaints”.
6. Click on accept button.
7. Writes suitable date on Dated box.
8. Click on send button.
Expected result(s) Message must be shown to user.
Post-condition(s) Message has been sent to user.
Table 70-TC-31
Tehsildar close complaint status
Identifier TC-32
Priority High priority
1. Tehsildar must have internet access.
Related requirement(s) 2. System must be running successfully.
3. “Active complaints” page must be opened.
Related use-case(s) Tehsildar Working
After complete processing of complaint Tehsildar can close status
of complaint that is against to Naib Tehsildar, Gadawar and
Short description Patwari so that user can give feedback. We applied testing to
ensure the working of close status module when Tehsildar actually
close it.
1. ACS (Automated Complaint System) must be running
Pre-condition(s) successfully.
2. “Active complaints” page must be opened.
Input data AC click on Active Complaints option from side bar.
1. Tehsildar open UI successfully.
2. Navigate to User Login page.
3. Tehsildar enters valid CNIC, valid password, correct captcha
Detailed steps and select Tehsildar role for login .
4. Click on SIGN IN button.
5. Click on Active Complaints option from side bar.
6. Click on close button.
Expected result(s) Status of complaint must be closed.
User is able to give feedback which shows status of particular
Post-condition(s)
complaint is closed.
Table 71-TC-32
Identifier TC-34
Priority High priority
1. Tehsildar must have internet access.
2. System must be running successfully.
Related requirement(s) 3. Tehsildar must login successfully.
4. Tehsildar must open ‘File a Complaint’ page from ‘Complaint’
option from sidebar of user dashboard.
Page 152
Related use-case(s) Tehsildar Register Complaint
Testing is applied on Complaint form to check when Tehsildar
Short description leave Address and Complaine Text field empty then what
validation error will be shown by system to Tehsildar.
1. ACS (Automated Complaint System) must be running
successfully.
Pre-condition(s) 2. Tehsildar must log in successfully.
3. ‘File a Complaint’ page must be opened.
All other fields are filled except Address and Complaine Text
Input data
fields.
1. Tehsildar open UI successfully.
2. Navigate to User Login page (user must be registered before).
3. Enter valid CNIC, valid password, correct captcha and select
Tehsildar role for login into dashboard.
4. Click on Complaint option from sidebar.
Detailed steps
5. Select ‘File a Complaint’ option from dropdown menu of
‘Complaint’.
6. Fill all complaint fields except Address and Complaine Text
fields.
7. Click on ‘submit’ button.
Expected result(s) System must show a validation error to fill out field.
Post-condition(s) System shows a validation message of “Please fill out this field”.
Table 73-TC-34
Receive Informational Message
Identifier TC-35
Priority High priority
1. There should an internet access.
2. System must be running successfully.
Related requirement(s) 3. Tehsildar must be login successfully.
4. “Messages” page must be opened.
Related use-case(s) Tehsildar Working
Tehsildar can also file complaint against other AC so whenever
Tehsildar file complaint, complaint message and complaint status
Short description
has been send to Tehsildar. We applied testing to check whether
Tehsildar receives message or not.
1. ACS (Automated Complaint System) must be running
successfully.
Pre-condition(s) 2. Tehsildar must log in successfully.
3. Dashboard must be opened.
Input data Click on ‘Messages’.
Page 153
1. Tehsildar open UI successfully.
2. Navigate to User Login page.
3. Write valid CNIC, valid password, correct captcha and select
Detailed steps Tehsildar role.
4. Click on SIGN IN button.
5. Click on ‘Messages’ option.
File a Complaint
Page 154
Identifier TC-37
Priority High priority
1.Naib Tehsildar must have internet access.
2.System must be running successfully.
Related requirement(s) 3.Naib Tehsildar must be login successfully.
4.Naib Tehsildar must open ‘File a Complaint’ page from
‘Complaint’ option.
Related use-case(s) Employee Register Complaint
Testing is applied on Complaint form to check when Naib
Short description Tehsildar enter valid information in all form fields then complaint
will be registered.
1. ACS (Automated Complaint System) must be running
successfully.
Pre-condition(s) 2. Naib Tehsildar must be login successfully.
3. ‘File a Complaint’ page must be opened.
Input data Naib Tehsildar enter correct data in all fields.
1. Naib Tehsildar open UI successfully.
2. Navigate to User Login page (user must be registered before).
3. Enter valid CNIC, valid password, correct captcha and select
Naib Tehsildar role for login.
Detailed steps 4. Click on Complaint option from sidebar.
5. Select ‘File a Complaint’ option from dropdown menu of
‘Complaint’.
6. Fill all complaint fields with valid information.
7. Click on ‘submit’ button.
Expected result(s) Complaint must be registered.
Post-condition(s) System shows an alert of “Successfully Registered”.
Table 76-TC-37
Identifier TC-38
Priority High priority
Related requirement(s) 1. Naib Tehsildar must have internet access.
2. System must be running successfully.
Page 155
3. Naib Tehsildar must login successfully.
4. Naib Tehsildar must open ‘File a Complaint’ page from
‘Complaint’ option from sidebar of user dashboard.
Related use-case(s) Employee Register Complaint
Testing is applied on Complaint form to check when Naib
Short description Tehsildar leave Address and Complaine Text field empty then
what validation error will be shown by system to Naib Tehsildar.
1. ACS (Automated Complaint System) must be running
successfully.
Pre-condition(s) 2. Naib Tehsildar must log in successfully.
3. ‘File a Complaint’ page must be opened.
All other fields are filled except Address and Complaine Text
Input data
fields.
1. Naib Tehsildar open UI successfully.
2. Navigate to User Login page (user must be registered before).
3. Enter valid CNIC, valid password, correct captcha and select
Naib Tehsildar role for login into dashboard.
4. Click on Complaint option from sidebar.
Detailed steps
5. Select ‘File a Complaint’ option from dropdown menu of
‘Complaint’.
6. Fill all complaint fields except Address and Complaine Text
fields.
7. Click on ‘submit’ button.
Expected result(s) System must show a validation error to fill out field.
Post-condition(s) System shows a validation message of “Please fill out this field”.
Table 77-TC-38
Receive Complaint Message
Identifier TC-39
Priority High priority
1. There should an internet access.
2. System must be running successfully.
Related requirement(s) 3. Naib Tehsildar must be login successfully.
4. “Messages” page must be opened.
Related use-case(s) Employee Working
Naib Tehsildar can also file complaint against other officers so
whenever Naib Tehsildar file complaint, complaint message and
Short description
complaint status has been send to Naib Tehsildar. We applied
testing to check whether Naib Tehsildar receives message or not.
1. ACS (Automated Complaint System) must be running
Pre-condition(s)
successfully.
2. Naib Tehsildar must login successfully.
3. Dashboard must be opened.
Page 156
Input data Click on ‘“Messages” Option.
1. Naib Tehsildar open UI successfully.
2. Navigate to User Login page.
3. Naib Tehsildar enters valid CNIC, valid password, correct
Detailed steps captcha and select Naib Tehsildar role.
4. Click on SIGN IN button.
5. Click on ‘“Messages”’ option.
Page 157
File a Complaint
Identifier TC-41
Priority High priority
1.Gadawar must have internet access.
2.System must be running successfully.
Related requirement(s) 3.Gadawar must be login successfully.
4.Gadawar must open ‘File a Complaint’ page from ‘Complaint’
option.
Related use-case(s) Employee Register Complaint
Testing is applied on Complaint form to check when Gadawar
Short description enter valid information in all form fields then complaint will be
registered.
1. ACS (Automated Complaint System) must be running
successfully.
Pre-condition(s) 2. Gadawar must be login successfully.
3. ‘File a Complaint’ page must be opened.
Input data Gadawar enter valid data in all fields.
1. Gadawar open UI successfully.
2. Navigate to User Login page.
3. Enters valid CNIC, valid password, correct captcha and select
Gadawar role for login.
Detailed steps 4. Click on Complaint option from sidebar.
5. Select ‘File a Complaint’ option from dropdown menu of
‘Complaint’.
6. Fill all complaint fields with valid information.
7. Click on ‘submit’ button.
Expected result(s) Complaint must be registered.
Post-condition(s) System shows an alert of “Successfully Registered”.
Table 80-TC-41
Identifier TC-42
Priority High priority
Page 158
1.Gadawar must have internet access.
2.System must be running successfully.
Related requirement(s) 3.Gadawar must login successfully.
4.Gadawar must open ‘File a Complaint’ page from ‘Complaint’
option from sidebar of user dashboard.
Related use-case(s) Employee Register Complaint
Testing is applied on Complaint form to check when Gadawar
Short description leave Address and Complaine Text field empty then what
validation error will be shown by system to Gadawar.
1. ACS (Automated Complaint System) must be running
successfully.
Pre-condition(s) 2. Gadawar must log in successfully.
3. ‘File a Complaint’ page must be opened.
All other fields are filled except Address and Complaine Text
Input data
fields.
1. Gadawar open UI successfully.
2. Navigate to User Login page (user must be registered before).
3. Enter valid CNIC, valid password, correct captcha and select
Gadawar role for login into dashboard.
4. Click on Complaint option from sidebar.
Detailed steps
5. Select ‘File a Complaint’ option from dropdown menu of
‘Complaint’.
6. Fill all complaint fields except Address and Complaine Text
fields.
7. Click on ‘submit’ button.
Expected result(s) System must show a validation error to fill out field.
Post-condition(s) System shows a validation message of “Please fill out this field”.
Table 81-TC-42
Receive Informational Message
Identifier TC-43
Priority High priority
1. There should an internet access.
2. System must be running successfully.
Related requirement(s) 3. Gadawar must be login successfully.
4. “Messages” page must be opened.
Related use-case(s) Employee Working
Gadawar can also file complaint against other officers so whenever
Gadawar file complaint, complaint message has been send to
Short description
Gadawar. We applied testing to check whether Gadawar receives
message or not.
1. ACS (Automated Complaint System) must be running
Pre-condition(s)
successfully.
2. Gadawar must login successfully.
Page 159
3. “Messages” page must be opened.
Input data Click on “Messages” Option.
1. Gadawar open UI successfully.
2. Navigate to User Login page.
3. Write valid CNIC, valid password, correct captcha and select
Detailed steps Gadawar role.
4. Click on SIGN IN button.
5. Click on “Messages” option.
Page 160
5.4.8 Test cases for Patwari:
File a Complaint
Identifier TC-45
Priority High priority
1.Patwari must have internet access.
2.System must be running successfully.
Related requirement(s) 3.Patwari must be login successfully.
4.Patwari must open ‘File a Complaint’ page from ‘Complaint’
option.
Related use-case(s) Employee Register Complaint
Testing is applied on Complaint form to check when Patwari enter
Short description valid information in all form fields then complaint will be
registered.
1. ACS (Automated Complaint System) must be running
successfully.
Pre-condition(s) 2. Patwari must be login successfully.
3. ‘File a Complaint’ page must be opened.
Input data Patwari enter valid data in all fields.
1. Patwari open UI successfully.
2. Navigate to User Login page (user must be registered before).
3. Enter valid CNIC, valid password, correct captcha and select
Patwari role for login.
Detailed steps 4. Click on Complaint option from sidebar.
5. Select ‘File a Complaint’ option from dropdown menu of
‘Complaint’.
6. Fill all complaint fields with valid information.
7. Click on ‘submit’ button.
Expected result(s) Complaint must be registered.
Post-condition(s) System shows an alert of “Successfully Registered”.
Table 84-TC-45
Page 161
Identifier TC-46
Priority High priority
1.Patwari must have internet access.
2.System must be running successfully.
Related requirement(s) 3.Patwari must login successfully.
4.Patwari must open ‘File a Complaint’ page from ‘Complaint’
option from sidebar of user dashboard.
Related use-case(s) Employee Register Complaint
Testing is applied on Complaint form to check when Patwari leave
Short description Address and Complaine Text field empty then what validation
error will be shown by system to Patwari.
1. ACS (Automated Complaint System) must be running
successfully.
Pre-condition(s) 2. Patwari must log in successfully.
3. ‘File a Complaint’ page must be opened.
All other fields are filled except Address and Complaine Text
Input data
fields.
1. Patwari open UI successfully.
2. Navigate to User Login page (user must be registered before).
3. Enter valid CNIC, valid password, correct captcha and select
Patwari role for login.
4. Click on Complaint option from sidebar.
Detailed steps
5. Select ‘File a Complaint’ option from dropdown menu of
‘Complaint’.
6. Fill all complaint fields except Address and Complaine Text
fields.
7. Click on ‘submit’ button.
Expected result(s) System must show a validation error to fill out field.
Post-condition(s) System shows a validation message of “Please fill out this field”.
Table 85-TC-46
Receive Complaint Message
Identifier TC-47
Priority High priority
1. There should an internet access.
2. System must be running successfully.
Related requirement(s) 3. Patwari must be login successfully.
4. “Messages” page must be opened.
Related use-case(s) Employee Working
Patwari can also file complaint against other officers except DC so
whenever Gadawar file complaint, complaint message has been
Short description
send to Patwari. We applied testing to check whether Patwari
receives message or not.
Page 162
1. ACS (Automated Complaint System) must be running
Pre-condition(s)
successfully.
2. Patwari must login successfully.
3. “Messages” page must be opened.
Input data Click on ‘“Messages” Option.
1. Patwari open UI successfully.
2. Navigate to User Login page (user must be registered before).
3. Enters valid CNIC, valid password, correct captcha and select
Detailed steps Patwari role.
4. Click on SIGN IN button.
5. Click on “Messages” option.
Give Feedback
Identifier TC-1
Priority Low priority
1. Patwari must have internet access.
Related requirement(s) 2. System must be running successfully.
3. Patwari must login successfully.
Related use-case(s) Employee Feedback
Patwari registered a complaint and when complaint’s processing
Short description has been done then Patwari can give feedback. Now we applied
testing to check whether Patwari can easily give feedback or not.
1. ACS (Automated Complaint System) must be running
successfully.
Pre-condition(s) 2. Patwari must log in successfully.
3. “Messages” page must be opened.
Input data Messages page must be opened.
1. Patwari open UI successfully.
2. Navigate to User Login page (user must be registered before).
Detailed steps 3. Enters valid CNIC, valid password, correct captcha and select
Patwari role for login into dashboard.
4. Click on Feedback button.
5. Give feedback in the form of selecting stars from Rating.
Expected result(s) Feedback must be submitted.
Post-condition(s) Feedback has been submitted in the form of stars.
Table 87-TC-48
Page 163
5.5 Performance testing
Performance testing is a type of testing for determining the speed of a computer, network or
device. It checks the performance of the components of a system by passing different
parameters in different load scenarios. Keeping in view the performance requirements,
performance testing has been applied to Automated Complaint System to check response
time, load that ACS can handle and also apply stress testing to ensure the quality of system.
• Stress Testing
Stress Testing verifies the stability & reliability of the system. This test mainly
determines the system on its robustness and error handling under load conditions. So in
case of ACS when we apply load testing on system by registering complaints from
different logins the reliability of system does not effect as it shows proper validations
error and also navigate user from one page to another without taking much delay.
Page 164
Nobody can change record and valuable data except the admin. Sessions are used to
prevent the unauthentic use of any user’s personal information and complaint record. Also
user’s web browser not displaying a user’s password. It is always be echoed with special
characters representing typed characters.
5.7 Regression testing
Regression Testing is basically a full or partial selection of already executed test cases
which are re-executed to ensure existing functionalities work fine. This testing is done to
make sure that new code changes should not have side effects on the existing
functionalities. It ensures that the old code still works once the new code changes are done.
ACS also pass this test as we made test cases three times whenever we modify the code of
system. In all test cases Login, Registration and Complaint module is not effected by
addition of any other module.
Page 165
CHAPTER 6
TOOLS USED
6. Tools Used
a. Language/ Technologies
• PHP
• HTML
• CSS
• JavaScript
• JQuery
b. Applications
• Brackets Editor
• Xampp Server
c. Libraries
• Bootstrap library
Page 166
• Datatables.net
• Fontawesome library
Page 167
CHAPTER 7
SUMMARY & CONCLUSION
7. Summary and Conclusion
This section describes that the web-system runs successfully on the given system like laptops. The
web-system runs successfully and covers it’s all the modules in the system. It will be helpful in
registering all sorts of complaints against the officers of Revenue department, Punjab and related to
all the land related issues. The citizens will just have to sign up to start registering complaints
online. All the manual work would be eliminated. In future, we will enhance its features and make
this websystem more efficient for the use of citizens. It will be installed and made for all other
districts as well so no any district remain un-computerized for registering complaints for Revenue
Department. The Automated Complaint System allows people to register complaints in a more
convenient way, by using available resources which could facilitate the complainers during filing
complaints. Its main purpose is to convert the Revenue Department free from negative aspects
such as bribery and corruption. The integration of the system to the Revenue System will provide
an efficient way to do their all tasks, free of fraud, free of corruption and bribery and to make the
system more trustable, fair and fast. The use of CNIC deepens the process of ensuring – one man,
one login portal – is fully enforced. The project will provide immense benefit to Sialkot as it
protects and secures the integrity of the complaints registration, reduces administrative work, and
improves the creditability rating which subsequently strengthens internal democracy and trust
among the complainers.
Page 168
CHAPTER 8
USER MANUALS
8. User Manual
Admin Dashboard
Page 169
FIGURE-99: Admin Dashboard
Admin Profile
Page 170
Admin
View Notification
Page 171
Admin
Forward Complaints
Page 172
Admin
View User
Page 173
User Dashboard
User Dashboard
Page 175
FIGURE-108: User Register Complaint User
Complaint Status
Page 176
FIGURE-110: User Message Page
Page 177
FIGURE-111: User Feedback Page
DC Dashboard
FIGURE-112: DC Dashboard
DC Profile Page
Page 178
FIGURE-113: DC Profile
Page 179
FIGURE-114: DC Incoming Complaint Page
Page 180
FIGURE-115: DC Send Message
AC Dashboard
Page 181
FIGURE-116: AC Dashboard
AC Profile Page
FIGURE-117: AC Profile
Messages Page
Page 182
FIGURE-118: AC Received Message
Tehsildar Dashboard
Page 183
FIGURE-120: Tehsildar Profile
Page 184
FIGURE-122: Naib Tehsildar Profile
Patwari Dashboard
Page 185
FIGURE-124: Patwari Profile
Page 186
CHAPTER 9 LESSONS
LEARNT AND
FUTURE WORK
9. Lessons Learnt and Future Work
Lessons Learnt:
As every aspect of life teaches some lessons during the passage of time. Similarly this project did
too. During this project development, we learnt so many things and experienced a lot of stuff.
Lessons which we learnt were about:
• Time Management
• New Technologies/Languages
• Team coordination
• Many new software engineering concepts
• Decision Making
• Meeting deadlines etc
Future Work:
In Future a lot of improvements can be made to this project, to enhance the usability and
functionality of automated complaint system.
In future, it will be helpful in registering all sorts of complaints against/to the officers of Revenue
department, Punjab and related to all the land related issues. The citizens will just have to sign up
to start registering complaints online. All the manual work would have been eliminated. In future,
we will enhance its features and make this web-system more efficient for the use of citizens. It
will be installed and made available for all other districts as well so no any district remain
uncomputerized for registering complaints for Revenue Department. Also, the modules of
divisional based officers and members of Revenue Department will also be added in the system so
that the copies of result could be transferred to them.
Page 187
APPENDIX A
PROJECT MANAGEMENT
DOCUMENTS
Page 188
Appendix A: Project Management Documents
a. Team Structure
XXXXXXX
XXXX X XXXXXXXXXX XXXXXXXXX
XXXXXXXXX XXXXXXXX XXXXXXXX
---------
-----------
Managing and Documenting
----------- Developer
-------
---------- Testing
---------
-------
Project Supervisor
Prof. _______
c. WBS (Work Breakdown Structure)
Page 189
Following is the Work Breakdown Structure that we used to organize our work into manageable
sections.
d. PERT Diagram
Following is the Program Evaluation Review Technique Chart which we used to schedule, organize,
and coordinate tasks within our project.
Page 190
FIGURE 130: PERT Diagram
e. Scope Statement
Project Scope Statement
Project Name Automated Complaint System [Revenue
Department]
Project Supervisor Prof. ----------------
Date Of Project Approval 05-Dec-2018
Scope Description This is Automated complaint system for Revenue
Department that provides the facility to the public to
register complaints about various issues in their areas
regarding land taxation, land revenue etc. People can
just log in and register a complaint online. Provide
information about issue, check the status of
complaints and give the feedback regarding it. This
web system is Tehsil based system that gets
complaints from citizens of a specific Tehsil
(Currently we are dealing with Sialkot Tehsil only).
Page 191
Constraints GUI is only in English
this system is working for single server.
The computers must be equipped with
web browsers to use the system.
Page 192
Project Deliverables It will provide a platform to public to register their
complaints online instead of registering manually.
f. Project Charter
Project Charter
Project Name “AUTOMATED COMPLAINT SYSTEM”
[Revenue Department, Punjab]
Project Description The automated complaint system(ACS) provides way to solve public’s
land related problems and issues easily, on district level, by registering
online complaints, tracking the status of the complaint and giving the
feedback related to the solved issues and complaints. This system acts
as an interface between the public and Deputy Commissioner (DC).
The Intention for creating ACS is to simplify the process of registering
complaints and making it quicker and cheaper.
Project Supervisor Prof. ------------- Date Approved 05-Dec-2018
Signature
Risk and Constraints Expected Goals
• There will be a ris k that people who don’t • The goal of ACS is to provide a platform
have any kno wledge about online to public to register their complaints online
registration might not use our system instead of registering manually.
especially the pe ople of rural areas of • System’s goal is to provide public a
Punjab. friendly user-interface and a secured
• One of the obstacl e will be the training of platform for recording complaints.
the employees of the department as they • Goal is to save the time of citizens so they
are not well trained computer users and don’t have to visit the complaint cell
the cost of computer systems and internet personally.
devices would incr ease govt.’s budget. • Major goal is to abolish corruption.
• Employee resistan ce can also be a risk.
• GUI is only in Eng lish.
• The computers mu st be equipped with
web browsers to use the system.
• The system sha ll run on Windows
Operating System.
• Server must have greater than 500 MB
storage space and Hard disk greater than 1
GB.
Team Members Milestones
Name Role Activities Weeks
Page 193
Requirement Elicitation 1 Weeks
Page 194
UML Diagrams 2 Week
Interface Design 1 Week
ABC Group Member Testing 3 Week
Requirement Analysis 2 Week
Managing and Documentation 5 Week
XYZ Group Member
Coding 6 Weeks
Database Design 2 Weeks
UML Diagrams 2 Weeks
Coding 6 Weeks
LMN Group Member
Database Design 2 Weeks
Testing 3 Weeks
g. Meetings Summary
Page 176
Page 196
APPENDIX B
Page 197
BIBLIOGRAPHY /
REFRENCES
Page 198
APPENDIX C INDEX
Page 199
Index 182, 187, 188 complaints, iii, 2, 3, 5, 6, 7,
10, 11, 26, 28, 29,
32, 35, 38, 40, 42, 43, 44, 46, 47, 48, 50, 51,
57, 58, 134, 135, 136, 137, 138, 139, 154,
159, 182, 187, 188
A Constraints, vi, 13, 187, 188
AC, vii, viii, ix, x, xi, 8, 9, 10, 14, 24, 26, 32, Corruption, 7
33, 34, 40, 41, 42, 43, 62, 78, 79, 80, 81, 87, D Data
88, 89, 90, 91, 124, 132, 133, 134, 136, 137, Flow diagrams, vi
138, 139, 142, 175, 176 Database, vi, x, 14, 60, 112, 188
Activity Diagram, vi, x, 68, 69 DC, vii, viii, ix, x, xi, 5, 8, 10, 14, 24, 26, 29,
Admin, vii, viii, ix, x, xi, 7, 10, 24, 25, 26, 27, 30, 31, 32, 61, 64, 75, 76, 77, 78, 132, 133,
28, 29, 61, 64, 71, 72, 73, 74, 115, 129, 132, 134, 135, 136, 152, 172, 173, 174, 188
133, 134, 161, 162, 163, 164, 165 authority,
iii, 2, 5, 10, 14, 26, 28, 131, 132, 133, 187 Deputy Commissioner, 5, 8, 14, 24, 61, 134,
Automated, i, ii, iii, 7, 11, 13, 14, 108, 113, 188
116, 117, 118, 119, 121, 122, 123, 124, 125, Design, vi, x, 13, 60, 110, 188
126, 127, 128, 129, 130, 131, 132, 133, 134, E
135, 137, 138, 139, 140, 141, 142, 143, 144,
145, 146, 147, 148, 149, 150, 151, 152, 153, ERD, vi, 61, 64, 65 experience,
154, 159, 186, 187 7
Automated Complaint System, i, ii, iii, 7, 11, F
13, 14, 108, 113, 116, 117, 118, 119, 121, feedback, iii, 3, 6, 7, 10, 15, 28, 42, 43, 46, 50,
122, 123, 124, 125, 126, 127, 128, 129, 130,
57, 58, 111, 131, 132, 135, 136, 138, 139,
131, 132, 133, 134, 135, 137, 138, 139, 140,
140, 143, 146, 149, 150, 153, 187, 188
141, 142, 143, 144, 145, 146, 147, 148, 149,
Feedback, vii, ix, x, xi, 3, 7, 8, 9, 42, 46, 50,
150, 151, 152, 153, 154, 159, 186
57, 63, 64, 89, 90, 94, 95, 98, 99, 105, 106,
B 110, 111, 115, 131, 132, 142, 143, 146, 149,
Bibliography, vi, 193 150, 153, 170, 171
Functional, vi, 7, 193
C
citizens, iii, 3, 6, 7, 159, 182, 187, 188 closed, G
6, 7, 10, 31, 33, 36, 42, 46, 50, 57, 131, 136, Gadawar, iii, viii, xii, 8, 9, 10, 14, 24, 26, 62,
138, 140, 187 134, 138, 139, 147, 148, 149, 150, 152, 178,
CNIC, 9, 10, 14, 25, 29, 32, 35, 38, 40, 44, 48, 179
53, 116, 117, 118, 119, 120, 121, 122, 123,
124, 125, 126, 127, 128, 129, 130, 131, 132, I
133, 134, 135, 136, 137, 138, 139, 140, 141, Introduction, vi, 2, 108, 109
142, 143, 144, 145, 146, 147, 148, 149, 150,
151, 152, 153, 159 complainant, 3, 5, 6, 10, L
11, 30, 31, 33, 34, 36, land, iii, 2, 7, 14, 159, 182, 187, 188
37, 134, 135, 136, 138, 140, 187 Languages, vi, 182 Lessons,
complainants, iii, 24 Complainer, 7 vi, 182
complaint, iii, 2, 3, 5, 6, 7, 10, 11, 12, 13, 14, login, iii, 6, 9, 10, 11, 12, 25, 27, 28, 29, 31, 32,
15, 24, 26, 28, 30, 31, 33, 34, 36, 37, 39, 41, 34, 35, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
43, 45, 47, 49, 51, 56, 58, 60, 111, 115, 116, 47, 48, 49, 50, 51, 53, 54, 56, 57, 111, 115,
127, 128, 129, 131, 132, 133, 134, 135, 136, 122, 123, 124, 125, 126, 127, 128, 129, 130,
137, 138, 139, 140, 141, 142, 143, 144, 145, 131, 132, 133, 134, 135, 136, 138, 140, 141,
146, 147, 148, 149, 150, 151,152, 153, 154, 142, 143, 144, 145, 146, 147, 148, 149, 150,
151, 152, 153, 154, 159, 187 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
M 100, 101, 102, 103, 104, 105, 106 sign up, iii,
10, 159, 182 Software, vi, ix, 12, 14, 15, 109,
manually, iii, 5, 187, 188 113, 193 status, iii, 3, 6, 7, 10, 30, 31, 32, 33,
Meetings Summary, vi, 189 34, 36, 37,
N Non- 43, 47, 51, 58, 111, 129, 131, 135, 136, 137,
Functional, 193 138, 139, 140, 142, 145, 154, 187, 188
system, iii, 2, 5, 6, 7, 10, 11, 12, 13, 14, 15, 24,
O 25, 60, 62, 64, 68, 70, 71, 108, 109, 112,
office, 5, 12 114, 117, 119, 120, 121, 122, 123, 124, 125,
officers, iii, 12, 24, 62, 145, 149, 152, 154, 159, 126, 127, 130, 141, 145, 148, 151, 153, 154,
182, 187 online, iii, 5, 6, 159, 155, 159, 182, 187, 188
182, 187, 188 T
P tehsil, iii
password, 9, 10, 12, 25, 29, 32, 35, 38, 40, 44, Tehsil, 5, 7, 14, 139, 187
48, 53, 55, 118, 122, 123, 124, 125, 126, Tehsildar, iii, vii, viii, ix, x, xi, xii, 8, 9, 14, 24,
127, 128, 129, 130, 131, 132, 133, 134, 135, 26, 35, 36, 37, 44, 45, 46, 47, 62, 81, 82, 83,
136, 137, 138, 139, 140, 141, 142, 143, 144, 84, 85, 91, 92, 93, 94, 95, 96, 134, 136, 138,
145, 146, 147, 148, 149, 150, 151, 152, 153, 139, 140, 141, 142, 143, 144, 145, 146, 176,
155 177, 178
Patwari, iii, viii, xii, 8, 9, 10, 14, 24, 26, 62, Test Cases, vi, vii, viii, 116
134, 138, 139, 150, 151, 152, 153, 179, 180 Testing, vi, 108, 109, 112, 113, 114, 115, 116,
people, 5, 6, 64, 159, 187, 188 117, 118, 119, 120, 121, 122, 123, 124, 125,
PHP, 13, 14, 157, 193 126, 127, 128, 130, 140, 141, 143, 144, 147,
Problem, vi, 2 148, 150, 151, 154, 155, 184, 188, 193
Tools, vi, 157
R
U
References, vi, 193
register, iii, 2, 3, 5, 6, 7, 10, 11, 13, 27, 41, 43, Use Case, vi, vii, ix, x, 24, 25, 26, 27, 28, 29,
45, 47, 49, 51, 56, 58, 116, 126, 134, 159, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
187, 188 relevant authority, 5, 10, 132, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
133 Revenue, i, ii, iii, 2, 5, 6, 7, 12, 14, 24, 54, 55, 56, 57, 58
154, User Manual, vi, xi, 161
159, 182, 186, 187, 188
V
S Vice Tehsildar, iii
Security, vi, 12, 154
Sequence Diagram, x, xi, 71, 72, 73, 74, 75, 76, W
77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, WBS, vi, xii, 185 web-system,
iii, 159
Page 201