본문 바로가기
IT 이론/소프트웨어공학

객체지향설계 Use Case Description 예제

by 지식id 2012. 11. 26.
반응형

 

위와 같은 Use Case가 있다. Description은 아래와 같이 작성 될 수 있다.

 

 



Use case : Open File

Related use case :
Generalization of
Open file by typing name
Open file by borwsing

Steps :

Actor action
1. Choose 'Open..' command
3. Specify file name
4. Confirm selection
System responses
2. File open dialog appear

5. Dialog disappear



Use case : Open file by typing name

Related use case :
Specialization of : Open file

Steps :
Actor action
1. Choose 'Open..' command
3a. Select text field
3b. Type file name
4. Click open
System responses
2. File open dialog appear


5. Dialog disappear



Use case : Open file by browsing

Related use case :
Specialization of : Open file
Includes : Browse for file

Steps :
Actor action
1. Choose 'Open..' command
3. Browse for file
4. Confirm selection
System responses
2. File open dialog appear

5. Dialog disappear



Use case : Attempt to open file that does not exist

Related use case :
Exception of : Open file by typing name

Steps :
Actor action
1. Choose 'Open..' command
3a. Select text field
3b. Type file name
4. Click 'Open'
6. Check the file name
7. Click 'Open'
System responses
2. File open dialog appear

5. System indicates that file does not exist


8. Dialog disappear



Use case : Browse for file

Related use case :
Included by : Open file by browsing

Steps :
Actor action
1. If the desired file is not displayed, select a directory
3. Repeat step1 until the desired file displayed
4.Select a file
System responses
2. Contents of directory is displayed

 

반응형

댓글