Uploaded by Suman Dey

Coursera SRS

advertisement
SRS for Amazon
Page 1
Software Requirements
Specification
For
Amazon
Prepared By:
Ayanika Chaudhury, 1951217
Suman Kumar Dey, 1951233
Heritage Institute of Technology
07/06/2022
SRS for Amazon
Page 2
Table of Contents
Table of Contents ......................................................................................................................................... 2
List of Figures ................................................................................................................................................ 3
1.0 Introduction ............................................................................................................................................ 4
1.1 Purpose ............................................................................................................................................... 4
1.2 Scope of Project .................................................................................................................................. 4
1.3 Glossary .............................................................................................................................................. 4
1.4 References .......................................................................................................................................... 4
1.5 Overview of Document....................................................................................................................... 4
2.0 Overall Description................................................................................................................................. 6
2.1 System Environment........................................................................................................................... 6
2.2 Functional Requirements Specification ............................................................................................. 6
2.2.1 Student Use Cases ....................................................................................................................... 6
Use Case: Login ................................................................................................................................. 6
Use Case: Search Product ................................................................................................................. 7
Use Case: Add to Cart ....................................................................................................................... 8
Use Case: Buy Product...................................................................................................................... 9
2.3 User Characteristics .......................................................................................................................... 16
2.4 Non-Functional Requirements ......................................................................................................... 16
3.0 Requirements Specification ................................................................................................................. 17
3.1 External Interface Requirements ..................................................................................................... 17
3.2 Functional Requirements ................................................................................................................. 17
SRS for Amazon
Page 3
List of Figures
1.
2.
3.
4.
Use Case Diagram
Activity Diagrams
Class Diagram
Sequence Diagrams
SRS for Amazon
Page 4
1.0 Introduction
1.1 Purpose
The basic purpose of this document is to present the detailed requirements for Amazon. Buyer
and Seller are the main parts of this system. By building this system we will facilitate the Buyers and the
Sellers. Through this system the buyers can buy product. Sellers can easily sell their products and get the
payment. Buyers can search for any item, see reviews, compare them with other similar products. They
can also add those items in their shopping cart and access them just by logging into their account. The
Sellers can add their items in the particular item list. They can view the status of their product. Buyer and
seller both can edit their personal details.
1.2 Scope of Project
This document is intended for providing an abstract overview of Amazon and general overview
of entire project. It will give the access to the Buyer and the Seller to share their important data and to do
all activities between Buyers and Sellers related to business safely.
More specifically, this system is designed to allow the sellers to sell their product directly to the
buyers. The sellers decide the price of a particular product. The buyer may get some discounts as per
special occasion and events. The buyers can also gift any product just by giving any shipping address.
Cancelling orders and returning any item is also possible.
1.3 Glossary
Term
Buyer
Seller
Items
Database
Definition
Person buying any particular item or items and
adding reviews.
Person selling items through the system in their
preferred cost.
Set of things available for sell.
Collection of info related to buyers, sellers, items
etc. maintained by this system
1.4 References
IEEE. IEEE Std 830-1998 IEEE Recommended Practice for Software Requirements Specifications. IEEE
Computer Society, 1998.
1.5 Overview of Document
The next chapter, Overall Description, of this document gives an overview of the functionality of
the product. It describes the informal requirements and is used to establish a context for the technical
requirements specification in the next chapter.
SRS for Amazon
Page 5
The third chapter, Requirements Specification section, of this document is written primarily for
the developers and describes in technical terms the details of the functionality of the product.
Both sections of the document describe the same software product in its entirety, but are
intended for different audiences and thus use different language.
The later parts of the document depict the diagrams of the system in the following order:
•
•
•
•
Use Case Diagram.
Activity Diagrams.
Class Diagram.
Sequence Diagrams.
SRS for Amazon
Page 6
2.0 Overall Description
2.1 System Environment
The System has three active actors. The Seller and Buyer access the system through Internet
via a web browser. The Seller and Buyer accesses the system directly but the resources accessible to the
actors is limited for their use. A buyer can buy products according to their prices only while seller can
change the prices of the product and can also remove them from the list.
2.2 Functional Requirements Specification
This section outlines use cases of each of the actors separately. The use cases are shown
below.
2.2.1 Student Use Cases
Use Case: Login
Diagram:
Use Case Name
Xref
Trigger
Precondition
Login
The user accesses the online Amazon website.
1. The user must be already registered
2. The login details will be displayed with grids for logging into the website.
Basic Path
1. The user should have to give his/her registered mobile number or email-id
in the mobile number/email-id grid.
2. Then the user has to enter the password that was used at the time of
registration.
Alternative Path
1. If the user gives the mobile number or email-id at the time of login then the
user can get an OTP on his/her device to login.
2. The user will get an OTP on the registered mobile number and then he or
she will continue.
Postcondition
The user will be able to use the website later on.
Exception Paths1. 1. If the user forgets his or her password then the user has to give his or her
email ID on the next page.
2. 2. Then the user has to click the reset button then an email with reset
password link will be sent to registered email ID.
SRS for Amazon
Page 7
3. 3. Then the user has to click the link and from there he will be sent to the site
where he or she can change the password by using his last password.
Other
The user can use the options ‘conditions to use’, ‘privacy notice’, ‘help’ if
required.
Brief Description:
The student accesses the website online and searches for a course available in the system database to
enroll to course and watch the lectures.
Initial Step-By-Step Description:
Before this use case can be initiated, Student has already accessed the Coursera Website.
i.
ii.
iii.
iv.
Student chooses to search by course name or by tutor name.
The system displays the list of matched courses to the student.
Student may sort the list by popularity or in order.
Student finds the desired course from the list and selects the desired course.
The system provides detailed information about selected course.
Use Case: Search Product
Diagram:
Use Case Name
Xref
Trigger
Precondition
Basic Path
Alternative Path
Postcondition
Exception Paths
Other
Search Product
The user clicks the search button to search any item.
1. The user must be already registered
2. The user must be logged in with his/her registered number.
1. The user should type the search term in the search area of the website or
app.
1. After logging into the app or website the user can see different types of
products and items in the list. From there the user can choose desirable items
and opt for offers too.
The user can now see the items according to the search term.
1. If the user cannot get the desirable item, then it means that either the item
is out of stock or the item is not available.
The user can filter the items according to price, availability, brand etc.
SRS for Amazon
Page 8
Brief Description:
The student accesses the website online and searches for a course available in the system database to
enroll to course and watch the lectures.
Initial Step-By-Step Description:
Before this use case can be initiated, Student has already accessed the Coursera Website.
i.
ii.
iii.
iv.
Student chooses to search by course name or by tutor name.
The system displays the list of matched courses to the student.
Student may sort the list by popularity or in order.
Student finds the desired course from the list and selects the desired course.
The system provides detailed information about selected course.
Use Case: Add to Cart
Diagram:
Use Case Name
Xref
Add To Cart
-
Trigger
The user accesses the Amazon Website and searches an item.
Precondition
1. The user must be already registered
2. The user must be logged in with his/her registered number.
Basic Path
Alternative Path
Postcondition
Exception Paths
Other
1. The user must select the desired item.
2. Then the user should select the add to cart option available in the item's
page.
3. The system adds the item in the cart and added to cart message is shown.
4. If the upper limit of adding any particular item is reached that item does not
get added to the cart.
1. Recommended Items can be selected as combo offers after adding a
particular item in cart. Path is same from step 2.
The user can now view or delete the items in the cart by logging in from any
machine and can buy them as per convenience.
If the user does not want to add an item in the cart, the steps can be
abandoned at any time.
This use case can be omitted if the user directly opts for buy item from the
item's page.
SRS for Amazon
Page 9
Brief Description:
The student accesses the website online and searches for a course available in the system database to
enroll to course and watch the lectures.
Initial Step-By-Step Description:
Before this use case can be initiated, Student has already accessed the Coursera Website.
i.
ii.
iii.
iv.
Student chooses to search by course name or by tutor name.
The system displays the list of matched courses to the student.
Student may sort the list by popularity or in order.
Student finds the desired course from the list and selects the desired course.
The system provides detailed information about selected course.
Use Case: Buy Product
Diagram:
Use Case Name
Xref
Trigger
Precondition
Basic Path
Alternative Path
Buy Product
The user accesses the Amazon Website.
1. The user must be already registered
2. The user must be logged in with his/her registered number.
1. The user must click on the cart icon and finalise the items in the cart (adding
or deleting) for buying.
2. Then the user should select the proceed to buy option available in the cart
and select the shipping address. The user can also edit or add address.
3. Then the user must select a payment method (credit/debit/UPI/Amazon
Pay/EMI/Pay on delivery).
4. The system will then display the bill including taxes and delivery charges.
The user can also give delivery instructions. By clicking on place your order and
pay the user will be directed to the transaction page except for pay on
delivery.
5. After successful payment the system will then display order placed in your
orders section of the user's account.
In step 1 the user can directly click the buy now option available in the item's
page for only buying a particular item and then repeat from step 3.
SRS for Amazon
Page 10
Postcondition
Exception Paths
Other
The user can now see the order status in your orders section of the user's
account.
The steps can be abandoned at any time before making payment.
In case of cancelling the order, the money is returned to the user account in
some days.
Brief Description:
The student accesses the website online and searches for a course available in the system database to
enroll to course and watch the lectures.
Initial Step-By-Step Description:
Before this use case can be initiated, Student has already accessed the Coursera Website.
i.
ii.
iii.
iv.
Student chooses to search by course name or by tutor name.
The system displays the list of matched courses to the student.
Student may sort the list by popularity or in order.
Student finds the desired course from the list and selects the desired course.
The system provides detailed information about selected course.
SRS for Amazon
Page 11
Use Case Diagram for Amazon
SRS for Amazon
Page 12
Activity Diagram for Amazon: User-Side
SRS for Amazon
Page 13
Activity Diagram for Amazon: Admin-Side
SRS for Amazon
Page 14
Class Diagram for Amazon
SRS for Amazon
Page 15
Sequence Diagram for Amazon
SRS for Amazon
Page 16
2.3 User Characteristics
The three actors of the system, Seller, Buyer and Admin, are expected to be Internet literate and
be able to use search engine. The main page of the website will have the search function and links to
other functions like log in, sign up, order history, Cart items etc. The three actors are also expected to
use buttons, pull-down menus, and similar tools contained in forms of certain pages like log in, sign up,
etc.
2.4 Non-Functional Requirements
The system will be on a server with high-speed Internet capability and very fast processing
machine. The actor will be able to communicate with system via a website through a web browser. The
speed of actor’s connection will depend on the actor’s hardware and Internet speed rather than
system’s hardware as system’s hardware is expected to be much faster than that of actor’s hardware.
The database will be linked to the system and will be readily available at all time to the system. The
system will host the website and understand the communication from actor via website.
SRS for Amazon
Page 17
3.0 Requirements Specification
3.1 External Interface Requirements
There is no external interface required for the system. The database is connected internally to
the system and is part of whole project. The database contains details of sellers, customers, products,
sales transactions etc.
3.2 Functional Requirements
Download