OOPortal OOPortal


Use Case View  «Prev  Next»
Lesson 12

Use case View Conclusion

In this module, we covered the use case view, comprising the use case diagram, use case narrative, and use case scenarios. The use case narrative is not part of the UML standard, but you will find it pretty much everywhere use cases are used.

Use Case Diagram elements

The use case diagram emphasizes goals of the system, not processes. This is one of the most common mistakes people make in applying use cases. The difference is sometimes subtle, so watch out. Use cases are the goals; actors are the users who want to achieve those goals. Actors are roles or relationships between users and the system. These roles may be played by systems, people, or devices. Associations are the visual means identifying interactions between actors and use cases or between use cases.
Stereotypes help to qualify the meaning of a model element without specifying an implementation. In this module, we applied only two of the many predefined stereotypes in the UML documentation, <<Uses>> and <<Extends>>. <<Uses>> indicates delegation, whereas <<Extends>> indicates specialization or variation on a use case.

Let the model reveal info

Narrative and scenarios

Scenarios provide a closer examination of the use cases. Visual evaluation of the use case narrative can be very helpful by using 1) flowcharts or 2) activity diagrams (we will show these later in the course). The scenarios become the basis for your acceptance testing for the system as well as the testing of your models in the logical view.

Glossary

This module introduced you to the following terms:
  1. Scenario: In computing, a scenario is a narrative of foreseeable interactions of user roles (known in the Unified Modeling Language as 'actors') and the technical system, which usually includes computer hardware and software. A scenario has a goal, which is usually functional.
  2. Use case view: A view dedicated to the description of user requirements.

Use Case - Quizzes

Click the Quiz links below to check your knowledge with 2 multiple-choice quizzes addressing the lessons worked through in this module.
  1. Use Case Quiz One
  2. Use Case Quiz Two