Professional Documents
Culture Documents
Fyp (Obrp) Documentation
Fyp (Obrp) Documentation
Fyp (Obrp) Documentation
Submitted by
Warda Shabbir 17271519-003
Saman Ishtiaq 17271519-043
Maryam Tanveer 17271519-072
OBRP
STATEMENT OF SUBMISSION
This is certifying that “Warda Shabbir” Roll No. “17271519-003”, “Saman Ishtiaq”
Roll No. “17271519-043” and “Maryam Tanveer” Roll No “17271519-072” has
successfully completed the final year project named as “Online Books Reselling Portal”
at the Department of Computer Science, University of Gujrat, to fulfill the requirement of
the degree of BS Hons. in Computer Science.
ii
© Department of Computer Science University of Gujrat
ACKNOWLEDGEMENT
Books can also be the most resourceful activity to learn various experiences and life skills
which can boost personality development of children. Reading is a skill which enhances
perception abilities of a person. Now a days, the main issue is that the people waste their
used books by throwing them in garbage or putting them in cupboard for couple of years,
unused or some people just give their books to ragman. On the other hand, few people are
unable to buy the firsthand books just due to lack of money. Few of them just quit their
studies due to expensive books. To provide such students a golden chance, we are going
to make a website, which helps the people to buy their old books in less price and other
people who are not able to buy firsthand, or expensive books can purchase the
secondhand books in less price and easily from the app without going to market. This will
help the people to save time and travelling cost as well. And it serves as an earning
source for people, who sells their old and used books.
TABLE OF CONTENTS
CHAPTER 1: PROJECT FEASIBILITY REPORT.....................................................1
1.1. INTRODUCTION..........................................................................................................2
1.2. PROJECT/PRODUCT FEASIBILITY REPORT...........................................................2
1.2.1. Technical Feasibility.....................................................................................................2
1.2.2. Operational Feasibility.................................................................................................3
1.2.3. Economic Feasibility....................................................................................................3
1.2.4. Schedule Feasibility......................................................................................................3
1.2.5. Specification Feasibility................................................................................................3
1.2.6. Information Feasibility.................................................................................................4
1.2.7. Motivational Feasibility................................................................................................4
1.2.8. Legal & Ethical Feasibility...........................................................................................4
1.3. PROJECT/PRODUCT SCOPE.......................................................................................4
1.4 PROJECT/PRODUCT COSTING...................................................................4
1.4.1. Project Cost Estimation By Function Point Analysis..............................................4
1.4.2. Project Cost Estimation By Using Cocomo’81 (Constructive Cost Model).............5
1.4.3. Activity Based Costing............................................................................................6
1.5. TASK DEPENDENCY TABLE.....................................................................................6
1.6. CPM-CRITICAL PATH METHOD...............................................................................7
1.7. GANTT CHART............................................................................................................7
1.8. INTRODUCTION TO TEAM MEMBER AND THEIR SKILL SET............................7
1.9. TASK AND MEMBER ASSIGNMENT TABLE..........................................................8
1.10. TOOLS AND TECHNOLOGY WITH REASONING...................................................9
1.11. VISION DOCUMENT...................................................................................................9
1.12. RISK LIST.....................................................................................................................9
1.13. PRODUCT FEATURES/ PRODUCT DECOMPOSITION...........................................9
CHAPTER 2: SOFTWARE REQUIREMENT SPECIFICATION (FOR OBJECT
ORIENTED APPROACH................................................................................................11
2.1. INTRODUCTION.............................................................................................................12
2.1.1. Systems Specifications................................................................................................13
2.1.2. Identifying External Entities.......................................................................................14
2.1.3. Context Level Data Flow Diagram.............................................................................14
2.1.4. Capture "Shall" Statements.........................................................................................14
2.1.5. Allocate Requirements................................................................................................14
2.1.6. Prioritize Requirements..............................................................................................14
2.2. ONLINE BOOKS RESELLING PORTAL (OBRP).........................................................14
2.2.1. Introduction................................................................................................................14
2.2.2 Existing Systems...........................................................................................................15
2.2.3 Scope Of The System....................................................................................................15
2.2.4. Summary Of Requirements: (Initial Requirements).....................................................15
2.2.5. Identify External Entities............................................................................................15
2.2.6. Capture "Shall" Statements.........................................................................................16
2.2.7 Allocate Requirements:................................................................................................17
2.2.8. Prioritize Requirements:.............................................................................................18
2.2.9. Requirements Trace-Ability Matrix.............................................................................19
2.1.8. Interface Requirements...............................................................................................20
2.2.10. High Level Use Case Diagram..................................................................................21
2.2.11. Analysis Level Use Case Diagram............................................................................22
2.2.12. User Case Descriptions............................................................................................22
2.3 NON-FUNCTIONAL ATTRIBUTES................................................................................25
CHAPTER 3: SOFTWARE REQUIREMENT SPECIFICATION AND DESIGN
DOCUMENT (FOR OBJECT ORIENTED APPROACH)..............................................26
3.1. INTRODUCTION........................................................................................................27
3.2. DOMAIN MODEL.......................................................................................................27
3.3. SYSTEM SEQUENCE DIAGRAM.............................................................................28
3.4. SEQUENCE DIAGRAM:.............................................................................................29
3.5. COLLABORATION DIAGRAM:................................................................................29
3.5.1. Contents Of Collaboration Diagram.....................................................................30
3.5.2. Constructs Of Collaboration Diagram..................................................................30
3.6. DESIGN CLASS DIAGRAM:.....................................................................................31
3.7. STATE CHART DIAGRAM:.......................................................................................32
CHAPTER 4: USER INTERFACE DESIGN...............................................................35
4.1. INTRODUCTION........................................................................................................36
4.2. SITE MAPS..................................................................................................................36
4.3. STORY BOARD..........................................................................................................38
4.4. NAVIGATIONAL MAPS............................................................................................38
4.5. TRACEABILITY MATRIX.........................................................................................39
CHAPTER 5: SOFTWARE TESTING.........................................................................41
5.1 INTRODUCTION..............................................................................................................42
5.2 TEST PLAN.......................................................................................................................42
5.2.1. Test Plan Identifier.....................................................................................................43
5.2.2. Introduction................................................................................................................43
5.2.3. Test Items....................................................................................................................43
5.2.4. Features To Be Tested.................................................................................................44
5.2.5. Features Not To Be Tested..........................................................................................44
5.2.6. Approach....................................................................................................................44
5.2.7. Item Pass/Fail Criteria...............................................................................................44
5.2.8. Suspension Criteria And Resumption Requirements...................................................44
5.2.9. Test Deliverables........................................................................................................44
5.2.10. Testing Tasks............................................................................................................45
5.2.11. Environmental Needs................................................................................................45
5.2.12. Responsibilities.........................................................................................................45
5.2.14. Schedule....................................................................................................................46
5.2.15. Risks And Contingencies...........................................................................................46
5.2.16. Approvals..................................................................................................................46
5.3. TEST DESIGN SPECIFICATION...............................................................................46
5.3.1. Purpose.......................................................................................................................46
5.3.2. Outline........................................................................................................................46
5.4. TEST PLAN IDENTIFIER...........................................................................................47
5.4.1. Introduction................................................................................................................47
5.4.2. Test Items....................................................................................................................47
5.4.3. Features To Be Tested................................................................................................48
5.4.5. Approach....................................................................................................................48
5.4.6. Item Pass/Fail Criteria...............................................................................................48
5.4.7. Suspension Criteria And Resumption Requirements...................................................48
5.4.8. Test Deliverables........................................................................................................48
5.4.9. Testing Tasks..............................................................................................................49
5.4.10. Environmental Needs................................................................................................49
5.4.11. Responsibilities.........................................................................................................49
5.4.12. Staffing And Training Needs.....................................................................................49
5.4.13. Schedule...................................................................................................................49
5.4.14. Risks And Contingencies...........................................................................................49
5.4.15. Approvals.................................................................................................................50
5.5. TEST PROCEDURE SPECIFICATION......................................................................50
5.5.1. Test Case Specification Identifier...............................................................................50
5.5.2. Test Items....................................................................................................................50
5.5.3. Input Specifications....................................................................................................50
5.5.4. Output Specifications..................................................................................................50
5.6. ENVIRONMENTAL NEEDS......................................................................................50
5.6.1. Hardware...................................................................................................................50
5.6.2. Software......................................................................................................................50
5.6.3. Other..........................................................................................................................51
5.6.4. Special Procedural Requirements...............................................................................51
5.6.5. Inter Case Dependencies............................................................................................51
5.6.6. Test Procedure Specification......................................................................................51
5.7. TEST LOG....................................................................................................................52
5.7.1. Purpose.......................................................................................................................52
5.8. TEST INCIDENT REPORT.........................................................................................54
5.8.1. Purpose.......................................................................................................................54
5.8.2. Outline........................................................................................................................54
5.9. TEST SUMMARY REPORT.......................................................................................55
5.9.1. Purpose.......................................................................................................................55
5.9.2. Outline........................................................................................................................55
CHAPTER 6: USER MANUAL.....................................................................................57
6.1 GENERAL INFORMATION.............................................................................................58
6.1.1 System Overview..........................................................................................................58
6.2 SYSTEM SUMMARY.......................................................................................................58
6.2.1 System Configuration..................................................................................................58
6.2.2 User Access Levels......................................................................................................58
6.2.3 Contingencies..............................................................................................................58
6.3 GETTING STARTED........................................................................................................58
6.3.1 Usage Guide................................................................................................................58
6.3.2 Logging In...................................................................................................................58
6.4 USING THE SYSTEM.......................................................................................................59
6.4.1. Home Screen...............................................................................................................60
6.4.2 Chatbot........................................................................................................................62
6.4.3 Root User Dashboard..................................................................................................63
6.4.4 Admin Dashboard........................................................................................................64
6.4.5 User Dashboard..........................................................................................................64
6.4.6 Sell Page......................................................................................................................65
6.4.7 Products Page.............................................................................................................65
6.4.8 View Product Page......................................................................................................66
6.4.9 Cart.............................................................................................................................66
6.4.10 Checkout....................................................................................................................67
OBRP
1
© Department of Computer Science University of Gujrat
OBRP
1.1. Introduction
Books can also be the most resourceful activity to learn various experiences and life skills
which can boost personality development of children. Reading is a skill which enhances
perception abilities of a person. Now a days, the main issue is that the people waste their
used books by throwing them in garbage or putting them in cupboard for couple of years,
unused or some people just give their books to ragman. On the other hand, few people are
unable to buy the firsthand books just due to lack of money. Few of them just quit their
studies due to expensive books. To provide such students a golden chance, we are going
to make a website, which helps the people to buy their old books in less price and other
people who are not able to buy firsthand, or expensive books can purchase the
secondhand books in less price and easily from the app without going to market. This will
help the people to save time and travelling cost as well. And it serves as an earning
source for people, who sells their old and used books.
This project is like an e-bookstore website where books can be bought from the comfort
of home through the Internet. An online bookstore is a virtual store on the Internet where
customers can browse the catalog and select books of interest. User can select many
books and those books stored in cart. At checkout time, the items in the shopping cart
will be presented as an order. At that time, more information will be needed to complete
the transaction. Usually, the customer will be asked to fill the basic details or select a
billing address, a shipping address, a shipping option, and payment information such as
credit card number. The system can be very well used by the user as well as book
shopkeepers to expand their customers.
2
© Department of Computer Science University of Gujrat
To check whether the module technically feasible or not we have to give the
following two question answer.
Q.1 Is the proposed system practical?
Ans. The proposed system is practical as we have all the resources available. Also
building up this module requires the minimum amount of hardware & software is easily
available. So, the proposed system is extremely efficient and practical.
Q.2 Do we currently possess the necessary technology?
Ans. Looking into the system requirement, we can see that we possess all the hardware
and software requirements. Also, the technology used is easily available and deployed
all around the world.
Figure 1.1
Figure 1.2
T1 T2 T3 T4 T5 T6 T7 T8 T9 T10
Warda Shabbir
Saman Ishtiaq
Maryam Tanveer
1 E-Commerce Feature
2 Order Management
3 Searching
9
© Department of Computer Science University of Gujrat
OBRP
4 Admin Overview
5 AI Chatbot for Support
Table 1.7
10
© Department of Computer Science University of Gujrat
Chapter 2: Software Requirement Specification (For Object
Oriented Approach
2.1. Introduction
Requirements engineering process provides the appropriate mechanism for understanding
what the customer wants, analyzing need, assessing feasibility, negotiating a reasonable
solution, specifying the solution unambiguously, validating the specification and
managing the requirements as they are transformed into an operational system. The task
of capturing, structuring, and accurately representing the user’s requirements so that they
can be correctly embodied in systems which meet those requirements (i.e., are of good
quality).
• Requirement’s elicitation
• Requirement’s analysis and negotiation
• Requirement’s specification
• System modeling
• Requirement’s validation
• Requirements management
Figure 2.1
2.1.1.1 Introduction
Books can also be the most resourceful activity to learn various experiences and life skills
which can boost personality development of children. Now a days, the main issue is that
the people waste their used books by throwing them in garbage or putting them in
cupboard for couple of years, unused or some people just give their books to ragman. On
the other hand, few people are unable to buy the firsthand books just due to lack of
money. Few of them just quit their studies due to expensive books. To provide such
students a golden chance, we are going to make a website, which helps the people to buy
their old books in less price and other people who are not able to buy firsthand, or
expensive books can purchase the secondhand books in less price and easily from the app
without going to market. This will help the people to save time and travelling cost as
well. And it serves as an earning source for people, who sells their old and used books.
Figure 2.2
Figure 2.3
2.2.11. Analysis Level Use Case Diagram
Figure 2.4
ID 3
Name Search
Description User can search for any products using ISBN
Pre-Condition User is viewing the system in his web browser.
Post-Condition Users can search for books of their choice.
Dependency None
Scenario 1. User enters a search query into the search bar.
2. User can see search suggestions.
3. User clicks on the search suggestion of their choice to view
more details.
Table 2.7
ID 4
Name Shop
Description User has a shop module to look through all products by applying
filters of their choice.
Pre-Condition User is viewing the shop page
Post-Condition User has a shortlist of books of their choice.
Dependency None
Scenario 1. User clicks shop from the menu.
2. User can view all books.
3. User selects parameters from the right filter box.
4. User changes parameter to shortlist their selection.
Table 2.8
ID 5
Name Orders Management
Description User can use the e-commerce features of the system to record order
for their books.
Pre-Condition User is sign in
Post-Condition User places an order
Dependency UC_Auth
Scenario 1. User uses the “add to cart” option to select books to buy.
2. User can view the cart by selecting the option in top right
menu.
3. User finalizes an order and clicks checkout.
4. User order is recorded and now the user can view the status
of the order in their dashboard.
5. User can also check the orders they received if they are a
seller and have listed products.
6. User can change status of the order based on the status of
the ordered products in his inventory.
Table 2.9
ID 6
Name Administration
Description This section is exclusive for only admins of the system.
Pre-Condition User is signed in and has admin privileges.
Post-Condition User can view the admin section and can perform all the functions
listed.
Dependency UC_Auth
Scenario 1. User signs in
2. User can view the admin feature in his dashboard.
3. User can manage products.
User can edit products.
User can delete products.
User can view details of all the products listed by all
users.
4. Use can manage other users.
5. User can view all orders.
6. User can list categories for the system.
Table 2.10
ID 7
Name Support Bot
Description User has an interactive bot that helps them through using the
system.
Pre-Condition User is viewing the application in the system.
Post-Condition User can ask, select action and make queries through the bot.
Dependency None
Table 2.11
2.3 Non-Functional
Attributes
Performance The front-page load time must be no more than 5 seconds for users
that access the website using browser.
Availability The system shall not be unavailable more than 1 hour per 1000 hours
of operation.
Security The website shall identify all its users before allowing them to use its
capabilities.
Maintainability The program must be designed in a way that new addition can be
done without changing the already developed structure.
Portability Website must be access able by users from multiple operating
systems including Microsoft Windows, macOS, and Android.
Reliability The system defect rate shall be less than 1 failure per 1000 hours of
operation.
Chapter 3: Software Requirement Specification and Design
Document (For Object Oriented Approach)
3.1. Introduction
Third deliverable is all about the software design. In the previous deliverable, analysis of
the system is completed. So, we 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 the 3rd deliverable.
1. Domain Model
2. System Sequence Diagram
3. Sequence Diagram
4. Collaboration Diagram
5. Design Class Diagram
6. State Chart Diagram
Now we discuss these artifacts one by one as follows:
Figure 3.2
User Sign Up
User Login
Figure 4.2
5.2.2. Introduction
Summarize the software items and software features to be tested. The need for each item
and its history may be included. References to the following documents, when they exist,
are required in the highest-level test plan:
Project authorization.
Project plan.
Quality assurance plan.
Configuration management plan.
Relevant policies.
Relevant standards.
In multilevel test plans, each lower-level plan must reference the next higher-level plan
All major functionality of the Application should work as intended, the pass percentage
of test cases should be more than 95%, and there should not be any critical bugs.
Specify the names and titles of all persons who must approve this plan. Provide space for
the signatures and dates.
Reference any incident reports relating to the test items. Items that are to be specifically
excluded from testing may be identified.
5.4.3. Features to be tested
Identify all software features and combinations of software features to be tested. Identify
the test design specification associated with each feature and each combination of
features.
5.4.5. Approach
Describe the overall approach to testing. For each major group of features or feature
combinations, specify the approach that will ensure that these feature groups are
adequately tested. Specify the major activities, techniques, and tools that are used to test
the designated groups of features. The approach should be described in sufficient detail to
permit identification of the major testing tasks and estimation of the time required to do
each one. Specify the minimum degree of comprehensiveness desired. Identify the
techniques that will be used to judge the comprehensiveness of the testing effort (e.g.,
determining which statements have been executed at least once). Specify any additional
completion criteria (e.g., error frequency). The techniques to be used to trace
requirements should be specified. Identify significant constraints on testing such as test
item availability, testing resource availability, and deadlines.
5.4.11. Responsibilities
Identify the groups responsible for managing, designing, preparing, executing,
witnessing, checking, and resolving. In addition, identify the groups responsible for
providing the test items identified and the environmental needs identified. These groups
may include the developers, testers, operations staff, citizen representatives, technical
support staff, data administration staff, and quality support staff.
5.4.13. Schedule
Include test milestones identified in the software project schedule as well as all item
transmittal events. Define any additional test milestones needed. Estimate the time
required to do each testing task. Specify the schedule for each testing task and test
milestone. For each testing resource (i.e., facilities, tools, and staff), specify its periods of
use.
5.6.2. Software
Specify the system and application software required to execute this test case. This may
include system software such as operating systems, compilers, simulators, and test tools.
In addition, the test item may interact with application software.
5.6.3. Other
Specify any other requirements such as unique facility needs or specially trained personnel.
5.6.6.2. Outline
Following are the contents of test procedure.
Specification:
a) Test procedure specification identifier
b) Purpose
Test items identification being transmitted for testing which includes the person
responsible for each item, its physical location, and its status.
5.6.9.2. Outline
A test item transmittal report shall have the following structure:
a) Transmittal report identifier
b) Transmitted items
c) Location
d) Status
Test log - 1
Shop Features
Order Placement
Order Status Tracking
Table 5.2
Test Log - 2
Activity:
Product Management
Order Management
Profile Management
Table 5.3
Test Log - 3
Activity:
Product Management
Order Management
Profile Management
Users Management
Table 5.4
Test Log - Z
Test log identifier T-Z
Activity:
Product Management
Order Management
User Management
Order Status Tracking
Order Sales Tracking
Table 5.5
5.8.2. Outline
A test incident report shall have the following structure:
a) Test incident report identifier
b) Summary
c) Incident description
d) Impact
The sections shall be ordered in the specified sequence. Additional sections may be
included at the end. If some or all the content of a section is in another document, then a
reference to that material may be listed in place of the corresponding content. The
referenced material must be attached to the test incident report or available to citizens of
the incident report. Details on the content of each section are contained in the following
sub clauses.
5.9. Test summary report
5.9.1. Purpose
To summarize the results of the designated testing activities and to provide evaluations
based on these results.
5.9.2. Outline
A test summary report shall have the following structure:
a) Test summary report identifier
b) Summary
c) Variances
d) Comprehensive assessment
e) Summary of results
f) Evaluation
g) Summary of activities
h) Approvals
The sections shall be ordered in the specified sequence. Additional sections may be
included just prior to Approvals. If some or all the content of a section is in another
document, then a reference to that material may be listed in place of the corresponding
content. The referenced material must be attached to the test summary report or available
to citizens of the summary report. Details on the content of each section are contained in
the following sub clauses
Table 5.6
Sr. Action Inputs Expected Actual Test Test Test
No output
output Tool Result comments
Table 5.7
Chapter 6: User Manual
6.1 General information
“OBRP” is basically a web-based application that enables user to sell and buy
secondhand books. It allows user to update, delete his/her books. It allows user the
facility of order management. It allows user to track his/her order. The user can view the
status of the order.
6.1.1 System Overview
OBRP is basically developed to help the students who cannot buy expensive books. The
students can also earn by selling their old books. First, they must sign up to uploads
books and their description, price etc. the user can track their orders and submit their
feedback.
6.3.2 Logging In
Create account on the website by using email and password and then clicking “Sign up”
button. After signup, website will take user to sign in/login screen of website. User can
now login by providing email and password that was used while signing up.
Figure 6.1
Figure 6.2
Figure 6.4
Figure 6.5
Figure 6.6
6.4.4 Admin Dashboard
Admin can sell and purchase books
Figure 6.7
Figure 6.8
6.4.6 Sell page
Figure 6.9
Figure 6.10
6.4.8 View Product Page
Figure 6.11
6.4.9 Cart
Figure 6.12
6.4.10 Checkout
Figure 6.13