Professional Documents
Culture Documents
Tooba
Tooba
By
Tooba Rehman
Class: Mcs 4th
Roll No. SP19M2MA037
Revision History
Date Description Author Comments
Document Approval
The following Software Requirements Specification has been accepted and approved by the following:
Signature Printed Name Title Date
MS. Bariera Sarwar Supervisor, <02/09/21>
CSIT 21306
Ms. Quratulain Reviewer, DAI
Quraishi
Ms. Sana Gul Reviewer, DCS
Page ii 02/11/21 f
Final Year Project Online Jewelry Shopping system
TABLE OF CONTENTS
CHAPTER 1 ............................................................................................................................................. 1
INTRODUCTION ................................................................................................................................... 1
1.1 PURPOSE ...................................................................................................................................... 1
Admin ................................................................................................................................................. 1
1.2 SCOPE .......................................................................................................................................... 1
1.3 DEFINITIONS, ACRONYMS, AND ABBREVIATIONS ........................................................................ 2
Table1. Terminologies, Abbreviations and Definition....................................................................... 2
1.4 REFERENCES .................................................................................................................................... 2
1.5 OVERVIEW ................................................................................................................................... 2
1.6 PRODUCT PERSPECTIVE ............................................................................................................... 3
1.6.1 System Interfaces .................................................................................................................... 3
1.6.2 Interfaces ................................................................................................................................. 3
1.6.3 Hardware Interfaces ................................................................................................................ 3
1.6.4 Software Interfaces .................................................................................................................. 4
1.6.5 Communications Interfaces ..................................................................................................... 4
1.6.6 Memory Constraints ................................................................................................................ 4
1.6.7 Operations ............................................................................................................................... 4
1.7 PRODUCT FUNCTIONS .................................................................................................................. 4
1.8 USER CHARACTERISTICS .............................................................................................................. 5
1.9 CONSTRAINTS .............................................................................................................................. 5
1.10 ASSUMPTIONS AND DEPENDENCIES ............................................................................................. 5
1.11 APPORTIONING OF REQUIREMENTS .............................................................................................. 5
1.12 CLASS DIAGRAM .......................................................................................................................... 6
2.1 SPECIFIC REQUIREMENTS ............................................................................................................. 8
Admin Aspect ..................................................................................................................................... 8
User Aspect ........................................................................................................................................ 8
Contact Us .......................................................................................................................................... 8
2.2 EXTERNAL INTERFACES ............................................................................................................... 8
2.3 FUNCTIONAL REQUIREMENTS ...................................................................................................... 8
2.3.1 Homepage................................................................................................................................ 9
2.3.2 Admin Login ........................................................................................................................... 9
2.3.3 Contact Us ............................................................................................................................. 10
2.3.4 Logout ................................................................................................................................... 10
2.3.5 Select Category ..................................................................................................................... 10
2.3.6 See Details ............................................................................................................................. 10
2.3.7 Buy Product ........................................................................................................................... 11
2.3.8 USE CASES ................................................................................................................................. 11
SYSTEM USE CASE ................................................................................................................................ 11
Fig 1.................................................................................................................................................. 11
2.4 PERFORMANCE REQUIREMENTS ................................................................................................. 15
2.5 LOGICAL DATABASE REQUIREMENTS ........................................................................................ 15
2.6 DESIGN CONSTRAINTS ............................................................................................................... 15
Page iv 02/11/21 f
Final Year Project Online Jewelry Shopping system
Page v 02/11/21 f
Final Year Project Online Jewelry Shopping system
Chapter 1
Introduction
The online jewelry has emerged as one of the fastest growing industries in Asia. This industry has been
majorly driven by factors such as growing base of internet users, rising awareness among the users and
lucrative prices of online jewelry. It has been observed that now majority of the Asian population is quite
familiar with the internet and its widespread uses. Due to the convenience provided by online jewelry,
customers can compare the jewelry offered by different companies easily!
1.1 Purpose
In today’s busy world, people don’t have time for their personal needs. And the technology fast that anyone
can do by sitting in a room. If someone buys new things, he can buy online with the help of Internet.
The application is implemented in PHP and consists of two main components:
Admin
Customer
Admin site consists of the features such as Login Username & Password, Input Items, Modify Items, Delete
items, Query Sale Data, Query Database’s data, and Logout.
Customer site consists of the features such as Select Products, Search Products, Buy Items, Continue
jewelry shopping, View Cart, Checkout, Sign-in, Creating an Account, Bill/Ship Information, Confirm,
Send Order, and Delete Order. There are also the future works for this application .There are mainly three
such objectives which are as follows:
• To shop in the comfort of your home, without having to step out of the door.
• To be able to easily save money and compare prices from website to website.
1.2 Scope
The scope of this jewelry shopping system is to provide user comfortable environment of Purchasing and
selling products and services over the internet without the need of going physically to the market is what online
jewelry shopping all about. Online jewelry shopping is just like a retail store jewelry shopping that we do by
going to the market, but it is done through the internet. Online jewelry shopping has made jewelry shopping
painless and added more fun.
Online stores offer product description, pictures, comparisons, price and much more.Online jewelry shopping
can be either B2B (business to business) or B2C (business to consumer)
Jewelry shopping cart is one of the important facility provided in online jewelry shopping, this lets customer to
browse different goods and services and once they select an item to purchase they can place the item in
jewelry shopping cart, and continue browsing till the final selection have in the database. Limited access is
available to the operator. As this is generic software it can be used by a wide variety of outlets (Retailers and
Wholesalers) to automate the process of manually maintaining the records related to the subject of maintaining
the stock and cash flow.
Page 1 02/11/21 f
Final Year Project Online Jewelry Shopping system
1.4 References
1. W3School HTML/CSS Tutorials, References and Examples @ http://www.w3schools.com/. (W3School is not
related to W3C).
2. WHATWG (Web Hyper Text Application Working Group) HTML(5) Specification
(@ https://html.spec.whatwg.org/multipage/index.html).
3. HTML 4.01 Specification W3C Recommendation 24 December 1999 (@ http://www.w3.org/TR/html401).
4. XHTML 1.0 Specification W3C Recommended Revised 1 August 2002 (@ http://www.w3.org/TR/xhtml1).
This information can be provided by reference to an appendix or to another document. If your application
uses specific protocols or RFC’s, then reference them here so designers know where to find them.
1.5 Overview
The remaining sections of this document provide a general description, including characteristics of the users of this
project, the product's hardware, and the functional and data requirements of the product. General description of the
project is discussed in chapter 2 of this document.Chapter 3 gives the functional requirements, data requirements
and constraints and assumptions made while designing the Online Store. It also gives the user viewpoint of product.
Chapter 3 also gives the specific requirements of the product.Chapter 3 also discusses the external interface
requirements and gives detailed description of functional requirements. Chapter4 is for supporting information.
Page 2 02/11/21 f
Final Year Project Online Jewelry Shopping system
Page 3 02/11/21 f
Final Year Project Online Jewelry Shopping system
Page 4 02/11/21 f
Final Year Project Online Jewelry Shopping system
Page 5 02/11/21 f
Final Year Project Online Jewelry Shopping system
Page 6 02/11/21 f
Final Year Project Online Jewelry Shopping system
Page 7 02/11/21 f
Final Year Project Online Jewelry Shopping system
Chapter 2
Software Requirements Specification
1 Home Page This function will allow the user to visit our entire online store
Page 8 02/11/21 f
Final Year Project Online Jewelry Shopping system
2 Login This function will allow the Admin to login through Username
and Password to access the website and to make changes. The
Administrator login and perform all operation in the database.
3 Select category The User Should Select their desired jewelry category to buy
required product.
4 Find Product The user find required product to buy that one
7 Log Out If Administrator and want to close the system then select the
logout Button
2.3.1 Homepage
Description: This function will allow the User visit website and to buy his/her
desired products
Input: The User should visit website and check product and details briefly
before moving to next step
Error Handling: If .
Description: This function will allow the Admin to login to account on Online
Jewellry Shopping system.
Input: The Admin should be able Login the website. The Admin must provide
Registered Username And Password
Error Handling: If the Username and Password is not provided proper manner its
gives Error.
Page 9 02/11/21 f
Final Year Project Online Jewelry Shopping system
2.3.3 Contact Us
Description: This function will allow the User to Contact to admin to send different
Messages
Input: The User should write message To send their desired message to
admin team.
Processing: User should wait for response to his message
2.3.4 Logout
Description: This function will allow the Admin to logout to account on Online
Jewellry Shopping system.
Input: The Admin should be able Logout the website. If session is destroyed
properly.
Processing: Account Logout using provided inputs.
Description: This function will allow the User to Select the category of jewelry from list
Description: This function will allow the User to Know more about selected product
Input: The User should click on see details button to check product details
Page 10 02/11/21 f
Final Year Project Online Jewelry Shopping system
Input: The User should write message To send their desired message to
admin team.
Processing: User should wait for response to his message
Fig 1
Page 11 02/11/21 f
Final Year Project Online Jewelry Shopping system
Home Page
Fig 2
Fig 3
Page 12 02/11/21 f
Final Year Project Online Jewelry Shopping system
Select Category
Fig 4
Contact Us Use Case
Fig 5
Page 13 02/11/21 f
Final Year Project Online Jewelry Shopping system
Product Details
Page 14 02/11/21 f
Final Year Project Online Jewelry Shopping system
Logout
Session Destroyed
Admin
Fig 6
2.4 Performance Requirements
The system shall accommodate high number of items and users without any fault.
Responses to view information shall take no longer than 5 seconds to appear on the screen.
Page 15 02/11/21 f
Final Year Project Online Jewelry Shopping system
2.7.1 Reliability
The system is reliable as all the cutomers can easily access it even if they have lower internet connection .Thus the
overall stability of the system depends on the stability of container and its underlying operating system.
2.7.2 Availability
The system will be available at all times, meaning the user can access it using a web browser, only restricted
by the down time of the server on which the system runs. In case of a hardware failure or database
corruption, a replacement page will be shown. Also in case of a hardware failure or database corruption,
backups of the database should be retrieved from the server and saved by the administrator. Then the
service will be restarted. It means 24 X 7 availability.
2.7.3 Security
The system use SSL (secured socket layer) in all transactions that include any confidential customer
information.
The system must automatically log out all customers after a period of inactivity.
The system should not leave any cookies on the customer’s computer containing the user’s password.
The system’s back-end servers shall only be accessible to authenticated administrators.
Sensitive data will be encrypted before being sent over insecure connections like the internet.
2.7.4 Maintainability
A commercial database is used for maintaining the database and the application server takes care of the site.
In case of a failure, a re-initialization of the program will be done. Also the software design is being done
with modularity in mind so that maintainability can be done efficiently.
2.7.5 Portability
The application is HTML and scripting language based. So The end-user part is fully portable and any system using
any web browser should be able to use the features of the system, including any hardware platform that is available
or will be available in the future.
An end-user is use this system on any OS; either it is Windows or Linux.
The system shall run on PC, Laptops, and PDA etc.
ID Characteristic H/M/L 1 2 3 4 5 6 7 8 9 10 11 12
1 Correctness *
2 Efficiency *
3 Flexibility *
4 Integrity/Security *
5 Interoperability *
6 Maintainability *
7 Portability *
8 Reliability *
9 Reusability *
Page 16 02/11/21 f
Final Year Project Online Jewelry Shopping system
10 Testability *
11 Usability *
12 Availability *
Order Class
Order ID: the order ID associated with that particular order
User ID: the ID of the user who placed the order
Payment method: the mode of payment
Address: the shipping address of the user
Product_Id: the ID of the product that was ordered
Product Class
Attribute: the description of the product
Product ID: the unique ID of the product
Name: the name of the product
Price: the price of the product
Page 17 02/11/21 f
Final Year Project Online Jewelry Shopping system
Feedback Class
Comment ID: the ID of the comment published
Product ID: the ID of the product on which the comment was made
Customer ID: the ID of the customer who made the comment
Timestamp: the time when the comment was made
Data: the string that was posted as a comment
Specifications
Weight: the weight of the product
Length: the length of the product
Width: the width of the product
Height: the height of the product
Shippable: whether the product is shippable or not
.
2.8.3 Objects
Objects refers to the strategies that are used to market a product or service online, marketing strategies that include
search engine optimization and search engine submission, copywriting that encourages site visitors to take action,
web site design strategies, online promotions, reciprocal linking, and email marketing.
Attributes
Full Name.
Email.
Password.
Mobile Number.
Functions
Create Account.
Login.
Menu.
Menu List.
Select Category
Show details .
Update Website.
Logout
2.8.4 Feature
The major features the product contains or the significant functions that it performs or lets the user perform. Details
will be provided in Section 3, so only a high level summary is needed here. Organize the functions to make them
Page 18 02/11/21 f
Final Year Project Online Jewelry Shopping system
understandable to any reader of the SRS. A picture of the major groups of related requirements and how they relate,
such as a top level data flow diagram or a class diagram, is often effective..
2.8.5 Stimulus
A “blackbox” description of software requirements describes the behaviour of the system in terms of its
external stimuli (inputs) and external responses (outputs). In general, every requirement is specified in terms
of a relationship between an externally generated stimulus and an externally visible response. The
advantages of using a “blackbox” approach for describing requirements include minimizing the potential for
including internal design details in the specification and maximizing the suitability of the specification in
testing the system’s software. Discouraging the inclusion of design details in the specification decreases the
likelihood of overly constraining the design and makes the specification simpler to maintain as the design
details may change as the project develops. Minimizing the software’s internal processing descriptions
simplifies the development of “blackbox” test cases as the test engineers do not have to derive the
requirements based test cases from descriptions of internal processing.
2.8.6 Response
The SRS technique is based on describing externally visible stimuli and responses. The requirements are
typically described in terms of a direct relationship between a group of externally generated stimuli and a
group of externally visible responses. Because of the “blackbox” approach, a specification written in the
SSR technique is well suited for use as a working document by the system integration test group.
2.8.7 Functional Hierarchy
While developing the system a conscious effort has been made to create and develop a software package, making use
of available tools, techniques and resources – that would generate a proper System While making the system, an eye
Page 19 02/11/21 f
Final Year Project Online Jewelry Shopping system
has been kept on making it as user-friendly, as cost-effective and as flexible as possible. As such one may hope that
the system will be acceptable to any user and will adequately meet his/her needs. As in case of any system
development processes where there are a number of shortcomings, there have been some shortcomings in the
development of this system also. The project is still under modification
2.10 ER-diagram
fname Lname
Product Order
Parcel Sent
Detail Booked
name
contact Pro id
no Product Order
confirm
age
email
Addres date
s
place
available Out of
stock time
Gender
Male Female
Page 20 02/11/21 f
Final Year Project Online Jewelry Shopping system
Chapter 3
System Design and Architecture
Page 21 02/11/21 f
Final Year Project Online Jewelry Shopping system
Level 1 DFD
Page 22 02/11/21 f
Final Year Project Online Jewelry Shopping system
Level 2 DFD
Page 23 02/11/21 f
Final Year Project Online Jewelry Shopping system
• Category Id
• Name Product
• Product Id
• Name
• Price
• Image
• Status
Data Base Tables
Item Details
Page 24 02/11/21 f
Final Year Project Online Jewelry Shopping system
Product
Page 25 02/11/21 f
Final Year Project Online Jewelry Shopping system
3.5.1.1.7 Integer
3.5.1.1.8 11 digits
3.5.1.1.9 00000000000-99999999999
3.5.2 Category
3.5.2.1 Category id
3.5.2.2 Integer
3.5.2.3 digits 4.2.2.1.3 0000-9999
3.5.3 Product
3.5.3.1 Product id
3.5.3.2 Integer
3.5.3.3 4 digits 4.2.3.1.3 0000-9999
Page 26 02/11/21 f
Final Year Project Online Jewelry Shopping system
Chapter 4
Implementation and Testing
4.1 Code Modules
Following are all the modules designed for the Online Shopping System.
4.1.1 Shop Products Module
This module starts when the user visits the home page or when a user searches for a product by entering a search
term. This part of the application includes displaying all the products that are available or the products that match the
search term entered by the user. The user can then filter these products based on various parameters like
manufacturer, product type, operating system supported or a price range. The user browse through the products and
each product would be displayed with an image and its features like operating system supported, number of user
licenses and if it is a full version or an upgrade version. A user can add a product to the cart either by dragging the
product and dropping it in the cart or by clicking a button. The user would be able to see the shopping cart summary.
4.1.2 Product Description Module
This module starts when a user visits the product description page. A user can view various images of the product of
different sizes. The use can see an enlarged image in a popup window. The user can view the complete specification
of the product like its features, operating system supported, system requirements etc. A user can also view the
manufacturer information and also information about rebates, exchange policies etc. A user can also view the
reviews of the product. A user can also write a review for the product.
4.1.3 Shopping Cart Module
This module starts when the user views the shopping cart. All the products that have been added to the shopping cart
by the user are listed along with their price and the quantity. The total price of all the products added to cart is
displayed. A user can edit the quantity of each product or remove the product from the shopping cart. A user can
remove the product from the cart by clicking a button or by dragging the product and dropping it outside the cart.
The total price changes accordingly when a user edits the quantity of a product or when a product is removed from
the cart.
Page 27 02/11/21 f
Final Year Project Online Jewelry Shopping system
4.4.2 Products
Page 28 02/11/21 f
Final Year Project Online Jewelry Shopping system
Page 29 02/11/21 f
Final Year Project Online Jewelry Shopping system
4.4.7 About us
4.4.8 Footer
Page 30 02/11/21 f
Final Year Project Online Jewelry Shopping system
Page 31 02/11/21 f
Final Year Project Online Jewelry Shopping system
Page 32 02/11/21 f
Final Year Project Online Jewelry Shopping system
Page 33 02/11/21 f
Final Year Project Online Jewelry Shopping system
Page 34 02/11/21 f
Final Year Project Online Jewelry Shopping system
TC ID 01
Tested By Tooba Rehman
Website Name Online Jewelry shopping System
Testing Cycle 01
Purpose Contact page is working properly
Environment Visual studio 2008
Pre-Requisite No
Expected Result Messages are receiving properly
Result Pass
Test Case :02
Page Name Contact us page
TC ID 02
Tested By Tooba Rehman
Website Name Online Jewelry shopping System
Testing Cycle 01
Purpose Contact page is working properly
Environment Visual studio 2008
Pre-Requisite No
Expected Result Messages are receiving properly
Result Message sending error
Test Case :03
Page Name Contact us Page
TC ID 03
Tested By Tooba Rehman
Website Name Online Jewelry shopping System
Testing Cycle 01
Purpose All Inputs are able to get data
Environment Visual studio 2008
Pre-Requisite No
Expected Result Messages are receiving properly
Result Message box error
Page 35 02/11/21 f
Final Year Project Online Jewelry Shopping system
Pre-Requisite No
Expected Result Getting correct username and password
Result Pass
Test Case :02
Page Name Login
TC I 02
Tested By Tooba Rehman
Website Name Online Jewelry shopping System
Testing Cycle 01
Purpose Authorised people are accessing it
Environment Visual studio 2008
Pre-Requisite No
Expected Result Login Succesful
Result Error in username
Test Case :03
Page Name Login
TC ID 03
Tested By Tooba Rehman
Website Name Online Jewelry shopping System
Testing Cycle 01
Purpose Authorised people are accessing it
Environment Visual studio 2008
Pre-Requisite No
Expected Result Login Succcessful
Result Not moving to next page
4.6.6 Test Case For Logout page
Test Case :01
Page Name Logout
TC ID 01
Tested By Tooba Rehman
Page 36 02/11/21 f
Final Year Project Online Jewelry Shopping system
Page 37 02/11/21 f
Final Year Project Online Jewelry Shopping system
Page 38 02/11/21 f