04-02-UML-Use-Cases-notes

04-02-UML-Use-Cases-notes - Use Cases and Scenarios CSE...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
1 CSE 435: Software Engineering B. Cheng © 2007-08 Bet y H.C. Cheng. This presentation is available free for non-commercial use with at ribution under a creative commons license. Use Cases and Scenarios CSE 435: Software Engineering B. Cheng © 2007-08 Bet y H.C. Cheng. This presentation is available free for non-commercial use with at ribution under a creative commons license. We Will Cover • What is a use-case – Use-case versus user interaction • Use-Case diagrams – The constructs in the use-case diagrams • Capturing the use-case – High-level use-case – Extended use-case – Difference between use case and scenario CSE 435: Software Engineering B. Cheng © 2007-08 Bet y H.C. Cheng. This presentation is available free for non-commercial use with at ribution under a creative commons license. What is a Use-Case • A use-case captures some user visible function • This may be a large or small function – Depends on the level of detail in your modeling effort • A use-case achieves a discrete goal for the user • Examples – Format a document – Request an elevator • How are the use cases found (captured or elicited)?
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 CSE 435: Software Engineering B. Cheng © 2007-08 Bet y H.C. Cheng. This presentation is available free for non-commercial use with at ribution under a creative commons license. User Goals versus User Interactions • Consider the following when formatting a document • Define a style • Change a style • Copy a style from one document to the next – versus • Format a document • Ensure consistent formatting of two documents • The latter is a user goal – Something the user wants to achieve • The former are user interactions – Things the user does to the system to achieve the goal CSE 435: Software Engineering B. Cheng © 2007-08 Bet y H.C. Cheng. This presentation is available free for non-commercial use with at ribution under a creative commons license. Goals and Interactions • There is a place for both goals and interactions • Understand what the system shall do – Capture the user goals • Understand how the user will achieve the goals – Capture user interactions – Sequences of user interactions • Thus, start with the user goals and then refine the user goals into several (many) user interactions CSE 435: Software Engineering B. Cheng © 2007-08 Bet y H.C. Cheng. This presentation is available free for non-commercial use with at ribution under a creative commons license. Use-Case Diagrams (POST) Customer Cashier Buy Item Log In Refund a Purchased Item POST Use Case System Boundary Adapted from Larman “Applying UML and Pat erns” POST: Point of Sale Terminal
Background image of page 2
3 CSE 435: Software Engineering B. Cheng © 2007-08 Bet y H.C. Cheng. This presentation is available free for non-commercial use with at ribution under a creative commons license.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/25/2008 for the course CSE 435 taught by Professor Cheng during the Fall '07 term at Michigan State University.

Page1 / 10

04-02-UML-Use-Cases-notes - Use Cases and Scenarios CSE...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online