Vous êtes sur la page 1sur 37

Req. Requirement Bus. Req.

ID
Prio UR#S
Rity at-
Isfied

Use Case ID UC1-BR1.0.1_BR-1.0.8-Registration

System/Application E-commerce website – shopnow.com

Goal Description To be able to register on the website

Actors Primary – User


Secondary – System

Assumption  The system must be available.


 The servers are available and running.

Pre-condition 1. User has a valid email-id


2. User has a valid mobile number
3. User must have access to his/her mobile
4. User must have access to his mail account

Business Rules 1. User’s mobile number and email-id should not


have been registered previously.
2. User’s mobile number must be 10 digit and
must be numeric.
3. User’s email id must be in proper format as,
username@domain
4. User must be an Indian citizen.
5. Password must satisfy following conditions:
 Password must be of minimum of 8 &
maximum 25 characters.
 Password must contain at least 1 uppercase
& 1 lowercase.
 Password must contain at least 1 number.
 Password must contain at least 1 special
character.
6. OTP received on user’s registered mobile
number must be 6 digit.
7. OTP received on user’s registered mobile
number must be valid for 10 minutes only.
8. Entered password must match conform
password.
Trigger NA
Main Scenario Navigation:
shopnow.com Homepage > Sign In > Registration
Process:
1. User must be able to register on the site.
2. User must be able go to registration page.
3. After reaching the registration page user must be
able to enter the following details:
 Name (First name and last name)
 Mobile number
 Email – id (optional)
 Password
 Confirm password
4. User must be able to edit any detail.
5. User must click ‘Submit’ button.
6. User will be redirected to another page where the
user will be able to enter the OTP.
7. User will receive 6-digit OTP on his/her
registered mobile number.
8. If OTP is not received then user must be able to
click ‘Resend OTP’ button to resend the OTP.
9. User must be able to enter 6 digit OTP in the
OTP field.
10. User must be able to click ‘Register’ button.
11. After clicking the ‘Register’ button user is
registered.
12. If user has entered his/her email id, then he/she
should receive a conformation mail from the
system.
13. User must be able to click on the conformation
link, given in the conformation mail.
14. After clicking the conformation link, user’s mail
id is registered and is redirected to the homepage
of the website.

Post-condition 1. User must be able to login on the website.


2. User must be able to search for products.
3. User must be able to browse the website.

Alternate Scenarios NA
Validations 1. System must check that whether the mobile
number is valid.
2. System must check that whether the email id
is valid.
3. System must check whether the entered OTP
is valid and correct.
4. System must check that password is in
proper format.
5. System must check that entered password
matches the conformed password.

Error Messaging 1. If mobile number is invalid, system display


‘Mobile number is invalid. Enter valid mobile
number’.
2. If email-id is invalid, system display ‘Email id
number is invalid. Enter valid mobile number’.
3. If password is not in proper format, system will
display ‘Enter password in proper format’.
4. If entered password does not match conformed
password then system displays ‘Passwords do
not match. Re-enter password’ error message.
5. If OTP is incorrect, system will display ‘Enter
OTP is wrong, enter correct OTP’.
6. If OTP is invalid, system will display message
‘OTP is invalid, enter correct OTP’.
Req. Requirement Bus. Req.
ID
Prio UR#S
Rity at-
Isfied

Use Case ID UC2-BR2.1.1_BR2.4.5-Login

System/Application E-commerce website – shopnow.com

Goal Description To be able to login on the website

Actors Primary – User


Secondary – System

Assumption  The system must be available.


 The servers are available and running.

Pre-condition 1. User has registered on the website.


2. User has access to his/her mobile or has
access to his/her mail account.

Business Rules 1. User must remember his/her mobile number


or email id.
2. User must remember his/her registered
password.
3. OTP received on the mobile number or mail
id of the user should be numeric and 6-digit.
Trigger NA

Main Scenario Navigation:


shopnow.com Homepage > Sign In >Login
Process:
1. User must be able to login on the website.
2. User must be able to go to login page.
3. After reaching the login page, user must be able
to enter his/her mobile number or email id as
username.
4. User must be able to enter his/her registered
password.
5. After clicking ‘Login’ button, use will be logged
in the website.
Post-condition 1. User must be able to browse the website.
2. User must be able to buy products.
3. User must be able to make payments.
4. User must be able to make changes in the
account.
5. User must be able to view, track, book and
cancel orders.
6. User must be able to add ratings and reviews.
Alternate Scenarios A)
1. User must be able to login on the website.
2. User must be able to go to login page.
3. After reaching the login page, user must be
able to enter his/her mobile number as
username.
4. If user does not remember his/her registered
password, then user has the option to login
using his/her mobile number by clicking
‘Login using OTP’ button.
5. On clicking ‘Login using OTP’ button an 6-
digit OTP will be send to his/her mobile
number, if username is his/her mobile
number and user will be redirected to another
page where he/she can enter OTP in the OTP
field.
6. User must be able to enter received OTP in
the OTP field.
7. On clicking ‘Login’ button user will be
logged in the website.
B)
1. User must be able to login on the website.
2. User must be able to go to login page.
3. After reaching the login page, user must be
able to enter his/her mail id as username.
4. On clicking ‘Login using OTP’ button an
OTP will be send to his/her mail id, if
username is his/her mail id.
5. On clicking ‘Login using OTP’ button an 6-
digit OTP will be send to his/her mail id, if
username is his/her mail id and user will be
redirected to another page where he/she can
enter OTP in the OTP field.
6. User must be able to enter received OTP in
the OTP field.
7. On clicking ‘Login’ button user will be
logged in the website.
Validations 1. System must check that the mobile number
is valid.
2. System must check that the mail id is valid.
3. System must check whether the OTP is
correct.
4. System must check whether the OTP is valid.

Error Messaging 1. If mobile number is invalid, system display


‘Mobile number is invalid. Enter valid
mobile number’.
2. If email-id is invalid, system display ‘Email
id number is invalid. Enter valid mobile
number’.
3. If password is not correct, system will
display ‘Enter correct password’.
4. If OTP is incorrect, system will display
‘Enter OTP is wrong, enter correct OTP’.
5. If OTP is invalid, system will display
message ‘OTP is invalid, enter correct OTP’.

Req. Requirement Bus. Req.


ID
Prio UR#S
Rity at-
Isfied

Use Case ID UC3-BR3.1.1_BR3.4.8-Forgot Password

System/Application E-commerce website – shopnow.com

Goal Description To be able to set new password, if password is


forgotten
Actors Primary - User
Secondary – System

Assumption  The system must be available.


 The servers are available and running.

Pre-condition 1. User has registered on the website.


2. User must have access to his/her mobile or to
his/her mail account.

Business Rules 1. User must remember his/her mobile number or


mail id.
2. OTP received on the mobile number or mail id
of the user should be numeric and 6-digit.
3. OTP received on the mobile number or mail id
of the user should be valid for 10 minutes only.
4. Password must satisfy following conditions:
 Password must be of minimum of 8 &
maximum 25 characters.
 Password must contain at least 1 uppercase
& 1 lowercase.
 Password must contain at least 1 number.
 Password must contain at least 1 special
character.

Trigger NA
Main Scenario Navigation: shopnow.com Homepage > Sign In >
Login > Forgot Password

Process:
1. User must be able to set new password, if
password is forgotten.
2. User must be able to go to forgot password page.
3. After reaching the page user must be able to enter
his mobile number as username.
4. User must be able to click ‘send OTP’ button.
5. On clicking ‘Send OTP’ button an 6-digit OTP
will be send to his/her mobile number, if
username is his/her mobile number and user will
be redirected to another page where he/she can
enter OTP in the OTP field.
6. User must be able to enter received OTP in the
OTP field and click ‘Submit’ button.
7. After clicking ‘Submit’ button user must be able
to enter a new password in the ‘password’ field
and again enter the same password in the
‘conform password’ field, to conform the
password.
8. After clicking ‘Submit’ the new password is
conformed.

Post-condition 1. User must be able to login.


2. User must be able to browse the website.
Alternate Scenarios 1. User must be able to set new password, if
password is forgotten.
2. User must be able to go to forgot password page.
3. After reaching the page user must be able to enter
his email id as username.
4. User must be able to click ‘send OTP’ button.
5. On clicking ‘Send OTP’ button an 6-digit OTP
will be send to his/her mail id, if username is
his/her mail id and user will be redirected to
another page where he/she can enter OTP in the
OTP field.
6. User must be able to enter received OTP in the
OTP field and click ‘Submit’ button.
7. After clicking ‘Submit’ button user must be able
to enter a new password in the ‘password’ field
and again enter the same password in the
‘conform password’ field, to conform the
password.
8. After clicking ‘Save’ the new password is save.

Validations 1. System must check that the mobile number is


valid.
2. System must check that the mail id is valid.
3. System must check whether the entered OTP is
valid and correct.
4. System must check that password is in proper
format.
5. System must check that entered password
matches the conformed password.
Error Messaging 1. If mobile number is incorrect, system display
‘Mobile number is incorrect. Enter correct
mobile number’.
2. If email-id is incorrect, system display ‘Email id
number is incorrect. Enter correct mobile
number’.
3. If password is not in proper format, system will
display ‘Enter password in proper format’.
4. If entered password does not match conformed
password then system displays ‘Passwords do
not match. Re-enter password’ error message.
5. If OTP is incorrect, system will display ‘Enter
OTP is wrong, enter correct OTP’.
6. If OTP is invalid, system will display message
‘OTP is invalid, enter correct OTP’.
Req. Requirement Bus. Req.
ID
Prio UR#S
Rity at-
Isfied

Use Case ID UC4-BR_BR-Search Product(s)

System/Application E-commerce website – shopnow.com

Goal Description To be able to search product(s).

Actors Primary - User


Secondary – System

Assumption  The system must be available.


 The servers are available and running.

Pre-condition NA

Business Rules NA

Trigger NA
Main Scenario Navigation: Homepage > Search Product(s)
Process:
1. User must be able to search products.
2. User must be able to reach the web page.
3. User must be able to search products by entering
product(s) name or keyword in the search bar.
4. On clicking the search button or pressing the
‘Enter’ key on the keyboard, user will be able to
view the search results.
5. User can also search for product(s) by selecting
the category of a particular product. User will
view various sub-categories pertaining to the
category. On selecting a particular sub-category
user will be able to view various product(s)
pertaining to the sub-category.
6. The search results contains the information of
products pertaining to keyword(s)/product name
like
 Name of the product(s)
 Front side view image of the product(s)
 Price
 Discount(s)
 Offer(s)
7. User must be able to sort products according to
following options,
 Price range
 Rating(s)
 Chronological order from A to Z
8. User must be able to filter products according to
following options,
 Price- High to Low/Low to High
 Rating(s)
 Brand
 Product feature(s)
 popularity
 newest arrival
Post-condition 1. User must be able to view product(s) detail(s)
on clicking the search result(s).
2. Use must be able to search for different
product(s).

Alternate Scenarios NA

Validations 1. System must display search result(s) pertaining


to keyword(s)/product name filled in the search
bar.
2. System must display search result(s) pertaining
to category and subcategory of the product(s).

Error Messaging 1. If product(s) pertaining to keyword(s)/product


name is/are not available, then system will
display ‘Product un-available’ message.
2. If keyword(s)/product name is/are wrong, then
system will display ‘Enter correct keyword’
message.
3. If product(s) pertaining to category and sub-
category is/are not available, then system will
display ‘Product un-available’ message.
Req. Requirement Bus. Req.
ID
Prio UR#S
Rity at-
Isfied

Use Case ID UC5-BR_BR-Product Detail(s)

System/Application E-commerce website – shopnow.com

Goal Description To be able to view product(s) detail(s).

Actors Primary - User


Secondary – System

Assumption  The system must be available.


 The servers are available and running.

Pre-condition User must be able to view product(s) detail(s) on


clicking the search result(s).

Business Rules 1. Pincode should numeric and 6 digit only.


2. Pincode should be valid.
3. User must select minimum of 1 and maximum of
6 product(s) to buy.
Trigger NA
Main Scenario Navigation: Homepage > Search Products > Click
on a search result > Product details
Process:
1. User must be able to go to the product detail(s)
page.
2. User must be able to view detail(s) of a particular
product.
3. User must be able to view various product
detail(s) on the page like:
 Product Image(s)
 Product video
 Product Name
 Vendor name
 Product price
 Product description
 Technical details
 Discount(s) on the product
 Offer(s) on the product
 Rating(s) of the product
 Delivery option(s)
 Stock availability
4. On clicking ‘Answered questions’ user must be
able to view all the questions and answers related
to the product.
5. User must also be able to view comparison of the
product with similar product(s).
6. User must be able to read all the review(s).
7. User must be able to fill the pin-code of desired
delivery location in the ‘Pin-code’ field. On
clicking ‘enter’ button on the keyboard, user
must be able to view duration for delivery in
days, to that particular location.
8. If the user is logged in then he/she will be able to
select ‘Express delivery’ option, after enter the
pin-code & viewing delivery detail(s), otherwise
normal delivery will be selected as default
delivery option.
9. User must be able to select number/quantity of
products that he/she needs to buy.
10. User must be able to click ‘Buy Now’ option, to
buy the product.
11. User must be able to click ‘Add the Kart’ option
to add the product to kart.
12. User must be able to click ‘Add the Wish-list’
option to add the product to wish-list.

Post-condition 1. User must be able to pay and book the product,


after clicking ‘Buy Now’ if he/she is logged in.
2. If user is not logged in, then user must be able to
login after clicking ‘Buy Now’ button, pay and
book the product.
3. User must be able to add the product to kart, after
clicking ‘Add to Kart’ if he/she is logged in.
4. If user is not logged in, then user must be able to
login after clicking ‘Add to Kart’ button, add the
product to kart.
5. User must be able to add the product to wish-list,
after clicking ‘Add to wish-list’ if he/she is
logged in.
6. If user is not logged in, then user must be able to
login after clicking ‘Add to wish-list’ button, add
the product to wish-list.

Alternate Scenarios NA

Validations 1. System must check that the entered pin-code is


valid.
2. System must check that user has selected
quantity before buying/adding to kart/adding to
wish-list.

Error Messaging 1. If the pin-code is not valid pin-code, then system


will display ‘Enter valid Pin-code’ message.
2. If user has not selected quantity, and proceeds to
buy, then system will display ‘Enter quantity to
buy’.
Req. Requirement Bus. Req.
ID
Prio UR#S
Rity at-
Isfied

Use Case ID UC6-BR_BR-Manage Kart

System/Application E-commerce website – shopnow.com

Goal Description To be able to manage kart.

Actors Primary - User


Secondary – System

Assumption  The system must be available.


 The servers are available and running.

Pre-condition User has logged in.

Business Rules User must have logged in.

Trigger NA
Main Scenario Navigation: Homepage > Login > Kart
Process:
1. User must be able to reach kart page.
2. User must be able to view kart.
3. User must be able to view all detail(s) of
product(s) added to kart like,
 Product name
 Product front view image
 Product price
 Quantity of product selected
 Duration for delivery to user’s pin-code
 Product availability
4. On clicking the product name user will be
directed to product page.
5. User must be able to delete a particular product
from kart, by clicking ‘Delete’ button.
6. User must be able to add a particular product to
kart, by clicking ‘Add to kart’ button in the
product details page.
7. User must be able to buy any product in the kart,
by clicking ‘Buy’ button.
8. If user clicks ‘Buy’ button, and the product is not
in stock, then system must display ‘Product is
not in stock’ message.
9. User must be able to add any product from kart
to wish-list by clicking ‘Add to wish-list’ button.

Post-condition 1. User must be able to order and pay for any


product from kart, by clicking the ‘Buy’ button.
2. User must be able to browse the website.

Alternate Scenarios NA

Validations System must check for product availability if the


user chooses to buy the product by clicking the
‘Buy’ button.

Error Messaging NA
Req. Requirement Bus. Req.
ID
Prio UR#S
Rity at-
Isfied

Use Case ID UC7-BR_BR-Manage Account

System/Application E-commerce website – shopnow.com

Goal Description To be able manage account

Actors Primary - User


Secondary – System

Assumption  The system must be available.


 The servers are available and running.

Pre-condition 1. User must have has logged in.


2. User must have valid address.
3. User must know delivery address of the
product.
4. Used must have valid credit card/debit card/net
banking account.
5. User must know his/her address.
6. User must have access to his/her mobile/mail
account.
Business Rules 1. Pin code must be numeric and 6-digit only.
2. OTP received on the mobile number or mail id
of the user should be numeric and 6-digit.
3. OTP received on the mobile number or mail id
of the user should be valid for 10 minutes only
4. Password must satisfy following conditions:
 Password must be of minimum of 8 &
maximum 25 characters.
 Password must contain at least 1 uppercase
& 1 lowercase.
 Password must contain at least 1 number.
 Password must contain at least 1 special
character.
5. Credit card details must satisfy following
conditions like,
 Entered name must be same as on the card.
 Card number must be valid, numeric and 16-
digit only.
 CVV number must be valid, numeric and 3-
digit.
 Expiry date must be valid, not less than
current date and in the form mm/yy.
6. Debit card details must satisfy following
conditions like,
 Name must be same as on the card.
 Card number must be valid, numeric and 16-
digit only.
 CVV number must be valid, numeric and 3-
digit.
 Expiry date must be valid, not less than
current date and in the form mm/yy.
Trigger NA
Main Scenario Navigation: Homepage > Login > User’s Account
Process:
1. User must be able to go to his/her account page.
2. User must be able to view his/her account page.
3. User will view following options on his/her
account page:
 My Orders
 My Payment options
 My kart
 My wish-list
 My Settings
4. My orders: On clicking the ‘My orders’ user
will view and can access following options:
a) Open orders: In ‘Open orders’ box user
will be able to view all the orders that are
booked and are in transit. User also will be
able to see following options,
I. Order details: User can view the details
of order orders by clicking ‘Order
details’ button. User will be able to
view product details, delivery address,
fare summary, payment details,
delivery duration and booking date.
II. Cancel order: User can cancel any open
order by clicking the ‘Cancel order’
button, provided it is not shipped. After
clicking ‘Cancel order’ the order will be
cancelled and the paid amount will be
refunded to the e-wallet of the user.
III. If order is shipped, then ‘Cancel order’
button is not visible.
IV. Track order: User can track any open
order by clicking ‘Track order’ button.
User will to view the transit details like
the place & date, where the product
had been and where it is currently
present.
b) Cancelled orders: On clicking ‘Cancelled
orders’ use will be able to view all the
cancelled orders by the user.
I. Order details: User can view the details
of cancelled orders by clicking ‘Order
details’ button. User will be able to
view product details, delivery address,
fare summary, payment details,
delivery duration, booking date &
cancellation date.
II. Buy again: By clicking ‘Buy again’ user
will be able to buy the cancelled product
again and will be directed to order page.

c) Delivered orders: On clicking ‘Delivered


orders’ use will be able to view all the
delivered orders by the user.
I. Order details: User can view the order
details by clicking ‘Order details’
button. User will be able to view
product details, delivery address, fare
summary, payment details, delivery
duration, booking date, cancellation
date and delivery date.
II. Tracking details: User can view
tracking details by clicking ‘Tracking
details’ button. User will to view the
transit details like the place & date,
where the product had been from
booking to delivery.
III. Add review and rating: User can rate the
product on the scale of ½ star to 5 star.
User can also add review of the product
in text and can add image(s) of
delivered product for other buyers to
see.
d) All orders: On clicking ‘all orders’ user will
be able to view all the open, cancelled and
delivered orders.

5. My payment options: On clicking ‘My payment


options’ will be able to view and access
following options:
a) Add default payment option: If user has
not registered his/her default payment
option, then user will be able to view ‘Add
default payment’ box. On clicking ‘Add
default payment’ button, user must be able
to view and select different payment options
like debit card, credit card, net banking and
cash on delivery. On selecting a payment
option user will be able to view and fill the
required payment details, depending upon
the payment option,
I. Credit card: If user choses ‘credit card’
as default payment option, user must be
able to fill details like, name, card
number, CVV number and expiry date.
II. Debit card: If user choses ‘credit card’
as default payment option, user must be
able to fill details like, name, card
number, CVV number and expiry date.
III. Net-banking: If user choses ‘Net-
banking’ as default payment option,
user must be able to choose bank of
his/her net-banking account.
IV. Cash on delivery: If user choses ‘Cash
on delivery’ (COD) option then must be
able to pay when the order is delivered.
On clicking ‘Save default payment option’,
user’s default payment option details will be
saved.
b) Default payment option: Default payment
option box will show the default payment
option of the user. The default payment
option will be saved by the system.
c) Change default payment option: Change
default payment option box will show
various payment options like debit card,
credit card, net-banking and Cash on
Delivery & ‘Change default payment
option’ button. On clicking ‘Change default
payment option’ button will show all the
fields of the payment options. User will be
able choose one of the payment options and
fill all the required fields. On clicking ‘Save’
button new payment details will be saved
and will be considers default payment
options.
d) My wallet: My wallet box shows the
amount in the e-wallet of the user and other
wallet details.
I. Payment details: ‘Payment details’ box
shows fare summary, payment method
and paid amount of each order.

6. My Kart: User must be able to view, use &


access the kart options.

7. My Wish-list: User must be able to view all the


products in the wish-list.
a) Product details: User will be able to
view details of the product in the wish-
list like product name, price, vendor
name, product image and stock
availability.
b) Delete: User must be able to delete any
product from the wish-list by clicking
‘Delete’ button.
c) Add: User must be able to add any
product to the wish-list, by clicking ‘Add
to wish-list’ button on the product page.
d) Buy: User must be able to book & buy
any product by clicking ‘Buy’ button. If
user clicks ‘Buy’ button, and the product
is not in stock, then system must display
‘Product is not in stock’ message,
otherwise user will be directed to order
page of the product.
e) Notification: User must be able to
receive notification if price of any
product in the wish-list drops.

8. My settings: On clicking ‘My settings ’user


must be able to view and use the following
options,
a) Name: User must be able to view his
name (first + last) in the ‘Name’ box.
b) Change Name: On clicking ‘Change
Name’, user must be able to change
his/her name. User must be able to enter
his/her new name in the ‘change name’
field. After clicking ‘Save name’
button, new name will be saved.
c) Mobile number: User must be able to
view his mobile number in the ‘Mobile
number’ box.
User must be able to enter his/her
mobile number in the ‘Mobile number’
field.
On clicking ‘Send OTP’ button an OTP
will be send to the mobile number. If
OTP is not received then user can click
‘Resend OTP’ button to re send the
OTP.
User must be able to enter the OTP in
the ‘OTP field’. If the OTP is correct,
an approved check-box will appear
besides ‘OTP field’.
After clicking ‘Save number’ button,
mobile name will be saved.
d) Change mobile number: On clicking
‘Change mobile number’, user must be
able to change his/her mobile number.
User must be able to enter his/her new
mobile number in the ‘change mobile
number’ field.
On clicking ‘Send OTP’ button an OTP
will be send to the mobile number. If
OTP is not received then user can click
‘Resend OTP’ button to re send the
OTP.
User must be able to enter the OTP in
the ‘OTP field’. If the OTP is correct,
an approved check-box will appear
besides ‘OTP field’.
After clicking ‘Save number’ button,
new mobile name will be saved.
e) Add mail id: If user has not registered
his/her mail id, then user will be able to
view ‘Add mail id’ box.
f) On clicking ‘Add email id’ button, user
must be able to view and enter his/her
new mail id in the ‘add mail id’ field.
On clicking ‘Send OTP’ button a mail
containing OTP will be send to the mail
id. If OTP is not received then user can
click ‘Resend OTP’ button to re send
the mail.
User must be able to enter the OTP in
the ‘OTP field’. If the OTP is correct,
an approved check-box will appear
besides ‘OTP field’.
On clicking ‘Save mail id’, user’s mail
id will be saved.
g) Change email id: On clicking ‘Change
email id’, user must be able to change
his/her mail id. User must be able to
enter his/her new mail id in the ‘change
mail id’ field.
On clicking ‘Send OTP’ button a mail
containing OTP will be send to the mail
id. If OTP is not received then user can
click ‘Resend OTP’ button to re send
the mail.
User must be able to enter the OTP in
the ‘OTP field’. If the OTP is correct,
an approved check-box will appear
besides ‘OTP field’.
After clicking ‘Save mail id’ button,
new mail id will be saved.
h) Delivery address: User will be able to
view his/her delivery address.
i) Change address: On clicking ‘Change
address’, user must be able to change
his/her address. User must be able to
enter his/her new address in the ‘change
address’ field. After clicking ‘Save
address’ button, new name will be
saved.
j) Change Password: On clicking
‘Change password’, user must be able
to change his/her name. User must be
able to enter his/her new password in
the ‘change password’ field. User must
enter the same password in ‘Conform
password’ field. After clicking ‘Save
apassword’ button, new password will
be saved.
k)

Post-condition 1. User will be able to book any make payment


after clicking ‘Buy’ button.
2. User must be able to browse the website.
3. User must be able to access his/her account.

Alternate Scenarios NA
Validations 1. System must check that pin code is correct and
valid.
2. System must check that OTP is correct and valid.
3. System must check that credit/debit card details
are correct, valid and satisfies all the conditions.
4. System must check that password is valid and
satisfies all the conditions.
Error Messaging 1. If pin-code is incorrect/invalid system will
display ‘Pincode is incorrect. Enter correct
pincode.’
2. If OTP is incorrect system will display ‘OTP is
incorrect. Enter correct OTP’.
3. If OTP has expired system will display ‘OTP has
expired. Enter new OTP’.
4. If password is invalid system will display
‘Password is invalid. Enter valid password’.
5. If conformed password does not match entered
password, while re-setting password, system will
display ‘Passwords do not match. Re-enter
password’.
6. While paying by debit/credit card if entered
name does not match the name on card, system
will display ‘Name is incorrect. Enter correct
name’.
7. While paying by debit/credit card if entered card
number does not match the card number on card,
system will display ‘Card number is incorrect.
Enter correct card number’.
8. While paying by debit/credit card if entered
CVV number does not match the CVV number
on card, system will display ‘CVV number is
incorrect. Enter correct CVV number’.
9. While paying by debit/credit card if entered date
of expiry does not match the date of expiry on
card, system will display ‘Date of expiry is
incorrect. Enter correct date’.
10. While paying by debit/credit card if entered date
of expiry is invalid, system will display ‘Date of
expiry is invalid. Enter valid date’.
Req. Requirement Bus. Req.
ID
Prio UR#S
Rity at-
Isfied

Use Case ID UC8-BR_BR-Buy product(s).

System/Application E-commerce website – shopnow.com

Goal Description To be able to book and pay for the product(s).

Actors Primary - User


Secondary – System

Assumption  The system must be available.


 The servers are available and running.

Pre-condition 1. User must be logged in.


2. User must have credit card/debit card/net-
banking account.
3. User must know delivery address of the product.
4. User must have valid address.
5. User must have access to his/her mobile.
Business Rules 1. Pin code must be numeric and 6-digit only.
2. OTP received on the mobile number or mail id
of the user should be numeric and 6-digit.
3. OTP received on the mobile number or mail id
of the user should be valid for 10 minutes only
4. Password must satisfy following conditions:
 Password must be of minimum of 8 &
maximum 25 characters.
 Password must contain at least 1 uppercase
& 1 lowercase.
 Password must contain at least 1 number.
 Password must contain at least 1 special
character.
5. Credit card details must satisfy following
conditions like,
 Entered name must be same as on the card.
 Card number must be valid, numeric and 16-
digit only.
 CVV number must be valid, numeric and 3-
digit.
 Expiry date must be valid, not less than
current date and in the form mm/yy.
6. Debit card details must satisfy following
conditions like,
 Name must be same as on the card.
 Card number must be valid, numeric and 16-
digit only.
 CVV number must be valid, numeric and 3-
digit.
 Expiry date must be valid, not less than
current date and in the form mm/yy.
Trigger NA
Main Scenario Navigation:
Homepage > Login > Kart > Buy product
Homepage > Login > Wish-list > Buy product
Homepage > Login > Search product > Buy product
Homepage > Search product > Login > Buy product
Homepage > Search product > Registration > Login
> Buy product
Homepage > Registration > Login > Search product
> Buy product

Process:
1. User must be able to reach the page.
2. User must be able to view the page.
3. User must be able to order and make payment.
4. On clicking ‘Buy product’ button in kart/wish-
list/product page user will be directed to order
page.
5. On order page user must be able to view
following details,
 Product front side image
 Product name
 Vendor name
 Selected quantity
 Selected delivery option
 Default address
 Fare summary
6. User can change the default delivery address, by
filling new address in the ‘add new address
field’. After filling new address user must be
able to click ‘Save address’ button. On clicking
this button, the new address will become the
default address.
7. On clicking ‘Checkout Button’ user will be
directed to payment page, where user can pay for
the product.
8. On payment page user will be able to choose one
of the payment options,
9. Default payment option: On choosing ‘Default
payment’ option use will be able to pay using the
default payment method.
10. If user clicks ‘Cancel’ button, then user will be
directed to product details page of the product.
11. A SMS containing the order conformation will
be delivered to the user’s mobile number.
12. A mail containing all the order details and order
conformation is send to user’s mail id.

Post-condition 1. User must be able to cancel and track the order


in the ‘my orders’ page.
2. User must be able to view all the order details.
3. User must be able to browse the website.
Alternate Scenarios A)
Credit card: If user choses ‘credit card’ as the
payment option, user must be able to fill details like,
name, card number, CVV number and expiry date.
On clicking ‘Submit’ button user will be directed to
3rd party website.
System must show anyone of the following
messages to the user according to payment status,
• If payment is successful then it shows,
‘payment confirmed’ message.
• If payment is unsuccessful then it shows,
‘payment unsuccessful’ or ‘payment denied’ or
‘payment declined’ message.
• If payment is pending then it shows,
‘payment pending, awaiting order conformation’
messages.
After completing payment user will be redirected to
‘My orders’ page where user will be able to view his
paid order in the open orders option.

B)
Debit card: If user choses ‘debit card’ as the payment
option, user must be able to fill details like, name,
card number, CVV number and expiry date. On
clicking ‘Submit’ button user will be directed to 3rd
party website.
System must show anyone of the following
messages to the user according to payment status,
• If payment is successful then it shows,
‘payment confirmed’ message.
• If payment is unsuccessful then it shows,
‘payment unsuccessful’ or ‘payment denied’ or
‘payment declined’ message.
• If payment is pending then it shows,
‘payment pending, awaiting order conformation’
messages.
After completing payment user will be redirected to
‘My orders’ page where user will be able to view his
paid order in the open orders option.
C)
Net-banking: If user choses ‘Net-banking’ as default
payment option, user must be able to choose bank of
his/her net-banking account.
. On clicking ‘Submit’ button user will be directed
to 3rd party website.
System must show anyone of the following
messages to the user according to payment status,
• If payment is successful then it shows,
‘payment confirmed’ message.
• If payment is unsuccessful then it shows,
‘payment unsuccessful’ or ‘payment denied’ or
‘payment declined’ message.
• If payment is pending then it shows,
‘payment pending, awaiting order conformation’
messages.
After completing payment user will be redirected to
‘My orders’ page where user will be able to view his
paid order in the open orders option.
Cash on delivery: If user choses ‘Cash on delivery’
(COD) option then must be able to pay when the
order is delivered.

Validations 1. System must check that pin code is correct and


valid.
2. System must check that credit/debit card details
are correct, valid and satisfies all the conditions.
Error Messaging 11. If pin-code is incorrect/invalid system will
display ‘Pin-code is incorrect. Enter correct pin-
code.’
12. While paying by debit/credit card if entered
name does not match the name on card, system
will display ‘Name is incorrect. Enter correct
name’.
13. While paying by debit/credit card if entered card
number does not match the card number on card,
system will display ‘Card number is incorrect.
Enter correct card number’.
14. While paying by debit/credit card if entered
CVV number does not match the CVV number
on card, system will display ‘CVV number is
incorrect. Enter correct CVV number’.
15. While paying by debit/credit card if entered date
of expiry does not match the date of expiry on
card, system will display ‘Date of expiry is
incorrect. Enter correct date’.
16. While paying by debit/credit card if entered date
of expiry is invalid, system will display ‘Date of
expiry is invalid. Enter valid date’.

Vous aimerez peut-être aussi