<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0076)https://www.icarnegie.com/downloadsolncmd.php?section_id=10677575&id=6871074 -->
<! DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"><HTML><HEAD><TITLE>Use Case Modeling — Solution</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR><!-- #BeginEditable "doctitle" --><!-- #EndEditable --></HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top width="2%"></TD>
<TD vAlign=top width="96%"></TD>
<TD vAlign=top width="2%"></TD></TR>
<TR>
<TD height=246></TD>
<TD height=246><!-- start typing here-->
<H2><!-- #BeginEditable "title" -->Use Case Modeling — Solution<!-- #EndEditable --></H2>
<P><B>Define User Roles.</B> </P>
<P>There are only two roles that need to appear in the use case diagram -
that of the end user, and that of the external database (which will be
modeled as an external system agent).</P>
<P><B>Create a Use Case Diagram in UML.</B> </P>
<P><IMG height=530
src="Use Case Modeling — Solution.files/ssd9_usecase.gif" width=626></P>
<P><B>Write Use Case Scenarios.</B></P>
<P><B>Log In.</B> Normal: The user types in their username and password
and presses the Login button. The system initiates a connection to the
database, and displays the current contents of the user's shopping basket.
Abnormal: The system is unable to log the user in to the database for a
variety of possible reasons; e.g., no network connection available, user
typed in wrong username or password.</P>
<P><B>Log Out.</B> Normal: The user presses the Logout button; the system
logs the user out and drops the connection to the remote database.
Abnormal: The system encounters some exception when closing the
connection.</P>
<P><B>Specify Item Quantity.</B> Normal: The user clicks the mouse in a
text area reserved for item quantity, and enters an integer greater than
0. Field defaults to , and reverts to 1 if a bad value is typed. Abnormal:
The user enters anything other than an integer greater than 0. </P>
<P><B>Select Shipping Type.</B> Normal: The user clicks the mouse on a
radio button indicating a particular shipping type; any information which
depends on shipping type is recalculated and redisplayed. Abnormal: The
user clicks the mouse on a radio button that is already enabled.</P>
<P><B>Display Invoice.</B> Normal: Whenever the user first logs in or
makes a change to the shopping basket or shipping type, the invoice for
the current (unplaced) order is recalculated and redisplayed in the
interface. Abnormal: When there is nothing in the current shopping basket,
the interface should display empty fields.</P>
<P><B>Browse Order History.</B> Normal: The user presses on the Order
History button, and the system displays a pop-up interface with a list of
past orders. The user can scroll through a list of timestamps to locate
the past order they wish to display. Abnormal: There are no past orders to
display.</P>
<P><B>Display Order.</B> Normal: The user double-clicks on an item in the
order history, and the system displays the information specific to that
particular order in the interface. Abnormal: When there is nothing in the
order history, the details display should be empty.</P>
<P><B>Browse Product Catalog</B>. Normal: The system displays a list of
product names, which the user can scroll through and select from.
Abnormal: No products in database.</P>
<P><B>Display Basket.</B> Normal: Display current contents of the shopping
basket in the interface. Abnormal: Nothing in the shopping basket.</P>
<P><B>Display Product.</B> Normal: The user double-clicks on a product in
the catalog list, and the system displays details about that product in
the interface. Abnormal: When there is no product currently selected, the
details display should be empty.</P>
<P><B>Add to Basket.</B> Normal: The user presses the Add to Basket
button, and the system places the currently-selected product into the
shopping basket, according to the current value of item quantity. The
invoice display is updated to reflect the change. Abnormal: There is no
product selected when the Add to Basket button is pressed.</P>
<P><B>Delete from Basket.</B> Normal: The user pressed the Delete from
Basket button, and the system deletes the item currently selected in the
basket display. Abnormal: The basket is empty, or there is no item
currently selected.</P>
<P><B>Empty Basket.</B> Normal: The user presses the Empty Basket button,
and all of the items in the basket are removed (as though they had been
individually selected and deleted using Delete from Basket). Abnormal: The
basket is empty when this use case is invoked.</P>
<P><B>Submit Order.</B> Normal: The user presses the Submit Order button,
and the system uses the current contents of the shopping basket and the
invoice (including shipping) to add a new order in the database. The
basket is emptied. Abnormal: The basket is empty when the use case is
invoked; the system encounters an exception when communicating with the
remote database.</P><!-- end typing here--></TD>
<TD height=246></TD></TR>
<TR>
<TD></TD>
<TD>
<P> </P></TD>
<TD></TD></TR>
<TR>
<TD></TD>
<TD><FONT size=2><BR>© 2000 Carnegie Technology Education. All rights
reserved.</FONT> </TD>
<TD></TD></TR></TBODY></TABLE></BODY></HTML>
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
SSD9 exercise3 SSD9 exercise3SSD9 exercise3 SSD9 exercise3SSD9 exercise3 SSD9 exercise3SSD9 exercise3 SSD9 exercise3SSD9 exercise3 SSD9 exercise3SSD9 exercise3 SSD9 exercise3SSD9 exercise3 SSD9 exercise3
资源推荐
资源详情
资源评论
收起资源包目录
exercise3.rar (3个子文件)
exercise3
Use Case Modeling — Solution.htm 6KB
Use Case Modeling — Solution.files
ssd9_usecase.gif 11KB
Thumbs.db 5KB
共 3 条
- 1
资源评论
ling7698542
- 粉丝: 0
- 资源: 37
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功