Information Technology Reference
In-Depth Information
Actor
Action
Description
Customer
Log on
A homepage screen sets up the application, counts
the user visits to the application, and starts the user
at a main menu.
Customer
Browse catalog
The customer is able to search the product catalog
by product category, manufacturer
,
and
catalog
number.
Products of
be selected for further consideration.
interest from the search can
Customer
Browse
detail
product
The customer can display each selected product by
description,
product
a
product
image,
price,
and
the quantity in stock.
Customer
Update shopping
cart
The customer can add, remove, or update products
to be purchased in the shopping cart.
Customer
Purchase shopping
cart products
The
review
purchased, indicate customer delivery information,
and collect customer billing/payment information.
customer
can
the
products
to
be
Customer
Purchase order
completion
This validates the customer's ability to pay for the
the
products,
customer, and initiates product delivery.
provides
a
purchase
order
to
Customer
Log off
This checks for completion of all customer actions
during this session before disconnecting from the
customer.
Figure 7.1
Example use case for an online purchasing application Use Case 001—product purchase
(happy path)
happy path and each use case alternate path, bringing the use case sequence of ac-
tions into the test case steps almost one-for-one. Figure 7.2 shows what the steps of
the Use Case #001 happy path test case might be.
Step no .
Step
Expected result
1.
Log on
Access the main menu
2.
Browse catalog
Find a blue widget
3.
Browse product detail
Display the blue widget descr.
4.
Update shopping cart
Add the blue widget
Buy the blue widget
5.
Purchase shopping cart products
6.
Purchase order completion
Get blue widget purchase confirm
7.
Log off
Exit the application successfully
Figure 7.2
A full business path test case from use case
Search WWH ::




Custom Search