Use Case Template

1.Brief Description
Briefly introduce the use case here.
2.Actor
List actor of the use case here. 
3.Pre-Condition
List pre-condition and assumption of this use case here. 
4.Trigger
List trigger of this use case here. 
5.Flow of Events
5.1 Basic Flow
Step1......
Step2......
Step3......
Step4......
5.2 Alternative Flows
<st1:chmetcnv w:st="on" unitname="a" sourcevalue="3" hasspace="False" negative="False" numbertype="1" tcsc="0">3a</st1:chmetcnv>. Alternative flow1 of step3 condition here. 
<st1:chmetcnv w:st="on" unitname="a" sourcevalue="3" hasspace="False" negative="False" numbertype="1" tcsc="0">3a</st1:chmetcnv>1. Alternative flow1 detail step1 here. 
<st1:chmetcnv w:st="on" unitname="a" sourcevalue="3" hasspace="False" negative="False" numbertype="1" tcsc="0">3a</st1:chmetcnv>2. Alternative flow1 detail step2 here. 
3b. Alternative flow2 of step3 condition here 
3b1. Alternative flow2 detail step1 here. 
3b2. Alternative flow2 detail step2 here. 
…… 
5.3 Exception Flows
<st1:chmetcnv w:st="on" unitname="a" sourcevalue="4" hasspace="False" negative="False" numbertype="1" tcsc="0">4a</st1:chmetcnv>. Exception flow of step4 condition here. 
<st1:chmetcnv w:st="on" unitname="a" sourcevalue="4" hasspace="False" negative="False" numbertype="1" tcsc="0">4a</st1:chmetcnv>1. Exception flow detail step1 here. 
…… 
6. Special Requirements
7. Post-Condition
8. Extension

再看另一个用例“网站公告发布”的例子:
用例名称:网站公告发布

用例标识号:202

参与者:负责人

简要说明:
  负责人用来填写和修改家教网站首页的公告,公告最终显示在家教网站的首页上。

前置条件:
  负责人已经登陆家教网站管理系统

基本事件流:
 1. 负责人鼠标点击“修改公告”按钮
 2. 系统出现一个文本框,显示着原来的公告内容
 3. 负责人可以在文本框上修改公告,也可以完全删除,重新写新的公告
 4. 负责人编辑完文本框,按“提交”按钮,首页公告就被修改
 5. 用例终止

其他事件流A1:
 在按“提交”按钮之前,负责人随时可以按“返回”按钮,文本框的任何修改内容都不会影响网站首页的公告

异常事件流:
 1. 提示错误信息,负责人确认
 2. 返回到管理系统主页面

后置条件:
 网站首页的公告信息被修改
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值