Professional Documents
Culture Documents
Developed By
Kainat Niazi
3122-FBAS/BSSE/F16
Bushra Amjad
3041-FBAS/BSSE/F16
Supervised By
Panel 3
Final Approval
It is certified that we have read the project report submitted by Kainat Niazi(3122-
FBAS/BSSE/F16/B) and Bushra Amjad(3041-FBAS/BSSE/F16/B) and it is our judgment
that this project is of sufficient standard to warrant its acceptance by the International Islamic
University, Islamabad for the BS degree in Software Engineering.
Dated: __________________
COMMITTEE
1. External Examiner
2. Internal Examiner
3. Supervisor
Panel 3
DCS&SE, FBAS IIUI
PharmEase iii
Abstract
ABSTRACT
Digital Health is the future of healthcare system. “Pharmease” is a system designed primarily
for customer and pharmacies. We have seen that a small number of Pharmacies are now
online in terms of providing the medicines but it is observed that these systems are not
allowing the user/ customer to search the nearby pharmacies or to find which pharmacy have
their required medicine. This system is beneficial in terms of locating the nearby pharmacies
or searching pharmacies according to the medicines and also in handling the order requests.
The objective is to design a system to answer all those queries that remain unanswered
before, that resulted in loss of time and human effort. Pharmease consist of a mobile
Application along with the Web Application for administrative support. It allows the users to
find all nearby pharmacies according to their current location, search a specific pharmacy by
entering either a medicine or pharmacy name and placing an order directly. If the user places
an order he will be notified about the progress of order through push notifications.
Pharmease reduces manual work and work load of users and administration, it saves time
which can be used in some other productive way. Today management is one of the most
essential features of all form. Management provides an ease to perform any kind of task in a
system provided.
PharmEase iv
Acknowledgement
ACKNOWLEDGEMET
My deepest gratitude goes to Allah Almighty who has provided all that was needed to
complete this project and the program for which it was undertaken for. Throughout this entire
degree, He took care of everything that would have stopped me in my ways and strengthened
me even through my most difficult times.
Our greatest regard also goes to our parents for their support, prayers and their love that leads
us to be the person who we are today. who thoroughly laid the foundation for our education
giving it all it takes. We are and will forever be grateful to them who has given everything
possible and even given up important things to make sure we achieve this feat. If it wasn’t for
them, we could not be able to stand firm in our lives. They are the only reason that we work
hard because we always want to make them proud.
We would like to express our gratitude to our kind Teachers for giving us support and
providing us the opportunity to learn and enhance our knowledge.
Kainat Niazi
3122-FBAS/BSSE/F16/B
Bushra Amjad
3041-FBAS/BSSE/F16/B
PharmEase v
Dedication
DECLARATION
I hereby declare that this system neither as a whole nor as a part has been copied out from any
source. It is further declared that I have developed this system entirely on the basis of my
personal efforts and learning made under the sincere guidance of my teachers and supervisor.
If any part of this report is proved to be copied out or found to be reported, I shall stand by
the consequences. No portion of the work presented in this report has been submitted in
support of any application for any other degree or qualification of this or any other university
or institute of learning.
Kainat Niazi
3122-FBAS/BSSE/F16/B
Bushra Amjad
3041-FBAS/BSSE/F16/B
PharmEase
vii
Dedication
DEDICATION
We dedicate this project especially to our Mama, Baba and rest of our family members who
are always been very supportive during this project and during our whole degree as well and
to each other because it would have been very difficult in this pandemic without having
someone who always have your back and also to all those who ever prayed for our success.
A special thanks to each other for being there throughout this entire program.
PharmEase
vii
Dissertation
DISSERTATION
BS in Software Engineering
PharmEase
viii
Project in Brief
PROJECT IN BRIEF
Mobile Application
Tools Languages Database Technologies
PharmEase
ix
Table of Contents
Table of Contents
4
4
4
4
4
4
6
10
14
10
10
10
10
11
11
11
11
11
11
11
11
11
11
11
11
12
12
12
12
12
12
12
12
12
PharmEase
xi
Table of Contents
12
12
12
12
12
12
12
13
13
13
13
13
13
13
13
13
13
13
13
13
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
14
PharmEase
xi
Table of Contents
14
14
14
14
15
15
15
15
15
16
16
16
16
17
17
18
18
18
19
19
20
21
22
23
23
20
31
34
42
42
47
52
59
60
76
PharmEase
xi
Table of Contents
77
77
77
77
77
77
77
77
77
78
78
80
88
89
89
89
94
96
100
101
101
102
103
121
PharmEase
xi
Chapter 1
INTRODUCTION
Chapter 1 Introduction
1. Introduction
Digital Health is the future of healthcare system. Legitimate mail-order pharmacies are
somewhat similar to community pharmacies, one primary difference is the method by which
the medications are requested and received. Some customers consider this to be more
convenient than traveling to a Pharmacy, in the same way as ordering goods online rather
than going to a shop
Starting an Online Pharmacy is a wonderful way to serve Customers with Right Medicine on
time. Through this Business, you are nothing but bringing smiles to people’s faces as you are
indirectly caring health of Customers. It’s a best opportunity as everyone wants to live
healthy.
An Application is needed through which you can check
Which Pharmacies are near our current locations.
Is the medicine we are looking for available on that pharmacy or not.
Also allows users to select from their local Pharmacies and are able to place orders via
their mobile application.
A solution is intended to develop a platform that will solve all the above-mentioned problems
by finding Pharmacies near us and searching on which store our desired medicine is available.
This Application will be used by
Customers (Mobile App)
Pharmacy operators (Web portal).
1.2 Scope
PharmEase is a Mobile based application along with a Web portal. Its main aim is to simplify
and improve the efficiency of locating the medicines on different pharmacies by visiting each
one, minimize manual handling of record for Pharmacist and Admin and ensure data accuracy
and security during order placement process. Clients will be able locate medicines or nearby
PharmEase
2
Chapter 1 Introduction
pharmacies according to their locations through Mobile App. Client will be able to place an
order in case if he does not want to visit the Pharmacy by himself. Pharmacy is able to
maintain the record of their medicines or Pharmacists and handle the orders places by the
customers through our Pharmease Mobile Application. The ultimate scope is to save time and
human effort. By this whole automated process, there is no need
To move from pharmacy to pharmacy to find a medicine
Asking from people about the nearby pharmacies
Manually maintain the record of medicines and products
Handling the orders manually by phone calls or any other medium
Order Tracking
Online Payment
Distance Calculation
1.3 Overview
Digital Health is the future of healthcare system. Legitimate mail-order pharmacies are
somewhat similar to community pharmacies, one primary difference is the method by which
the medications are requested and received. Some customers consider this to be more
convenient than traveling to a community pharmacy, in the same way as ordering goods
online rather than going to a shop.
Nearly everyone goes on a pharmacy and a PharmEase application would play an important
role in giving users the relaxation of visiting the pharmacies. Customer will have an option to
place order directly through the Application without even visiting the Pharmacy.
Pharmacists will be able maintain the record of all medicines and orders
PharmEase
3
Chapter 1 Introduction
Admin will be able to look after all the activity going on through the whole system
1.4 Objectives
The proposed system aims to facilitate the administration, pharmacists and users (Customers)
in order to save their effort on manual work. We are providing them facility to save time and
human effort.
The problem of People are not able to know their required medicines
are available on which pharmacy without visiting and
which Pharmacies are near to their current location.
PharmEase
4
Chapter 1 Introduction
a successful solution would A simple, mobile application with a low learning curve
be along with a Web Application for Administration
purpose that can be easily used by anyone.
The product would provide users with means of
finding Pharmacies near them and searching on
which pharmacy their desired medicine is available.
Customer will also have an option to place order
directly through the Application without even
visiting the Pharmacy.
Table 1 Problem statement
PharmEase
5
Chapter 2
BASIC CONCEPTS
Chapter 2 Problem Analysis
PharmEase
Chapter 2 Problem Analysis
Modules / Roles
The system after careful analysis has been identified to be presented with the following
modules and roles.
A user is the one who will actually interact with the Mobile Application.
A moderator is considered as a single Pharmacy (Web Portal) who can manage his
own products. Moderators can reduce the work load of Admin (super user).
Moderator has all the privilege an Admin have, except managing other Moderators.
2.4.3 Administrator
The administrator is the super user of this application. Only admin have access into this
admin side. The administrator has all the information about all the Moderators, users and all
products.
The process followed for this project is research and development. The reason behind
choosing this process is that the features we introduced was totally new to work on, in field of
online business. New technique is also followed to review the project requirements and
accept the changes needed after each module is developed. The main goal is to ensure the
production of high-quality software that meets the user needs.
way. Some of the major requirements for operating this system “PharmEase” are as
following:
PharmEase
Chapter 3
PROBLEM ANALYSIS
Chapter 3 System Analysis
User can register himself in the application by adding email and password or through google
authentication and Facebook authentication.
View nearest Pharmacies according to the location in a certain area graphically on the Map.
PharmEase
Chapter 3 System Analysis
User have to add prescription at the time of placing order so that the Pharmacist or Admin can
check the authenticity of the medicines requested otherwise the request will not be considered
or it is rejected.
3.2.6. Order Placement
User will be able to place an order for medicine. In this module, management of cart will be
done. This module will add the bought item to the cart, where all items that are to be
purchased can be reviewed once again after the item is bought from the cart.
3.2.7. Cart Management
Add the desired product into the cart.
View cart.
Remove an item from the cart.
3.2.8. Amount Calculation
After adding the products in the cart, amount will be calculated and displayed to the user so
that user know how much he have to pay in case if he confirms order.
3.2.9. Notification
User will receive notification when pharmacist will update the order status.
3.2.10. Feedback
In the last step, if user will cancel the order then system will ask for feedback, why he cancels
order or so.
3.2.11. Payment
Payment will be done on Delivery of the items after verifying the prescription.
3.2.12. Settings
3.2.13. Sign out
PharmEase
Chapter 3 System Analysis
The system will have a Graphical User Interface to enhance look and feel of the application
and to provide usability. All pages of the system will follow consistent layout and clear
structure. The amount of text input from user would be minimized through the use of
checkboxes which will also reduce the occurrence of errors.
PharmEase
Chapter 3 System Analysis
System Dell, core i3, 3rd generation with Dell, core i3, 3rd generation with
8GB RAM. 8GB RAM.
Tools Android Studio 3.6.3, SDK, Visual Studio Code, Firebase
Android ADT, Firebase
Language Kotlin, Java PHP, JavaScript
Table 3 Design and Implementation Constraints
3.4.1.1. Registration
3.4.1.2. Nearest Pharmacies
3.4.1.3. Medicine Search
3.4.1.4. Add Prescription
3.4.1.5. Order Placement
3.4.1.6. Amount Calculation
3.4.1.7. Payment (Cash on Delivery)
3.4.1.8. Notifications
3.4.1.9. Login and profile Management
3.4.1.10. Sign Out
3.4.2. Pharmacist
3.4.2.1. Registration/ Login/ sign-out
3.4.2.2. Add/ Remove / Edit products
PharmEase
Chapter 3 System Analysis
3.4.3. Admin
3.4.3.1. Login/ sign-out
3.4.3.2. Add/ Remove / Edit Products
3.4.3.3. Add/ Remove / Edit Pharmacy
3.4.3.4. Add/ Remove / Edit Pharmacist
3.4.3.5. Add/ Remove / Edit Customers
3.4.3.6. Add/ Remove / Edit Order
3.4.3.7. Handle Order Request
3.4.3.8. Invoice generation
3.5.1 Reliability
The capability to maintain the specified level of performance is what meant by reliability.
This application will run on any android phone.
3.5.2 Availability
The application will run 24 X 7 if internet connection is available.
3.5.3 Usability:
The interface is easy to understand and user can easily navigate within application
3.5.4. Security
Security requirements placed restrictions on the use of this application by the Pharmacist and
the Admin. Control access to the data, provide different kinds of Interfaces to different users,
require the use of passwords. It requires proper programming techniques. Total privacy
PharmEase
Chapter 3 System Analysis
indeed login security and data security. Security for the PharmEase includes authentication,
access control, data integrity, and data privacy.
3.5.5. Maintainability
Maintenance is one form of change that typically is done after the software development has
been completed. As the time change, so do the needs. It revolves around the understanding of
the existing s/w and the effects of the change. This application needs a timely updating of
information table of the database by the admin. Any other feature as per the requirement can
be added any time by the admin.
3.5.6. Portability
The capability adapted for different specified environments without applying actions or
means other than those provided for this purpose in the product. Since, phones are portable,
so do the application.
The system should work according to the design and requirements of the user. The system
should give fast response to user.
3.5.8. Responsiveness
The system should have performed all the tasks with fewer touches in fewer seconds or
instantaneous with user touch.
Pharmac
Table 4 Product Position Web application
Statement Uses application to maintain Self
ist end user record of pharmacy and manage
orders.
Table 6 User summary
Pharmease is a mobile application with web portal support used by customers and
pharmacists, regardless of their age, gender or educational background. The users access this
PharmEase
Chapter 3 System Analysis
application remotely. Remote access is wireless (cell phone). This application support
Android OS from 4.1(Ice-cream sandwich) to Android 10 version.
Pharmacist
PharmEase
Chapter 3 System Analysis
PharmEase
Chapter 3 System Analysis
Normally there is a tradition to visit the Pharmacy manually and ask for the certain medicine,
but in some cases, Pharmacy is running short of those medicines which are required. So, the
customer has to go to other Pharmacies in search of that medicine without knowing exactly
on which Pharmacy he will be successful to find that item and which pharmacies are near or
in that area. So, the it has following drawbacks or disadvantages. It is Time consuming –
searching takes a lot of time and another drawback is Cost consuming as it is not in reach of
distant users.
As the world is growing, development and technology industry is expanding too. Mobile
applications are easy to use so the thought for building up this application is to provide a
solution is intended to develop a platform that will solve all the problems by finding
Pharmacies near us and searching on which store our desired medicine is available.
A use case diagram shows the interaction between the system and entities external to the
system. These external entities are referred to as actors. Actors represent roles which may
include human users, external hardware or other systems. A use case is a single unit of
Use case diagram of Pharmease consist of 3 actors and fourteen use cases. Each use case is
linked with any of the three actors. It described the interaction between the system and actors.
PharmEase
Chapter 3 System Analysis
The use case diagram of Web App for Pharmacist is shown in figure 4.2
PharmEase
Chapter 3 System Analysis
PharmEase
Chapter 3 System Analysis
The use case diagram of Web App for Admin is shown in figure 4.3
PharmEase
Chapter 3 System Analysis
User/ customer
Registration
Social Media Login
Nearest Pharmacies
Medicine Search
Add Prescription
Order placement and Transaction
Amount Calculation
Notifications
Login and Profile Management
Feedback
Settings
Help
Sign Out
Pharmacist
Registration/Login/Sign Out
Add/Remove/Edit Products
Handle Order Request
Order Status Updation
Invoice Generation
Admin
Login/Sign Out
Search
Add/Remove/Edit Products
Add/Remove/Edit Pharmacies
Add/Remove/Edit Pharmacists
Add/Remove/Edit Customers
Add/Remove/Edit Orders
Handle Order Request
Invoice Generation
PharmEase
Chapter 3 System Analysis
3.11.1. Sign up
UC-001 Sign Up
Scope PharmEase
Primary Actor Customer, Pharmacist
Stakeholder and Interests User wants to signup
3.11.2. Login
UC-002 Login
Scope PharmEase
Primary Actor Customer, Pharmacist, Admin
Stakeholder and Interests User wants to login
Preconditions: Sign up
Success Guarantee/ Post Conditions: Logged in successfully
Main Success Scenario
Actor’s Action and Intention System Responsibility
1. User log in into application by
PharmEase
Chapter 3 System Analysis
Frequency Medium.
PharmEase
Chapter 3 System Analysis
PharmEase
Chapter 3 System Analysis
Frequency Medium.
Non-Functional Requirements Security, Performance.
Table 15 Use case for searching pharmacy
Preconditions: Login
Success Guarantee/ Post Conditions: Product added successfully.
Main Success Scenario
Actor’s Action and Intention System Responsibility
1. User selects add option.
Frequency: Medium.
PharmEase
Chapter 3 System Analysis
Preconditions Login
Success Guarantee/ Post Conditions Product removed successfully.
Frequency Medium.
Non-Functional Requirements Security, Performance, Serviceability.
Table 17 Use case for Removing item from cart
Preconditions Login.
Success Guarantee/ Post Conditions Profile maintained successfully/
Frequency Medium.
Non-Functional Requirements Security, Performance, Reliability.
Table 17 use case for fetching data for profile
PharmEase
Chapter 3 System Analysis
Scope PharmEase
Primary Actor User
Stakeholder and Interests User wants to add prescription of successful
placement of order.
Preconditions Cart should be maintained.
Success Guarantee/ Post Conditions: Add prescription successfully.
PharmEase
Chapter 3 System Analysis
2. Upload prescription.
Frequency Medium.
Preconditions Login
Success Guarantee/ Post Conditions Product added successfully.
PharmEase
Chapter 3 System Analysis
Scope PharmEase
Primary Actor Pharmacist
Stakeholder and Interests Pharmacist wants to remove product.
Preconditions: Login
Success Guarantee/ Post Conditions: Product removed successfully.
Preconditions: Login
Success Guarantee/ Post Conditions: Moderator added successfully.
PharmEase
Chapter 3 System Analysis
Preconditions Login
Success Guarantee/ Post Conditions Moderator removed successfully.
Frequency Medium.
Non-Functional Requirements Security, Performance.
Table 23 Use case for removing pharmacist
PharmEase
Chapter 3 System Analysis
Preconditions Login
Success Guarantee/ Post Conditions Moderator updated successfully.
Frequency Medium.
Preconditions Login
Success Guarantee/ Post Conditions User added successfully.
Main Success Scenario
Actor’s Action and Intention System Responsibility
1. Admin clicks add option.
PharmEase
Chapter 3 System Analysis
Frequency Medium.
Non-Functional Requirements Security, Reliability.
Table 25 Use case to add user
Preconditions: Login
Success Guarantee/ Post Conditions: User removed successfully.
Preconditions Login
Success Guarantee/ Post Conditions User updated successfully.
PharmEase
Chapter 3 System Analysis
Preconditions Login
Success Guarantee/ Post Conditions Products added successfully.
PharmEase
Chapter 3 System Analysis
Preconditions Login
Success Guarantee/ Post Conditions Product removed successfully.
Main Success Scenario
Actor’s Action and Intention System Responsibility
1. Admin clicks remove option.
Preconditions Login
Success Guarantee/ Post Conditions Product updated successfully.
Main Success Scenario
Actor’s Action and Intention System Responsibility
1. Admin clicks edit option.
PharmEase
Chapter 3 System Analysis
Frequency Medium.
Non-Functional Requirements Security, Performance, Usability.
Table 30 Use case for editing the medicine info
Preconditions Login
Success Guarantee/ Post Conditions Orders added successfully.
Preconditions Login
Success Guarantee/ Post Conditions Order removed successfully.
Main Success Scenario
PharmEase
Chapter 3 System Analysis
Frequency Medium.
Non-Functional Requirements Security, Performance.
Table 32 Use case to remove order
Preconditions Login
Success Guarantee/ Post Conditions Orders updated successfully.
Main Success Scenario
Actor’s Action and Intention System Responsibility
1. Admin clicks edit option.
2. Displays all the details of Orders.
3. Admin edit all the information.
4. Update all the changes in the database.
Frequency Medium.
Non-Functional Requirements Usability, Performance.
Table 33 Use case to update order status
PharmEase
Chapter 3 System Analysis
PharmEase
Chapter 3 System Analysis
``Figure 6 Sign up
Figure 43 Sign Up
PharmEase
Chapter 3 System Analysis
PharmEase
Chapter 3 System Analysis
PharmEase
Chapter 3 System Analysis
3.12.1.11. Logout
Figure 15 Logout
PharmEase
Chapter 3 System Analysis
PharmEase
Chapter 3 System Analysis
PharmEase
Chapter 3 System Analysis
PharmEase
Chapter 3 System Analysis
PharmEase
Chapter 3 System Analysis
PharmEase
Chapter 3 System Analysis
PharmEase
Chapter 3 System Analysis
PharmEase
Chapter 3 System Analysis
PharmEase
Chapter 4
SYSTEM DESIGN
4.1 System design
Systems design is the process of defining the architecture, components, modules, interfaces,
and data for a system to satisfy specified requirements. Systems design could be seen as the
application of systems theory to product development.
4.2Design Model
4.2.1. Interaction Diagrams (Sequence Diagram)
4.2.1.1. Login
User have to provide a valid email and password in order to successfully log in to the system.
We will first validate the data, if it is according to our requirements or format or not. Then we
pass it to database for further authentication of User.
In the following diagram
Login and Validate are interfaces
Database is a class
Figure 37 Login
Chapter 5 Implementation
PharmEase
Chapter 5 Implementation
PharmEase
Chapter 5 Implementation
PharmEase
Chapter 5 Implementation
PharmEase
PharmEase
Chapter 5 Implementation
PharmEase
Chapter 5 Implementation
PharmEase
Chapter 5 Implementation
PharmEase
Chapter 5 Implementation
PharmEase
Chapter 5 Implementation
PharmEase
Chapter 5 Implementation
PharmEase
Chapter 5
IMPLEMENTATION
Chapter 5 Implementation
5. Implementation
Implementation of the project is given below:
5.1 Development Tools
5.1.1 Mobile Application
The tool used for implementation is:
• Android Studio
• Firebase
Reason for using Android Studio is that our application was purely android based and
Android studio is specially made for making an android application.
Android studio gives you facility to show demo of your xml design.
Easy connection and integration with dedicated assistants with Firebase, Kotlin and
Google Cloud.
5.2.2. VS Code
Traditionally, editors have been used to support Windows or Linux or Mac systems.
But the Visual Studio Code is cross-platform. So, it can work on all three platforms.
Also, the code works on all three sites, otherwise the open source and proprietary
software codes are different
Visual Studio Code has Git integration built-in, which makes it really easy to instantly
see the changes you’re making in your project.
One of the key features of Visual Studio Code is its great debugging support. VS
Code’s built-in debugger helps accelerate your edit, compile and debug loop.
5.2.3. XAMPP
You can start and stop the webserver and database with one click.
PharmEase
Chapter 5 Implementation
Php error reporting is enabled by default, which helps when debugging scripts.
5.2.4. Bootstrap
5.2.5. Firebase
It is a NoSQL database. Firebase database is fast. Data updates take place in real-time.
One can sync data offline and store it on NoSQL Firebase real-time database.
It reduces the cost of app development. It has many free products.
Pseudo code is a kind of structured English, written in natural language to describe a set of
rules for the step by step process and operations for problem solving or other calculations.
Pseudo code is considered as planning stage, written ahead of the syntax of corresponding
computer language.
BEGIN
IF (first time entry)
{
Open registration form
Fill all fields
Check all fields filled in required format.
IF (all check results == true)
{
connect to firebase(database).
pass queries to database.
DISPLAY “User registered successfully”.
}
ELSE
{
Load registration form
IF (user_name == false)
display retype name message
ENDIF
PharmEase
Chapter 5 Implementation
IF (user_email == false)
display retype a valid email message
ENDIF
IF (user_password == false)
display retype password message
ENDIF
IF (confirm_password == false)
display password is not matching message
ENDIF
IF (phoneno == false)
display retype phone no.
ENDIF
}
ELSE
Login to the application.
END
GET Password
READ (EnteredPassword)
THEN
PharmEase
Chapter 5 Implementation
Login Successful
ELSE
IF (EnteredEmail is empty)
ENDIF
IF (EnteredPassword is empty)
ENDIF
IF (Username != EnteredEmail)
ENDIF
IF (Password != EnteredPassword)
ENDIF
ENDIF
END
BEGIN
SELECT home.
ELSE
END
BEGIN
SELECT home.
PharmEase
Chapter 5 Implementation
ELSE
END
BEGIN
SELECT cart button.
PharmEase
Chapter 5 Implementation
IF(invalidentry || isempty)
ELSE
END
BEGIN
SELECT add.
PharmEase
Chapter 5 Implementation
ELSE
END
BEGIN
SELECT remove.
PharmEase
Chapter 5 Implementation
IF(invalidentry)
ELSE
END
IF (clickNo)
{
IF (click yes)
END
PharmEase
Chapter 6
TESTING
Chapter 6 Testing
6.1 Testing
Software testing is an analysis conducted to provide information about quality of product with
respect to the context in which it is intended to operate. Testing is the process of executing
program with the intent of finding an error.
6.2.1. LOGIN
1. User click on login System will not System does not Pass.
button, and types its allow the user to allow the user to
right email and wrong login. login.
password.
2. User enters wrong email System will not System does not Pass.
with right password. allow the user to allow the user to
login. login.
3. User enter wrong email System will not System does not Pass.
and wrong password. allow the user to allow the user to
login. login.
4. User enters right email System will not System does not Pass.
and right password. allow the user to allow the user to
login. login.
Post-condition: User logged into system successfully.
Table 38 Test Case for Login
6.2.2. SIGN UP
PharmEase
Chapter 6 Testing
1. User click on sign System will not System will display Pass.
up button, user show the user login the error message
enters existing screen and display that email already
email. error message. exists.
2. User click on sign System will not System will display Pass.
up button, user show the user login the error message
enters email only. screen and display that enter all the
error message. fields to sign up.
3. User click on sign System will show System will show Pass.
up button, user the user login the user login
enters email and screen. screen.
password according
to the format.
Post-condition: User registered into system successfully.
Table 39 Test Case for Sign Up
1. Location is not enabled System will not be System will ask Pass.
on the device by the able to detect the user to enable
user. location. location.
2. User did not give the System will not be System will Pass.
permission to access able to detect display the error
current Location. location. message that
PharmEase
Chapter 6 Testing
allow permission
to access the
location.
3. Location in enabled and System will be able System will Pass.
User gave the to detect location. access the
permission to access location.
current Location.
Post-condition: Current location detected successfully.
Table 40 Test Case for Detect Current Location
1. Location is not enabled System will not be System will ask Pass.
on the device by the user. able to find nearest the user to enable
pharmacy. location.
2. User did not give the System will not be System will Pass.
permission to access able to detect location display the error
current Location. and could not find the message that allow
nearest pharmacy. permission to
access the location.
3. Location is enabled System will be able to System will access Pass.
and User gave the detect location. the location and
permission to access find the nearest
current Location. pharmacy.
Post-condition: Nearest pharmacy found successfully.
Table 41 Test Case for Find nearest pharmacies
PharmEase
Chapter 6 Testing
1. User left the fields System will not be System will display Pass.
empty and the able to place order. error message and ask
prescription is the user to place order
uploaded. again.
2. User filled all the System will not be System will display Pass.
fields but the able to place order. error message and ask
prescription is not the user to place
uploaded. order.
3. User filled all the System will be able System will display Pass.
PharmEase
Chapter 6 Testing
Actor: Admin
1. Admin click on add System will not allow System will Pass.
button, and left the the admin to add display the error
fields empty. product. message to enter
all the fields.
2. Admin click on add System will allow theSystem will add Pass.
button, and fills all admin to add the the product and
the fields. product. quantity will be
updated.
Post-condition: Moderator added into system successfully.
Table 49 Test Case for Add Moderator
Actor: Admin
PharmEase
Chapter 6 Testing
1. Admin click on add System will not System will display Pass.
button, and left the allow the admin to the error message to
fields empty. add product. enter all the fields.
2. Admin click on add System will allow System will add the Pass.
button, and fills all the admin to add the product and quantity
the fields. product. will be updated.
Post-condition: User added into system successfully.
Table 50 Test Case for Add User
1. Admin click on add System will not allow System will display Pass.
button, and left the the admin to add the error message to
fields empty. product. enter all the fields.
2. Admin click on add System will allow the System will add the Pass.
button, and fills all admin to add the product and quantity
the fields. product. will be updated.
Post-condition: Products added into system successfully.
Table 51 Test Case for Add Products
Actor: Admin
PharmEase
Chapter 6 Testing
1. Admin click on add System will not System will display Pass.
button, and left the allow the admin to the error message to
fields empty. add product. enter all the fields.
2. Admin click on add System will allow System will add the Pass.
button, and fills all the the admin to add product and
fields. the product. quantity will be
updated.
Post-condition: Order added into system successfully.
Table 52 Test Case for Add Order
6.2.16. LOGOUT
1. Admin rejects the Admin will not be able System will redirect Pass.
confirmation of to logged out of the the admin to same
logout system. page.
2. Admin accepts the Admin will be able to System will redirect Pass.
confirmation of logged out of the the admin to login
logout system. page.
Post-condition: Logged out of application successfully.
Table 53 Test Case for Logout
PharmEase
Chapter 6 Testing
PharmEase
Chapter 7
CONCLUSION
Chapter 7 Conclusion
7.1 Conclusion
The following results have been achieved after completing the system and relate back to the
system’s objective. The primary goal we have achieved by doing this project is "learning".
Now we are capable of overcoming problems which we face during making of a system. In
this final year project, I have practiced everything which I have learned during four-year
degree program. This project has built confidence that in future I will never face similar
mistakes to those I face in this project. Pharmease has made possible and easier to find
pharmacies according to their own choice and also it becomes comfortable for administration
regarding manual Pharmacy handling or maintaining the stock and responding to each
customer request.
The scope for future will involve adding more features for customers i.e. online payment,
order tracking, distance calculation between different pharmacies. Yet we are dealing with
pharmacies only within Islamabad, in future we can also take into different cities as per
request.
PharmEase
APPENDIX A
USER MANUAL
Appendix A User Manual
PharmEase
Appendix A User Manual
PharmEase
Appendix A User Manual
PharmEase
Appendix A User Manual
Snapshot 3 Notifications
PharmEase
Appendix A User Manual
PharmEase
Appendix A User Manual
PharmEase
Appendix A User Manual
PharmEase
Appendix A User Manual
PharmEase
Appendix A User Manual
PharmEase
Appendix A User Manual
Generated invoices
PharmEase
Appendix A User Manual
Pharmacy Registration
PharmEase
Appendix A User Manual
Admin Portal
PharmEase
Appendix A User Manual
PharmEase
Snapshot 27 Admin all medicines page
PharmEase
Appendix B References
PharmEase
Appendix B References
PharmEase
Appendix B References
APPENDIX B
REFERENCES
PharmEase
Appendix B References
Reference Websites:
https://online.visual-paradigm.com
https://creately.com/blog/diagrams/activity-diagram-tutorial/
https://firebase-php.readthedocs.io/en/5.6.0/
https://kotlinlang.org/
https://firebase.google.com/
https://developer.android.com/kotlin
PharmEase