Use cases to
Requirements |
|||
UC-ID |
Use cases |
Req-ID |
Requirements |
UC-1 |
Registration |
Req-1 |
A new user
will have to register in the system by providing the essential details in
order to purchase the books. |
UC-2 |
Login |
Req-2 |
A user must
login with the valid username and password to purchase the book. |
UC-3 |
View Books |
Req-3 |
Users can
view the list of the available books on the home page by viewing the book
name, book image, book price. Users can browse the books by category. |
UC-4 |
Search books |
Req-4 |
Users can search
for a book using the keywords in the search list by book name, author,
publisher or book description. |
UC-5 |
Add to cart |
Req-5 Req-6 |
The user can
add the desired book into the cart by clicking the “add to cart” option on
the book. The user can
view and modify the cart. If the user wants to, the user can continue
shopping. |
UC-6 |
Check out |
Req-7 Req-8 |
This page
will list out all the books in the cart for final confirmation. The user
needs to provide a shipping address before going to the payment process. On
clicking the payment (Card payment /COD), the order will be placed, and the
cart will become empty. |
UC-7 |
Logout |
Req-9 |
Users can
log out of the system by clicking on the “Log Out” button on the “My Account”
page. |
Requirements to Test Procedures |
||
Requirements-ID |
TP-ID |
Test Procedures |
Req-1 |
TP-1 TP-2 |
Without
entering the details of the mandatory fields and clicking the Register
button, the page should display an error message to the user and not move
forward to other pages. If information
is entered in all the fields correctly, the page will display the success
information. After “OK” clicked, it will forward it to the main page. |
Req-2 |
TP-3 TP-4 |
Without
entering the valid username, password and clicking the login button, the page
should display an error message “Invalid login” to the user and will not
forward it to other pages. If all the
details (email id and password) are entered correctly, it will forward it to
the main page. |
Req-3 |
TP-5 |
This page
will show all the available books in the store and it should allow browsing
the books by category. |
Req-4 |
TP-6 |
Click the
search menu and it goes to the search page. Enter the book keywords and click
the search button, then this page will show the results that contain the
keywords. |
Req-5 |
TP-7 |
Click the
add button in the book details page and the system will show a success
message. Click “OK”, the system will direct to the shopping cart with the
book inside the shopping cart. |
Req-6 |
TP-8 TP-9 TP-10 |
Click the
decrease button in the cart for one specific book. The book’s amount should
be decreased by one. Click the
decrease quantity button in the cart for one specific book, the book’s amount
should be decreased by one. Click the
remove button for one specific book. The book should be removed from the
cart. |
Req-7 |
TP-11 |
Logging in
is mandatory to check out the cart. Click the checkout button on the cart
page, then it will go to the checkout page, which will list out all the added
books in the cart. |
Get Free Quote!
425 Experts Online