What are use-cases?


0

The startup I work for got asked by some potential clients to send them use cases. We are in the process of making one and I would like to ask the following questions about use-cases in general:

  1. What is it all about? I know that it details the steps between user and use-of-product (from Wikipedia).
  2. Is it the final stage before a client accepts/orders the product?
  3. How verbose can it be? Or should it follow visual design principles (as in all information should be visual and easy to read and understand?
  4. Should it also include sections on the company goal, mission etc.? Is that overkill?

I have read the wikipedia page on this which contains a specific use case for a software product. Here, though what we are selling is some software, it needs to go to a company that will in turn sell it to the masses.

Any help on this is most welcome.

Project Planning Clients Presentation

asked Jul 30 '11 at 15:05
Blank
Sriram
174 points

5 Answers


4

A "use case" can be visualized with a UML diagram. UML is an approach to describe technical software. You don't need to learn UML, don't be worried. The use case diagram is the most simplest diagram you can have. It looks a bit like a mind map.

Before you start, I would recommend you to use some a uml editor. One I love very much is Violet:
- http://alexdp.free.fr/violetumleditor/page.php?id=en:installation It is free of charge, has a beauty interface and is easy to use. On the other hand it lacks some top-pro features, but they don't touch you. Use case diagrams are complete. So, below you see a simple use case diagram made with Violet (image taken from product homepage):

A use case is basically describing "what one can do with the software". Some elder people simple "feature" to it. Lets summarize a few use cases for a calendar software. First, you need to identify the actors. Actors can be human people or other systems. In our case we can say "Administrator", "User", "System". The last one is there for some clean up tasks. The first two are humans. Of course, a Administrator can be a User at the same time, but this does not reflect on the UML, except you have a button like "Make this user an Admin". The roles or Actors we identified are the human symbols on the screenshot.

Now the elipse are the use cases. We could draw one and write "Login" into it. The Administrator can login, the User can. The System cannot. This use case is not for it. So we draw lines from Admin and User to "Login".

Same goes for logoff. We could again draw a elipse with logoff and make some lines to it. But it would be better and more readable if we create an elipse "Authorization" and put the "logoff" and "login" elipse as a sub use case to "Authorization". Then we only need to draw lines from Admin and User to "Authorization", and "Authorization" has lines to "Logoff" and "Login".

Guess the principle is clear now.

The calendar can have more use cases:

Calendar --> Add entry

--> Delete entry
--> Show as month view
--> show as daily view
Profile --> Modify timezone
--> Reset password
Here are some of the Systems use cases:

Cleanup users who have not activate account

Cleanup entries who are older than 1 year
And so on.

To your question 2), it is not the final stage (usually). If you have agreed on which use cases you implement, you probably must estimate how long it would take. probably they want to see other more fine diagrams or at least some wireframes were they can they how you have planned the software.

To 3) I would recommend you to note down everything "one can do with the software". But not company goals, mission or something. Show every feature the software will have and organize them nicely. This will show your understanding of modules of the product and show that you have not forgotten a desired feature. And, you can make a better estimation.

To 4) As already mentioned: no.

I have made the experience that it is very helpful to make comments into the diagram. In addition I always give the use cases IDs to identify them uniquely. On the phone we can find the discussed use case better.

In addition a small document, listing the use cases with id and name is very good. It should include

  • a small description of the use case in words
  • necessary data to perform it (like for Login: "Username" (String, max 30 chars), "Password (String, max 30 chars))
  • expected outcome of the Usecase (User is logged in and can perform all other use cases, Time entry has been stored in the database)
  • Other comments (risks, for example System is deleting something a user currently views or some words on complicated tasks)

Finally include a small description of your actors, who can be a user, who is an admin.

My guess is, you need half of a page per use case.

Last tip, don't put "future" use cases in your diagram. Make a "version 1" use case diagram, and if you know already about version 2, make a second diagram extending the first one. If you show one single diagram with 1000 use cases - everybody knows it will take forever to implement it. Make smaller steps, so you can show how the software grows during the time.

Hope the helps a bit!

Cheers,
Christian

answered Jul 30 '11 at 18:05
Blank
Christian
3,590 points
  • cool! that answer did help me out a LOT! thanks for the insights Christian! +10000 if I could.. :) – Sriram 9 years ago
  • Glad bout it! Cheers man! – Christian 9 years ago

4

[W]hat we are selling is some software... to a company that will in turn sell it to the masses.

That's a reseller. Unless they're super-technical and plan to integrate your software with an existing software product of theirs, they almost certainly don't want UML diagrams. What they probably mean by "use cases" is some examples of who might use your software and why. That will help them to evaluate whether they want to resell your software, and who they might sell it to.

You can often write those kinds of use cases as stories. For instance, "Laura works as an A at a company that does B. C and D happened at work, and that caused a problem because of E. Laura bought our software product F, and did G with it. That not only solved the problem, but made her division $H in extra profit that month.

answered Jul 31 '11 at 07:03
Blank
Bob Murphy
2,614 points
  • that is what we have done so far. thanks for your help! – Sriram 9 years ago

3

Technically, a 'use case' is an answer to the question: who is going to do what with a system, and why?

This is a richer framework than the traditional attempt to define business needs, which then gives rise to functional requirements. (Or more often in real world situations, to identify business needs and attempt to map them to functional characteristics of existing systems.) The additional richness comes from those two dimensions of identity (who are the 'actors'), and purpose (what are the 'goals').

So if you're being asked the question in that technical sense, you will certainly want to familiarise yourself with the terminology and visualisation of the use case diagram.

But... This term has also slipped out into the wider world, where "show me your use cases" means something more like one of these questions:

  • What are the situations where your product is the best way of accomplishing my goals?
  • What's the area where your skills are most relevant to my business?

My guess is that the question in your case was probably in the latter category, so that the best way of answering it is much more about succinctly positioning your product or skill set into your prospective client's business context.

answered Aug 1 '11 at 22:01
Blank
Jeremy Parsons
5,197 points
  • As a side note, a lot of the development world uses Scrum methodology at least in part. User stories in scrum are expressed any way you like as long as they focus on the user, and if (as I do) you're sympathetic to the Agile Manifesto, you may be as sceptical of great swathes of UML as you were of stacks of business and technical specification documents. – Jeremy Parsons 9 years ago

3

In a more general sense, use cases are application scenarios that highlight the value/benefits of your software. I'm not sure your clients meant to get a list of UML use cases or just a more description of possible scenarios where the software would be useful for them

answered Jul 31 '11 at 02:22
Blank
Jordi Cabot
243 points

1

There are some excellent answers here, but this seems too long for a comment.

You need to find a way to talk to them and check what actually want. I don't think it's detailed UML diagrams.

A Use Case helps the designers and potential users understand the purpose of the system and how tasks will be accomplished. If a reseller is asking this question, it could mean that they don't quite understand what the software does, what need it fills, and by extension who will buy it.

Consider a use case for the new-fangled telephone:

  1. Alice needs to ask Bob what time he will be home.
  2. Alice picks up the telephone "receiver". (see diagram)
  3. Alice listens for a continuous purring sound in the receiver.
  4. Alice presses the keys on the base unit for the unique number Bob has given her.
  5. She hears an intermittent purring sound.
  6. Bob hears a ringing sound from a bell inside the base unit of his telephone.
  7. Bob ... etc.

Notice how it is made clear what the purpose of the interaction is (Alice wishing to communicate with Bob) and the steps the user performs in order to achieve that purpose. At the end of this we have a very clear idea of the expected interactions between Alice, Bob, and the telephones. But nowhere is it specified how the new-fangled telephone works its magic.

For reseller purposes the interaction would be described at a higher level, and might describe what the software does to external entities ("the system updates the database file to remove duplicates")

For design purposes you might include obscure error conditions: for sales purposes it is more likely that they are just after several typical usage scenarios that their salesmen can understand :

  1. "Bob wishes to reduce staffing costs by 10%.
  2. He selects reduce staffing costs from the main menu and selects the reduction required in the resulting dialog and clicks OK.
  3. A homicidal robot is unleashed by the system. The number of staff on the payroll is automatically reduced by 10% ..."
answered Aug 5 '11 at 14:08
Blank
Mike
946 points

Your Answer

  • Bold
  • Italic
  • • Bullets
  • 1. Numbers
  • Quote
Not the answer you're looking for? Ask your own question or browse other questions in these topics:

Project Planning Clients Presentation