用例模板,软件需求数据

Add Item To Cart
Goal:
Customer adds item(s) in the cart
Actors:
Customer
System
Preconditions:
The customer must be logged-in on the system.
Triggers:
Customer clicks button or link to "Add To Cart".
Basic Scenario:
1. Customer clicks the button or link to add to the cart with specified quantity.
2. System adds the item(s) to the cart.
3. System prompt Customer to edit quantity or remove item from cart.
4. Customer confirms items in cart.
5. System stores cookie with cart details.
6. Customer returns to product listings.
Alternative Scenario:
A1. Customer terminates the web browser window after adding item(s) to cart.
A2. Customer returns to weborder interface.
A3. System recognizes cookie and goes to step 6 (Basic Scenario) with existing items in
cart.
Postconditions:
The Customer has added item(s) to the shopping cart.


Checkout An Order

Goal:
Customer places and confirms an order for the checkout process.
Actors:
Customer
Weborder System
Preconditions:
1. Customer must be logged-in on the system.
2. Customer must have item(s) in the shopping cart.
Triggers:
Customer clicks button or link to "Ckeckout"
Basic Scenario:
1. Customer clicks the button or link to initiate the checkout process.
2. System calculates order of items in the shopping cart.
3. System appends cookie with flag for checkout process.
4. System presents customer with account details and payment
methods.
5. Customer confirms account details and payment methods.
6. Customer confirms order.
7. System stores order confirmation and order details.
8. System sends email confirmation to the Customer.
9. System appends cookie with flag for completed checkout process.
Alternative Scenario:
A1. Customer terminates order web browser during order the checkout process.

A2. Customer returns to weborder interface.
A3. System recognizes cookie and goes to step 4 (Basic Scenario).
Postconditions:
The Customer has placed and confirmed an order.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值