This is a simple ATM use-case diagram: I think it missed something like Login (authentication) and Print (after Transfer, Withdraw... we will be asked for selecting print bill or not). So are they use-case?
Bank Automation Teller Machine (ATM) use-case diagram, is "Login" is a "use-case"
4.3k views Asked by Andiana At
4
There are 4 answers
3
On
No absolutely not. "Login" and "Print" are not usecases of ATM. User must by identified before use of ATM services as describe usecase diagram you provide. But, user does not use ATM for LOGIN service. It is not meaningful service. Print is not a UseCase as well. Print is one of step of processes within some of usecases of ATM.
Your UseCase diagram is correct.
When trying to decide if a certain piece of behavior should be a use case you should look to the "observable result" for the main actor. Does "login" yield such a result?
It depends on the system you are developing, the complexity of the authentication system etc. It might be a mere step in the use case scenario or it might become a (secondary) use case.
Another tool I teach my students is the BOSS test. You have to ask yourself:
Usually usecases like "Login" fail the BOSS test. Things like "Create Order" or "Pay Invoice" usually pass the BOSS test.
But again whether or not to make a use case depends on your methodology (granularity of your use cases), on your system, and on the complexity. There is no YES/NO answer.