USE CASE 模板

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. 返回到管理系统主页面

后置条件:
 网站首页的公告信息被修改

你可能感兴趣的:(公告)