非常有用的User case用例描述模板
来源:互联网 发布:杭州思锐网络 编辑:程序博客网 时间:2024/05/18 00:34
Table 6.0
Use Case #
DATAENTRYPROJECTCUST-1009
Use Case name
Maintain Customer
Description
This Use Case depicts full maintenance of customer from project "Data Entry".
Scope and level
- Data Entry System (Internal)
- Credit Card System (External)
Level
User Goal Level (If this property is not understood, look at the reference for the book Writing Effective Use Cases (**PRE-PUB. DRAFT#3**): Alistair Cockburn Humans and technology)
Primary and secondary actors
Data Entry operator.
Stakeholders and interests
Trigger
Data entry operator clicks on menu: "Add New Customer"
Preconditions
- Data entry operator should be logged in.
- Data entry operator should have access to Internet.
Assumptions
Customer information received is entered manually. No automated import routine is in the scope.
Failed End condition
- Customer is not added to database and appropriate error message is displayed.
- Customer code already existing in the customer database.
- Customer code length limit is exceeded.
- Customer credit card limit is exceeded.
- Customer credit card validation failed with the payment gateway.
Action
Add new customer
Main success scenario (or basic Flow):
- Data entry operator receives customer information.
- Data entry operator enters following information:
- Customer code
- Customer name
- Customer address
- Customer phone
- Customer code is checked if it exists in Customer table.
- If the customer code is existing then "Duplicate Customer Code" error is raised.
- If the customer code is more than 8 length, then "Customer code length limit crossed" error is raised.
- After step 3 is passed OK. Data entry operator enters credit card information. If the credit card length is more than 10 length, then "Credit card length limit crossed" error is raised.
- Credit card information is send to the external payment gateway. Appropriate APIs of the external payment gateway will be used for validity.
- External payment gateway returns "OK" if credit card is validated or else will return "NOT VALID" flag.
- Data entry operator then adds the customer in database.
Alternate scenario (Extensions):
Update Existing Customer
- Data entry operator enters customer code to retrieve the customer who has to be updated.
- Data entry operator makes appropriate changes to the customer information. All steps and business validation from 1 to 6 of Add new Customer is repeated.
- Data Entry operator updates the customer information.
Alternate scenario (Extensions):
Delete Existing Customer
- Data entry operator enters customer code to retrieve the customer who has to be deleted.
- Data entry operator deletes the customer. Data entry operator is alerted "Are you sure you want to delete the Customer?”
- If the data entry operator clicks "Yes", then the customer is deleted from the database.
- If the data entry operator clicks "NO", no action is taken.
Success Guarantee (Post conditions):
- Customer is added to Customer database.
- Customer is updated to Customer database.
- Customer is deleted from Customer database.
Special Requirements (including business rules):
Technology and Data Variations List:
If credit card payment gateway API changes, the interaction of the data entry customer module will have to be changed accordingly.
Frequency of occurrence:
Notes and Open Issues:
Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1019586
- 非常有用的User case用例描述模板
- 非常有用的User case用例描述模板
- 非常有用的User case用例描述模板
- 非常有用的User case用例描述模板
- 非常有用的CSS模板
- NVelocity模板引擎,初级体验,非常有用的东东
- 非常有用的方法
- 非常有用的链接
- 非常有用的实用程序
- 非常有用的网站
- 非常有用的社区
- 非常有用的站点
- 非常有用的效果
- 非常有用的文档
- 非常有用的sql脚本
- 非常有用的window知识
- vs2005 非常有用的快捷键
- Linux非常有用的设置
- 常见的abap面试题目,请大家对照学习
- 如何使用自定义的 number range objects
- 如何限制SELECT-OPTIONS的选择屏幕的OPTION
- sap里部分函数说明
- 虚拟内存
- 非常有用的User case用例描述模板
- 如何调整ABAP程序的性能(续)
- P2P 之 UDP穿透NAT的原理与实现
- Dos Loop Command Example
- Visual C++ 如何:在各种字符串类型之间进行转换
- 如何调整ABAP程序的性能
- 关于SAP的TABLEVIEW编程的几个重要变量值的变化列表
- Eclipse开发struts完全指南
- 一些有用的连接