You are on page 1of 92

FINAL PROJECT DOCUMENTATION

Online Furniture Showroom

Submitted By

Usama Bin Nadeem 19-Arid-2896

Zainab Mushtaq 19-Arid-2899

Khawaja Ahmed 19-Arid-2880

Supervisor

Mam Mehwashma
Lecturer

2021
Gujrat Institute of Management Sciences
PMAS-Arid Agriculture University, Rawalpindi
Online Furniture Showroom

Project submitted to
Department of Computer Science
Gujrat Institute of Management Sciences

By

Usama Bin Nadeem 19-Arid-2896

Zainab Mushtaq 19-Arid-2899

Khawaja Ahmed 19-Arid-2880

In partial fulfillment of the requirements for the degree of

(MCS)

Gujrat Institute of Management Sciences


PMAS-Arid Agriculture University, Rawalpindi

i
© Gujrat Institute of Management Sciences
PMAS-Arid Agriculture University, Rawalpindi
Members’ Detail

Project ID GIMS-MCS-F20191

Online Furniture Showroom


Group Leader: Usama Bin Nadeem
Group Members: 3
Name Registration # Email Address Class

Usama Bin Nadeem 19-Arid-2896 usama.hehe@gmail.com MCS


zainabmushtaq1998@gmail.co
Zainab Mushtaq 19-Arid-2899 MCS
m
Khawaja Ahmad
19-Arid-2880 sabeenwaqas1122@gmail.com MCS
Raza

_____________________
Mr. Faizan ul Mustafa
PMO || GIMS

Dated: _____________________
ii
© Gujrat Institute of Management Sciences
PMAS-Arid Agriculture University, Rawalpindi
Dedication

To our Family for their understanding, tenderness and for keeping us


motivated to our dreams. To our Teachers for their support, time and
affection. Especially our supervisor Ms. Mehwashma Amir who support
us and guide us.

iii
© Gujrat Institute of Management Sciences
PMAS-Arid Agriculture University, Rawalpindi
Project Summary

Project Title Online Furniture Showroom

Project ID GIMS-MCS-F20191

Organization Gujrat Institute of Management Sciences

 Objective is to apply this project in all the shops of


furniture the ease the process of shopping and repairing and
custom order.
 It solves problem of females and the persons who can’t go
Objective for shopping and have no source of information.
 This project includes sectional related information about
the specific furniture and guide people at the right time.
 It gives a broad idea to the people for furniture and
motivate them at the right time.

Usama Bin Nadeem (19-Arid-2896), Zainab Mushtaq (19-


Undertaken By
Arid-2899), Khawaja Ahmad Raza (10-Arid-2880)

Supervised By Ma’am Mehwashma Amir

Date started November 2020

Date Completed July 2021

Technologies Used Firebase database, Java, Android

System Used Window 10 pro

iv
© Gujrat Institute of Management Sciences
PMAS-Arid Agriculture University, Rawalpindi
Proofreading Certificate

This is to acknowledge that the project entitled

Online Furniture Showroom


[GIMS-MCS-F20191]

has been proofread

By

_____________________
Ms. Mehwashma Amir

Lecturer, GIMS

Dated: _____________________

v
© Gujrat Institute of Management Sciences
PMAS-Arid Agriculture University, Rawalpindi
Declaration

We hereby declare that we developed this project and this report entirely on the basis
of our personal efforts made under the sincere guidance of our project supervisor. We
further declare that, the titled project and all associated documents, reports are
submitted as partial requirements for the degree of (MCS).

Members’ Name Registration # Signature

Usama Bin Nadeem 19-Arid-2896 _______________


Zainab Mushtaq 19-Arid-2899 _______________
Khawaja Ahmad Raza 19-Arid-2880 _______________

Dated: __________________

vi
© Gujrat Institute of Management Sciences
PMAS-Arid Agriculture University, Rawalpindi
Acknowledgement

In the name of Allah, the Most Beneficent, the Most Merciful and His last Messenger,
HOLY PROPHET MUHAMMAD (PBUH)

There are many people to whom I would like to acknowledge for helping and
supporting me during final year project. First I would like to pay my deepest sense of
gratitude to my respected research supervisor, Ms. Mehwashma Amir for her true
guidance, support and encouragement in the completion of this study. I cordially pay
thanks to my respected Sir Bilal Tariq for their assistance and courageous guidance.

I would like to pay my special tribute to Mr. Shoaib Nazir Campus Head, GIMS,
Gujrat, for providing me opportunities and all possible facilities throughout my
academic session. I am really glad to acknowledge and thanks to all respected
teachers of Computer Science department for their inspiring attitude and
encouragement during whole session.

vii
© Gujrat Institute of Management Sciences
PMAS-Arid Agriculture University, Rawalpindi
Certificate
This is to certify that Usama Bin Nadeem, 19-Arid-2896, Zainab Mushtaq, 19-
Arid-2899, and Khawaja Ahmad Raza, 19-Arid-2880 have successfully completed
the final project titled: “Online Furniture Showroom”, accepted by the Department of
Computer Science and find satisfactory for the requirement of:

Gujrat Institute of Management Sciences


PMAS-Arid Agriculture University Rawalpindi

For Award of the Degree


MCS
________________
Supervisor
Ms. Mehwashma Amir
Lecturer, GIMS

________________
Examiner 1
Mr. Bilal Mazhar
Lecturer, GIMS

________________
Examiner 2
Mr. Shahan Arif
Lecturer, GIMS

________________
Examiner 3
MS. Zainab Mehmood
Lecturer, GIMS

________________ ________________
HOD/CS-IT Director General
GIMS GIMS

Dated: ___________________

viii
© Gujrat Institute of Management Sciences
PMAS-Arid Agriculture University, Rawalpindi
Abstract

We are living in an era of internet where people can access everything through internet
easily without moving. Internet becomes a part of our lives in almost everything we do
we use the Internet. Ordering a pizza, buying a television, sharing a moment with a
friend, sending a picture over instant messaging. Everything is possible easily with
internet. Here we are trying to provide people a huge benefit for their homes by
developing application for furniture shopping. Furniture is one of the core component
interiors in any house and organization due to which furniture industry is always
flourishing. Due to increased business, the organizations dealing with selling of furniture
always face to manage their sales and customers. Online Furniture Showroom is an
online application that lets the selling organizations to manage their orders and customers
online. This document explains various tasks performed by this application. Here we are
providing our customers “Online Furniture Showroom” application where customers can
check furniture online. This Application provides the facility of buying and repairing the
Furniture products for example bed, sofas, cupboards etc. It also provides the information
about the latest products. To inspire the people for making their homes well decorated.
Online Furniture Showroom application provides this platform through an android
application. This is connected to google API Firebase Real-time Database. That is a
cloud-hosted NoSQL database. The Firebase Real-time Database is a cloud-hosted
database. Data is stored as JSON and synchronized in real time to every connected client.
Real-time Database instance automatically receive updates with the newest data. We can
use any Firebase Real-time Database URL as a REST endpoint.

ix
© Gujrat Institute of Management Sciences
PMAS-Arid Agriculture University, Rawalpindi
Table of Contents

Dedication .................................................................................................................. iii

Project Summary ...................................................................................................... iv

Declaration................................................................................................................. vi

Acknowledgement .................................................................................................... vii

Abstract ...................................................................................................................... ix

Table of Contents ........................................................................................................x

List of Tables ........................................................................................................... xiv

List of Figures ............................................................................................................xv

Chapter 1 Introduction ...........................................................................................2

1.1 Problem Background ......................................................................................3

1.2 Problem Statement ..........................................................................................3

1.3 Significance.....................................................................................................4

1.4 Objectives .......................................................................................................4

1.5 Limitations and Restrictions: ..........................................................................4

1.6 System Architecture ........................................................................................5

1.7 Software/Hardware Requirements ..................................................................5

1.8 Implementation Tools and Technology ..........................................................5

1.9 Implementation Plan .......................................................................................6

1.9.1 Deliverable Items ....................................................................................6

1.9.2 Milestone Chart .......................................................................................6

1.10 Overview .........................................................................................................7

Chapter 2 Requirement Analysis .........................................................................10

2.1 Functional Requirements ..............................................................................10

2.2 Non Functional Requirement ........................................................................12

x
© Gujrat Institute of Management Sciences
PMAS-Arid Agriculture University, Rawalpindi
2.3 Use Cases ......................................................................................................13

2.3.1 Use Case for Login ...............................................................................13

2.3.2 Use case for Log out .............................................................................14

2.3.3 Use case for View post .........................................................................15

2.3.4 Use case for Delete post ........................................................................16

2.3.5 Use case for check order .......................................................................17

2.3.6 Use case for Creating post ....................................................................18

2.3.7 Use case for Manage post .....................................................................19

2.3.8 Use case for Delete Account .................................................................20

2.3.9 Use case for Check Feedback ...............................................................21

2.3.10 Use case for Viewing Order details......................................................22

2.3.11 Use case for Sign up .............................................................................23

2.3.12 Use case for Placing order ....................................................................24

2.3.13 Use case for viewing customer order ...................................................25

2.3.14 Use case for Uploading Request ..........................................................26

2.3.15 Use case for Checkout ..........................................................................27

2.3.16 Use case for Feedback ..........................................................................28

2.3.17 Use case for Forget password...............................................................29

2.3.18 Use case for New password .................................................................30

2.3.19 Use case for Viewing post ....................................................................31

Chapter 3 DESIGN ...............................................................................................33

3.1 UML Diagrams .............................................................................................33

3.2 Use-Case Diagram ........................................................................................33

3.2.1 Use-Case Diagram for Login ................................................................33

3.2.2 Use case diagram for Sign up ...............................................................34

3.2.3 Use case diagram for Logout ................................................................34

xi
© Gujrat Institute of Management Sciences
PMAS-Arid Agriculture University, Rawalpindi
3.2.4 Use case diagram for Customer ............................................................35

3.2.5 Use case diagram for Admin.................................................................36

3.2.6 Use case diagram for Place order..........................................................36

3.2.7 Use case diagram for Feedback ............................................................37

3.2.8 Use case diagram for System ................................................................38

3.3 Class Diagram ...............................................................................................39

3.4 Sequence Diagram ........................................................................................40

3.4.1 Customer view post...............................................................................40

3.4.2 Admin ...................................................................................................41

3.4.3 System ...................................................................................................42

Chapter 4 Testing ..................................................................................................44

4.1 Sign Up .........................................................................................................44

4.2 Login .............................................................................................................45

4.3 Logout ...........................................................................................................46

4.4 View Post ......................................................................................................47

4.5 Delete Post ....................................................................................................48

4.6 Create Post ....................................................................................................49

4.7 Manage Post ..................................................................................................50

4.8 Check Order ..................................................................................................51

4.9 Check Order Details ......................................................................................52

4.10 Delete Account..............................................................................................53

4.11 Placing Order ................................................................................................54

4.12 Upload Request .............................................................................................55

4.13 Check Out .....................................................................................................56

4.14 Forget Password ............................................................................................57

4.15 New Password ...............................................................................................58

xii
© Gujrat Institute of Management Sciences
PMAS-Arid Agriculture University, Rawalpindi
4.16 Visitor Customer ...........................................................................................59

Chapter 5 User Manual ........................................................................................61

5.1 Log in page ...................................................................................................61

5.2 Admin Sign In ...............................................................................................62

5.3 Admin Home Page ........................................................................................63

5.4 Admin Portal .................................................................................................64

5.5 Admin View orders .......................................................................................65

5.6 Admin View Order Details ...........................................................................66

5.7 Create Post ....................................................................................................67

5.8 Feed Back......................................................................................................68

5.9 Sign Up .........................................................................................................69

5.10 Sign In ...........................................................................................................70

5.11 Customer’s Home Page.................................................................................71

5.12 View Post Details ..........................................................................................72

5.13 Place Order....................................................................................................73

5.14 Check Out .....................................................................................................74

5.15 Change Password ..........................................................................................75

5.16 Forget Password ............................................................................................76

xiii
© Gujrat Institute of Management Sciences
PMAS-Arid Agriculture University, Rawalpindi
List of Tables

Table 2.1: Use-Case to Login ...................................................................................... 13


Table 2-2 Use case for Logout ..................................................................................... 14
Table 2-3 Use case for View Post ................................................................................ 15
Table 2-4 Use case for Delete post .............................................................................. 16
Table 2-5 Use case check order ................................................................................... 17
Table 2-6 Use case for Creating post ........................................................................... 18
Table 2-7 : Use case for Mange post ........................................................................... 19
Table 2-8 Use case for Delete Account ....................................................................... 20
Table 2-9 Use case for Check Feedback ...................................................................... 21
Table 2-10 Use case for Viewing Order details ........................................................... 22
Table 2-11 Use case for Sign up .................................................................................. 23
Table 2-12 Use case for placing Order ........................................................................ 24
Table 2-13 Use case for viewing his/her order ............................................................ 25
Table 2-14 Use case for Upload Request ..................................................................... 26
Table 2-15 Use case for check out ............................................................................... 27
Table 2-16 Use case for Feedback ............................................................................... 28
Table 2-17 Use case for Forget password .................................................................... 29
Table 2-18 Use case for New password ....................................................................... 30
Table 2-19 Use case for viewing post .......................................................................... 31
Table 4.1: Sign up Test case ........................................................................................ 44

xiv
© Gujrat Institute of Management Sciences
PMAS-Arid Agriculture University, Rawalpindi
List of Figures

Figure 1.1: System Architecture .................................................................................... 5


Figure 1.2: Gantt chart for milestones ........................................................................... 6
Figure 3.1:Use-Case Diagram for login ....................................................................... 33
Figure 3-2 Use case diagram for sign up ..................................................................... 34
Figure 3-3 Use case for Logout ................................................................................... 34
Figure 3-4 Use case diagram for Customer ................................................................. 35
Figure 3-5 Use case diagram for Admin ...................................................................... 36
Figure 3-6 use case diagram for Place order ................................................................ 36
Figure 3-7 use case diagram for Feedback .................................................................. 37
Figure 3-8 Use case diagram for System ..................................................................... 38
Figure 3.3 Class Diagram ............................................................................................ 39
Figure 3.4: Sequence Diagram for Customer view post .............................................. 40
Figure 3.4: Sequence Diagram for Admin ................................................................... 41
Figure 3.4: Sequence Diagram for System .................................................................. 42
Figure 5.1: Login In ..................................................................................................... 61
Figure 5-2 Sign in ........................................................................................................ 62
Figure 5-3 Admin Home page ..................................................................................... 63
Figure 5-4 Admin portal .............................................................................................. 64
Figure 5-5 Admin view orders ..................................................................................... 65
Figure 5-6 Admin view order detail............................................................................. 66
Figure 5-7 Create post .................................................................................................. 67
Figure 5-8 Feedback .................................................................................................... 68
Figure 5-9 Sign up ....................................................................................................... 69
Figure 5-14 Check out ................................................................................................. 74

xv
© Gujrat Institute of Management Sciences
PMAS-Arid Agriculture University, Rawalpindi
Chapter 1
Introduction

1
Chapter 1
Introduction

It is an online furniture shop that allows users to check for various furniture available
at the online store and purchase online. The project consists of list of furniture
products displayed in various models and designs. Online Furniture Showroom is a
Field which deals in sell of Furniture commodities i.e. beds, sofas, cupboards etc. and
also provide information about the trending furniture used in homes as well as at any
other place. It also provides facility to repair damaged furniture. Our application will
help you to know, which furniture is best for the space of your room. If customer
wants to buy a product, he/she may add it to his shopping cart. Once user wishes to
checkout he/she must register on the site first.

Un-experience users can learn how to exact information from the proposed system.
This app provides the facility of repairing and buying the Furniture products. Buyer
can buy their commodities on this field through online platform that is Android
Application. Users can easily approach to the shop if he/she wants to visit when their
product is ready. In the historical background there was somehow specific online
furniture stores like this. Currently this system is launched by our clients wish. It
supports online 24x7 buying and repairing.

This proposed system will provide the functions that will fulfill the user’s needs. The
Admin will view whole system, will check posts, manage products, check customer’s
information and feedback. The admin will delete unauthorized post. The Customer
must create account first, will check products, add products to cart and then give
personal information. The customer will post damaged products images for repairing.
The Visitor Customers can view all products. If visitor customer wants to purchase
something, then they must create account first.

2
1.1 Problem Background

Internet made our life easy. Physical store is costlier because owner have to pay rent
and utility bills and also keep in mind you have to pay your employees as well. It is
hard to repair the store every six month or year. On the other hands sometimes for
customer it is also difficult to visit store physically. There is no such application that
provides these kinds of features. Moreover, in store customer also have to go through
long queues heavy and full carts, and impatient cashiers. These are also some
disadvantages for consumers so they might just prefer shopping online. For shopping
Furniture, they also faced many problems.

 Check numbers of catalogue

 There is no price mentioned

 Quantity is not mentioned

 Time consuming

 No fix time of delivery

1.2 Problem Statement

Here we are trying to make our lives easier by developing an Online Furniture
showroom application in which customers can access the store online with the help of
internet. Our application provides customers a good environment where customer buy
their products easily. Customer will create account first for further process. Customer
just check the products with price if he/she likes the product then they will add to
shopping cart. Customers can post pictures of their damaged product for repairing. A
visitor customer can also check products. In simple words our application is time
saving customers can easily access the application anywhere through internet.
Furniture name and price will mention below all products. And customer can also
check product in the shop physically.

3
1.3 Significance

Our application will allow customers to buy furniture of their own choice through
internet easily at home. No need to go to the showroom for buying furniture. Our
application will allow customers to get information about trending furniture. By using
our application customer will have better market awareness about furniture.
Customers can also repair their damaged furniture here. Customers can visit shop
physically when the product is ready.

1.4 Objectives

The objectives are:

 Objective is to apply this project in all the shops of furniture the ease the
process of shopping and repairing and custom order.
 It solves problem of females and the persons who can’t go for shopping and
have no source of information.
 This project includes sectional related information about the specific furniture
and guide people at the right time.
 It gives a broad idea to the people for furniture and motivate them at the right
time.

1.5 Limitations and Restrictions:

 This application is only used for educated people.

 If product not available, then customer cannot order it.

 For purchasing customer must sign in the application.

 You can use this application when internet is available

4
1.6 System Architecture

Figure 1.1: System Architecture

1.7 Software/Hardware Requirements

Hardware Specifications:

 Ram greater than 1 GB


 System storage Greater than 20 GB.
 Android Version Higher than 4.

Software requirements:

 Android operating system

1.8 Implementation Tools and Technology

 Android Studio
 Java
 Adobe Illustrator
 MS Project/MS Excel
 Firebase Real-time Database

5
1.9 Implementation Plan

1.9.1 Deliverable Items

 Project Proposal
 Software Requirement Specification (SRS)
 Project Presentation and Final Documentation
 Executable Files
 CD
 User manual

1.9.2 Milestone Chart

Figure 1.2: Gantt chart for milestones

6
1.10 Overview

Project Goal:
The main goal of the project to ease both customer and owner of furniture shop in their
daily routine. Customers can avail good quality of products from our application. Our
goal is to provide customers a huge variety of Furniture on our application so that they
can easily view and buy products.
Type of project: R&D Development
Project Success criteria:

 Portable and can manage easily.


 Customer satisfaction
 Our project will fulfill the needs of our users.
 Our Application will run less than no time.

Risks of the Project:

1. It will be slightly difficult for un-educated person


2. Time may be not managed
3. Environment can change condition of season
4. Information crash in unavailability of the furniture products
5. Not Identification of hidden risks
6. Internet problem

(Please mark  where applicable) Low Medium High


Technical risk 🗹

Timing risk 🗹

Budget risk 🗹

Target End users:


Every person who wants to purchase Furniture online can use this Application freely

7
Development Technology/ Languages:
FOR EXAMPLE:

 Java
 Firebase Real-time Database
 Android Illustrator

Platform:

Web based Distributed Setup Configurations


Desktop based Android iOS
Other_____________________

Project Supervisor: Ms. Mehwashma Amir

8
Chapter 2
Requirement Analysis

9
Chapter 2
Requirement Analysis

2.1 Functional Requirements

For Customers

 View Products:
o Customers have to be logged in by their username and password.
 Create Account:
o If a customer wants to get our services, then he/she can create his/her
account and register it then he can get our services of commodities present
on app or website and also select any specific item of commodities for
checking its related all order details.
 Sign in:
o Customer must sign in the application.
 Order:
o Customer can order products according to needs.
 Check out:
o Customer give phone number and home address.
 Feedback:
o Customer can tell us about the product.
 Sign out:
o Customer can log out the application.
 Repairing furniture:
o If a user wants to request for repairing, it’s furniture then for it must be
first create account then it will be able to upload his relevant requests.
After requesting the he can wait for the response from the admin.
 Customer’s Posts:
o Registered Customers can edit post
 Contact with Admin:

10
o As a man is interested to take info about the products it will direct contact
the admin.
 Forget password:
o If customers forget password, they can again access their account through
Email.

For Visitor customer:

 View posts:
o Visitor customers can view posts
 Registered customers and Visitor Customer:
o Visitor without account can check posts with price and Registered
customers can check posts and post’s information. As we can say both can
check all posts about any furniture product and commodities according to
trends.

For Admin:

 Sign in:
o Admin sign in the application.

Facility of manage products:

 Edit post:
o Admin can edit post.
 Delete post:
o Admin can delete post.
 Update post:
o Admin can update products.
 View order:
o Admin can view customer’s orders.
 Check feedback:
o Admin can check customer’s feedback about products.
 Unauthorized person:

11
o As matter of admin it can delete any unappropriated register user post then it
will be deleted by the admin.

2.2 Non Functional Requirement

 User Satisfaction
The application is according to the user’s expectations.

 Response Time
Response time of every operation is good. This has been made possible by careful
programming

 Error Handling
Response to user errors and undesired situations has been taken care of to ensure that
the application operates without uncertainty.

 User-Friendly
 Reliability
 Portability

12
2.3 Use Cases

2.3.1 Use Case for Login

Table 2.1: Use-Case to Login

Use case Number UC-1

Use case Name UC- log in

Goals To get access to the system

Scope Shopping Application

Primary Actor Admin, Customer

Level User/System

Precondition User must be registered on system

Success End Log in successfully

Failure End User does not exist in the system or incorrect email and password.
Condition

Main Success
Scenario 1 User click on “Login” button.
2 The system returns login page.
3 User enter the email and password.
4 System verifies all the information.
5 System redirects to the home page.
Extensions (Error
Scenario) 1. 4a Incorrect Email and password.
2. 4a.1 System returns user to login screen
3. 4a.2 User backs out or tries again

13
2.3.2 Use case for Log out

Table 2-2 Use case for Logout

Use case Number UC-2

Use case Name UC- Log out

Goals Terminate session

Primary Actor Customer, Admin

Scope Shopping Application

Level User/System

Precondition User must be logged in to system

Success End Session terminate successfully

Failure End Session not terminate successfully


Condition

Main Success
Scenario 1. User clicks on “logout” button.
2. System displays prompt (do you really want to logout)
3. User will click the Logout Button
4. Session terminates.
5. System redirects to login page.
Extensions (Error 2a Internet connection is disable.
Scenario)

14
2.3.3 Use case for View post

Table 2-3 Use case for View Post

Use case Number UC-3

Use case Name UC- View Post

Goals Display post and post’s details

Primary Actor Admin, Customers

Level User/ System

Scope Shopping Application

Precondition User must view the system

Success End User can see all posts successfully

Failure End System does not show posts to the user


Condition

Main Success
Scenario 1. User log in to system
2. System open a home page and load all posts
3. User can view all post details
4. System display post and post details successfully
Extensions (Error
Scenario) 1. 2a Error in loading post page.
2. 2a Post may be disappear due to some error

15
2.3.4 Use case for Delete post

Table 2-4 Use case for Delete post

Use case Number UC-4

Use case Name UC- Delete post

Goals Use this option to delete post

Primary Actor Customers, Admin

Scope Shopping Application

Level User/ System

Precondition User must have email id and password

Success End Delete post successfully

Failure End Post is not deleted due to some error


Condition

Main Success
Scenario 1. User clicks on the post who they want to delete
2. System load the post
3. User select delete option
4. System detect post in database and ask (Do you want
to delete post)
5. User press ok
6. Deleted post successfully
Extensions (Error
Scenario) 1. 1aThe post does not exist
2. 2a System shows an error the searched product is not
available

16
Admin
2.3.5 Use case for check order

Table 2-5 Use case check order

Use case Number UC-5

Use case Name UC- Check order

Goals Check customers order

Primary Actor Admin

Scope Shopping Application

Level User/System

Precondition User must be logged in to system

Success End Check order successfully

Failure End Error in loading order option


Condition

Main Success
Scenario 1. User click on “Orders” option
2. System load orders page
3. User can view orders that customers are placing.
Extensions (Error
Scenario) 1. 2a Internet connection loss during loading page.

17
2.3.6 Use case for Creating post

Table 2-6 Use case for Creating post

Use case Number UC-6

Use case Name UC- Creating post

Goals Creating post

Primary Actor Admin

Scope Shopping Application

Level User/System

Precondition User must log in to system

Success End Create post successfully

Failure End Error in creating post


Condition

Main Success
Scenario 1. User click on “Plus+” icon
2. System open gallery of the user
3. User choose image of the product and fill further
details related to the product and click on “Create
post” button.
4. System create post successfully
Extensions (Error
Scenario) 1. 2a Internet connection may be disable while loading
page.
2. 3a User does not fill product details

18
2.3.7 Use case for Manage post

Table 2-7 : Use case for Mange post

Use case Number UC-7

Use case Name UC- Manage post

Goals Admin and Customer can manage post

Primary Actor Admin

Scope Shopping Application

Level User/System

Precondition User must be logged in to system

Success End Post managed successfully

Failure End Shows an error during managed post


Condition

Main Success
Scenario 1. User clicks on post
2. System loads the different options
3. User select edit option
4. Now user can select options (delete, update) according
to need.
5. Post managed successfully.

Extensions (Error
Scenario) 1. 2a System shows an error in loading page
2. 4a User cannot able to select options due to internet
problem

19
2.3.8 Use case for Delete Account

Table 2-8 Use case for Delete Account

Use case Number UC-8

Use case Name UC- Delete Account

Goals Use this option to delete account

Primary Actor Admin

Scope Shopping Application

Level User/ System

Precondition User and Admin must have email and id

Success End Delete account successfully

Failure End System shows an error while loading delete account option.
Condition

Main Success
Scenario 1. User log in to system
2. User go to the “Account” option
3. System loads the Account page for user
4. User select Delete Account option
5. System ask (Do you want to delete this Account)
6. User press ok
7. Account deleted
Extensions (Error
Scenario) 1. 1a User does not log in to system
2. 3a System go backs to Home page
3. 7a System give error message

20
2.3.9 Use case for Check Feedback

Table 2-9 Use case for Check Feedback

Use case Number UC-9

Use case Name UC- Feedback

Goals User can check feedback of the Customers

Primary Actor Admin

Scope Shopping Application

Level User/ System

Precondition User must have email id and login to system

Success End Feedback is checked

Failure End Feedback is not checked


Condition

Main Success
Scenario 1 User login to system then click on “Feedback” button
2 System loads the Feedback page
3 User can read and check customer’s feedback
successfully
Extensions (Error
Scenario) 1. 1a Feedback button is unavailable
2. 2a System give an error

21
2.3.10 Use case for Viewing Order details

Table 2-10 Use case for Viewing Order details

Use case Number UC-10

Use case Name UC- Viewing order details

Goals User can check customers order details

Primary Actor Admin

Scope Shopping Application

Level User/ System

Precondition User must login to system

Success End View order details successfully

Failure End Order details is not viewing


Condition

Main Success
Scenario 1. User click on “Post detail” option
2. System display a new page that contains post details
3. User can check all details of the product easily
Extensions (Error
Scenario) 1. 1aUnavaible post detail option
2. 2a Error in loading page

22
Customer:

2.3.11 Use case for Sign up

Table 2-11 Use case for Sign up

Use case Number UC-11

Use case Name UC- Sign up

Goals To get access to the system

Scope Shopping Application

Primary Actor Customers

Level User/System

Precondition User must have valid email id.

Success End Sign up successfully

Failure End Invalid email id and unable to register.


Condition

Main Success
Scenario 1 User clicks on “Register” button.
2 System returns signup page.
3 User must select proper registration type (customer).
4 System shows relevant form.
5 User enter the required information and click on
“Signup” button.
6 System verifies all the information.
7 Display “Sign up successfully” message to user.
Extensions (Error
Scenario) 1 3a. User does not select any type.
2 5a Fields are not properly filed.
3 5a.1 System give error message
4 5a.2 System will redirect to sign up form

23
2.3.12 Use case for Placing order

Table 2-12 Use case for placing Order

Use case Number UC-12

Use case Name UC- Placing order

Goals User can place order

Primary Actor Customers

Scope Shopping Application

Level User/ System

Precondition User must have email id and login to system

Success End Order is placed successfully

Failure End Order is not placed


Condition

Main Success
Scenario 1. User log in to system and select product
2. System loads the page and display a page that contains
post details
3. User fills fields with private information like (phone
number and address)
4. System also show price and description of the product
5. Now user click “Purchase” button
6. Order place successfully
Extensions (Error
Scenario) 1. 3a User does not fill fields
2. 6a Order does not place and system returns to login
page

24
2.3.13 Use case for viewing customer order

Table 2-13 Use case for viewing his/her order

Use case Number UC-13

Use case Name UC- Viewing order

Goals User can check his/her order

Primary Actor Customers

Scope Shopping Application

Level User/ System

Precondition User must have email id and login to system

Success End Order must be placed and exist

Failure End Order does not exist


Condition

Main Success
Scenario 1. User log in to system and select “My order” option
2. System view my order page with different order type
like (Simple order, Custom and Repairing order)
3. User clicks on one option for example (click on
Simple order)
4. System shows the order with price
Extensions (Error
Scenario) 1. 1a My order option is not working
2. 2a System loss due to poor internet

25
2.3.14 Use case for Uploading Request

Table 2-14 Use case for Upload Request

Use case Number UC-14

Use case Name UC- Upload Request

Goals User use this option to Upload request

Scope Shopping Application

Primary Actor Customers

Level User/ System

Precondition User must log in to system

Success End Request uploaded

Failure End Request does not upload on the system


Condition

Main Success
Scenario 1. User click on “Plus (+)” icon
2. System loads the post page
3. User select image from the gallery and click post
4. System upload post in database
5. User uploaded request
6. System successfully upload the request
Extensions (Error
Scenario) 1. 4a System shows an error in uploading request
2. 3a User cannot select image from gallery due to
internet problem

26
2.3.15 Use case for Checkout

Table 2-15 Use case for check out

Use case Number UC-16

Use case Name UC- Check out

Goals User will able to place an order

Primary Actor Customers

Scope Shopping Application

Level User/ System

Precondition
1. User must login to system
2. Cart must be exist
Success End Order purchase successfully

Failure End Cart does not exist


Condition

Main Success 1. Customer clicks on the “Post” from homepage.


Scenario
2. The system shows post information.
3. Customer fills required fields like add phone
number and address
4. Customer clicks on the “Purchase” button.
5. System displays a message “Order has been
placed successfully
Extensions (Error
Scenario) 1 5a Fields are not properly filled
2 5a.1 System show error message and redirect to order
form

27
2.3.16 Use case for Feedback

Table 2-16 Use case for Feedback

Use case Number UC-17

Use case Name UC- Feedback

Goals User can give any feedback/ rating of the product

Primary Actor Customers

Scope Shopping Application

Level User/ System

Precondition User must have email id

Success End Feedback is given successfully

Failure End Feedback is not given


Condition

Main Success
Scenario 4 Customer search the product about which he/she has to
give feedback
5 The system display the details of the products
6 Customer click on “feedback” button
7 System displays comment box
8 Customer will fill the comment box and clicks on
“Send” button
9 System will save the feedback of that product
Extensions (Error
Scenario) 3. 4a Exceeds the text limit
4. 4a.1 System gives an error message.

28
2.3.17 Use case for Forget password

Table 2-17 Use case for Forget password

Use case Number UC-18

Use case Name UC- Forget password

Goals User can access account again

Primary Actor Customers

Scope Shopping Application

Level User/ System

Precondition User must open the application login page

Success End Account recovered successfully

Failure End Account is not recovered


Condition

Main Success
Scenario 1. Customer click on “Reset password” option
2. System open a new page with a field (Your email)
3. User enter the Email and press “Send Email” button
4. System will send your new password on your email
Extensions (Error
Scenario) 1. 2a User may be enter wrong email
2. 4a Time delay in sending email

29
2.3.18 Use case for New password

Table 2-18 Use case for New password

Use case Number UC-19

Use case Name UC- New password

Goals User can change password

Primary Actor Customers

Scope Shopping Application

Level User/ System

Precondition User must have account

Success End Change successfully

Failure End Password is not changed


Condition

Main Success
Scenario 1. User click on “Account” and go to the change
password option
2. System display a new page with some fields
3. User filled the fields with necessary information and
press “Change”
4. Password change successfully
Extensions (Error 1.3a User does not fill all fields
Scenario)
2. 4a.1 System gives an error message.

30
Visitor customer

2.3.19 Use case for Viewing post

Table 2-19 Use case for viewing post

Use case Number UC-20

Use case Name UC- View Post

Goals Display post and post’s details

Primary Actor Visitor Customers

Level User/ System

Scope Shopping Application

Precondition User must view the system

Success End User can see all posts successfully

Failure End System does not show posts to the user


Condition

Main Success
Scenario 1 User open the application
2 System open a home page and load all posts
3 User can view all post
4 After sign up system display post and post details
successfully
Extensions (Error
Scenario) 1. 2a Error in loading post page.
2. 2a Post may be disappear due to some error

31
Chapter 3

Design

32
Chapter 3
DESIGN

This chapter is all about object-oriented modeling and software design. In the
previous chapter, analysis of the system was completed so we can understand the
current situation of the problem domain. Now we are ready to strive for a solution for
the problem domain by using object-oriented approach. Following artifacts must be
included in this deliverable.

1. Use cases Diagram


2. Class diagram
3. Sequence Diagram
4. Data Model (ERD)

3.1 UML Diagrams

3.2 Use-Case Diagram

3.2.1 Use-Case Diagram for Login

Figure 3.1:Use-Case Diagram for login

33
3.2.2 Use case diagram for Sign up

Figure 3-2 Use case diagram for sign up

3.2.3 Use case diagram for Logout

Figure 3-3 Use case for Logout

34
3.2.4 Use case diagram for Customer

Figure 3-4 Use case diagram for Customer

35
3.2.5 Use case diagram for Admin

Figure 3-5 Use case diagram for Admin

3.2.6 Use case diagram for Place order

Figure 3-6 use case diagram for Place order

36
3.2.7 Use case diagram for Feedback

Figure 3-7 use case diagram for Feedback

37
3.2.8 Use case diagram for System

Figure 3-8 Use case diagram for System

38
3.3 Class Diagram

Figure 3.9 Class Diagram

39
3.4 Sequence Diagram

3.4.1 Customer view post

Figure 3.10: Sequence Diagram for Customer view post

40
3.4.2 Admin

Figure 3.11: Sequence Diagram for Admin

41
3.4.3 System

Figure 3.12: Sequence Diagram for System

42
Chapter 4

Testing

43
Chapter 4
Testing

4.1 Sign Up

Table 4.1: Sign up Test case

Sign Up Test Case

Test Engineer Khawaja Ahmad Raza


Test Case ID TC-1
Date June 25, 2021
Purpose Sign up to system.
Pre-Req Must have valid email id
Test Data Username & Password.
Steps Following steps will take place in test.
1. User click on sign up button
2. System displays the sign-up foam.
3. User fills all the credentials of sign up form.
4. User filled incorrect data
5. System give error messages
6. System will redirect to sign up form
7. User clicks on sign up button.
8. System verifies the data.
9. System send confirmation mail.
10. User click on confirmation link.

Status Pass

44
4.2 Login

Table 4.2: Login Test case

Login Test Case

Test Engineer Khawaja Ahmad Raza


Test Case ID TC-2
Date June 25, 2021
Purpose To get access to system
Pre-Req Must have valid email id and password
Test Data  Email and Password.
Steps Following steps will take place in test.
1. Click on login button
2. The system shows the login form
3. User enter email and password to login into
system
4. Email or password is incorrect
5. System returns user to login screen
6. User backs out or tries again
7. The system verifies the email and password
8. System successfully login user
9. 6. System redirect the user to the dashboard

Status Pass

45
4.3 Logout

Table 4.3: Logout Test case

Logout Test Case

Test Engineer Khawaja Ahmad Raza


Test Case ID TC-3
Date June 25, 2021
Purpose Terminate session
Pre-Req Must login to system
Test Data  Clicks on logout button
Steps Following steps will take place in test.
1. Click on “logout” button.
2. System displays prompt. (do you really want to
logout)
3. User will click the logout button.
4. Internet Connection Problem.
5. Session not terminated.
6. 4. System will redirect to login page

Status Pass

46
4.4 View Post

Table 4.4: View Post Test case

View post Test Case

Test Engineer Khawaja Ahmad Raza


Test Case ID TC-4
Date June 25, 2021
Purpose Display post
Pre-Req User must view the system
Test Data  User can see all the post successfully
Steps Following steps will take place in test.
1. User log in to system
2. System open a home page and load all posts
3. Error in loading post page.
4. Post may be disappearing due to some error
5. User can view all post details
6. System display post and post details
successfully

Status Pass

47
4.5 Delete Post

Table 4.5: Delete Post Test case

Delete post Test Case

Test Engineer Khawaja Ahmad Raza


Test Case ID TC-5
Date June 25, 2021
Purpose Delete post
Pre-Req User must have email and password
Test Data  User can delete post
Steps Following steps will take place in test.

1. User clicks on the post who they want to


delete
2. System load the post
3. System shows an error the searched product
is not available
4. User select delete option
5. System detect post in database and ask (Do
you want to delete post)
6. User press ok
7. Deleted post successfully

Status Pass

48
4.6 Create Post

Table 4.6: Create Post Test case

Create post Test Case

Test Engineer Khawaja Ahmad Raza


Test Case ID TC-6
Date June 25, 2021
Purpose Creating the post
Pre-Req User must have email and password
Test Data  User can create the post
Steps Following steps will take place in test.
1. User click on “Plus+” icon
2. System open gallery of the user
3. Internet connection may be disable while
loading page.
4. User choose image of the product and fill
further details related to the product and
click on “Create post” button.
5. user does not fill post details
6. 4. System create post successfully

Status Pass

49
4.7 Manage Post

Table 4.7: Manage Post Test case

Manage post Test Case

Test Engineer Khawaja Ahmad Raza


Test Case ID TC-7
Date June 25, 2021
Purpose Manage post
Pre-Req User must login to system and have internet connection
Test Data  User manage post successfully
Steps Following steps will take place in test.
1. User clicks on post
2. System loads the different options
3. System shows an error while loading
4. User select edit option
5. Now user can select options (delete, update)
according to need.
6. User does not able to select option due to
internet problem
7. Post managed successfully.

Status Pass

50
4.8 Check Order

Table 4.8: Check Order Test case

Check order Test Case

Test Engineer Khawaja Ahmad Raza


Test Case ID TC-8
Date June 25, 2021
Purpose Check order
Pre-Req User must login to system and have internet connection
Test Data  User check order successfully
Steps Following steps will take place in test.
1. User click on “Orders” option
2. System load orders page
3. Error in loading page
4. User can view orders that customers are placing

Status Pass

51
4.9 Check Order Details

Table 4.9: Check Order Details Test case

Check order details Test Case

Test Engineer Khawaja Ahmad Raza


Test Case ID TC-9
Date June 25, 2021
Purpose View order details
Pre-Req User must login to system and have internet connection
Test Data  User check order details successfully
Steps Following steps will take place in test.
1. User click on “Post detail” option
2. System display a new page that contains post
details
3. Unavailable post details
4. User can check all details of the product easily

Status Pass

52
4.10 Delete Account

Table 4.10: Delete Account Test case

Check order Test Case

Test Engineer Khawaja Ahmad Raza


Test Case ID TC-10
Date June 25, 2021
Purpose Delete account
Pre-Req User must login to system
Test Data  Delete account successfully
Steps Following steps will take place in test.
1. User log in to system.
2. User go to the “Account” option
3. Internet connection lose and user does not able
to click on account option
4. System loads the Account page for user
5. User select Delete Account option
6. System ask (Do you want to delete this Account)
7. User press ok
8. 7. Account deleted

Status Pass

53
4.11 Placing Order

Table 4.11: Placing Order Test case

Placing order Test Case

Test Engineer Khawaja Ahmad Raza


Test Case ID TC-12
Date June 25, 2021
Purpose Place order
Pre-Req User must login to system
Test Data  Place order successfully
Steps Following steps will take place in test.
1. User log in to system and select product
2. System loads the page and display a page that
contains post details
3. User fills fields with private information like
(phone number and address)
4. User does not fill fields
5. System also show price and description of the
product
6. Now user click “Purchase” button
7. Order place successfully
8. Order does not place and system returns to login
page

Status Pass

54
4.12 Upload Request

Table 4.12: Upload Request Test case

Upload request Test Case

Test Engineer Khawaja Ahmad Raza


Test Case ID TC-13
Date June 25, 2021
Purpose Uploading the request
Pre-Req User must login to system
Test Data  Place request successfully
Steps Following steps will take place in test.
1. User click on “Plus (+)” icon
2. System loads the post page
3. User select image from the gallery and click post
4. user cannot select image from gallery due to
internet problem
5. System upload post in database
6. System shows an error in uploading request.
7. User uploaded request
8. System successfully upload the request

Status Pass

55
4.13 Check Out

Table 4.13: Check Out Test case

Check out Test Case

Test Engineer Khawaja Ahmad Raza


Test Case ID TC-15
Date June 25, 2021
Purpose Check out
Pre-Req User must login to system and select a product
Test Data  Check out successfully
Steps Following steps will take place in test.
1. Customer clicks on the “Post” from homepage.
2. The system shows post information.
3. Customer fills required fields like add phone
number and address
4. Customer does not fill proper fields.
5. Customer clicks on the “Purchase” button.
6. System displays a message “Order has been
placed successfully”

Status Pass

56
4.14 Forget Password

Table 4.14: Forget Password Test case

Forget password Test Case

Test Engineer Khawaja Ahmad Raza


Test Case ID TC-16
Date June 25, 2021
Purpose Forget password
Pre-Req User mut have email id
Test Data  Must open the application login page
Steps Following steps will take place in test.
1. Customer click on “Reset password” option
2. System open a new page with a field (Your
email)
3. User may be entered wrong email
4. User enter the Email and press “Send Email”
button
5. System will send your new password on your
email
6. Time delay in sending password

Status Pass

57
4.15 New Password

Table 4.15: New Password Test case

New password Test Case

Test Engineer Khawaja Ahmad Raza


Test Case ID TC-17
Date June 25, 2021
Purpose New password
Pre-Req User mut have email id
Test Data  Change successfully
Steps Following steps will take place in test.
1. User click on “Account” and go to the change
password option
2. System display a new page with some fields 3.
User filled the fields with necessary information
and press “Change”
3. User does not fill all fields
4. Password change successfully

Status Pass

58
4.16 Visitor Customer

Table 4.16: Visitor Customer Test case

Post and post’s information Test Case

Test Engineer Khawaja Ahmad Raza


Test Case ID TC-18
Date June 25, 2021
Purpose Check out
Pre-Req User must view the system
Test Data  View post and information successfully
Steps Following steps will take place in test.
1. User open the application
2. System open a home page and load all posts
3. Error in loading post page
4. User can view all posts.
5. After signup System display post and post
details successfully
6. Post details may be disappearing due to some
error

Status Pass

59
Chapter 5

User Manual

60
Chapter 5
User Manual

5.1 Log in page

Here you can see the Log in page

Figure 5.1: Login In

61
5.2 Admin Sign In

Admin write Email and password furniture@admin.com and password 111111 to sign
in the application and select Admin option below and clicks on sign in button.

Figure 5-2 Sign in

62
5.3 Admin Home Page

Now you can see Admin home page

Figure 5-3 Admin Home page

63
5.4 Admin Portal

When user click on Account then user can view Admin portal that contains log out
option. As you can see in below figure.

Figure 5-4 Admin portal

64
5.5 Admin View orders

User click on orders a new page is open that contains orders of the customers.
Customers can place three type of orders like Simple, Custom and repair.

Figure 5-5 Admin view orders

65
5.6 Admin View Order Details

User click on Orders and application will load order that customer is placed. A new
page is open that contains details like Furniture description, location, contact number
and furniture condition (new or used) for the user. User can contact customers via
SMS or call and User can also delete customer order.

Figure 5-6 Admin view order detail

66
5.7 Create Post

User click on Orders and then click on plus (+) icon to create a new post.

 User choose post image from gallery


 Write post title
 Select category
 Select Condition
 Add Price
 Add Phone number
 Type address
 Description
 Click on Create Post option
 Post create successfully

Figure 5-7 Create post

67
5.8 Feed Back

User click on Feedback option. System will load Feedback page for user where
customers give feedback about the products.

Figure 5-8 Feedback

68
5.9 Sign Up

Here user select customer from the options and click on Sign up button

Figure 5-9 Sign up

69
5.10 Sign In

Now user open Log in page and type Email and password for Customer and click on
sign in.

Figure 5-10 Sign in

70
5.11 Customer’s Home Page

After sign in user can see Home page

Figure 5-11 Customer’s Home page

71
5.12 View Post Details

User simply click on the post and system will show post details.

Figure 5-12 View post details

72
5.13 Place Order

User click on Orders option a new page is open. System will show three options
(Simple, Custom and Repairing).

Figure 5-13 Place order

73
5.14 Check Out

User clicks on desired furniture. System will show post details. User fill address and
phone number fields and click on Purchase button.

Figure 5-14 Check out

74
5.15 Change Password

User click on Account option. And click on change password.

Figure 5-15 Change password

75
5.16 Forget Password

User click on Forget password option

Figure 5-16 Forget password

76

You might also like