Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Majkell on July 10, 2013, 08:58:53 pm

Title: Scenario
Post by: Majkell on July 10, 2013, 08:58:53 pm
Hello,

I have question about writting scenarios for two Use Case. I have two Use Case in both I wrote some scenario. How can i 'Join' step from Use Case 1 in Use Case 2 ? When I generate Activity Diagram I would like to see scenarios from both use cases in the same diagram with transition between two use cases.

(http://s4.ifotos.pl/mini/EApng_nnxssqn.png) (http://ifotos.pl/zobacz/EApng_nnxssqn.png/)

Thanks for any help.
Title: Re: Scenario
Post by: Geert Bellekens on July 10, 2013, 09:40:54 pm
You can't, you can only join steps from your own scenario's, not from other scenario's.

If you need something like that you'll probably need extension points and use cases extending each other.

Or even better two use cases with an include relationship where one use case executes the other. (and then continues)

Geert
Title: Re: Scenario
Post by: Majkell on July 10, 2013, 10:57:41 pm
Thanks for helps.

Have someone tutorial, links or something like that how to wrote scenarios ?

Thanks
Title: Re: Scenario
Post by: Majkell on July 10, 2013, 10:59:48 pm
Or some examples of scenarios :)

Thanks
Title: Re: Scenario
Post by: qwerty on July 10, 2013, 11:09:25 pm
I discourage the use of structured scenarios since the do not support nesting alternates. Use plain text instead and orient yourself at Cockburn or Bittner in writing use cases.

q.
Title: Re: Scenario
Post by: Majkell on July 16, 2013, 05:06:19 pm
Thanks for help, but have someone an example of making scenario in EA ?  

Thanks very much for help.
Title: Re: Scenario
Post by: Gary on July 16, 2013, 05:39:52 pm
Scenario for Use Case Find_out_unknown_information

Step1 TRIGGER Don't know how to do something.
Step2 Look in the help file
Step3 Look in the example model
Step4 Example model has no information
Step5 Search Forum
Step6 Search returns empty
Step7 Write Question on Forum
Step8 <Include> Forum Rules
Step9 Post Question
Step10 Receive answer gratefully
Step11 post Thanks

Hope this example helps. If you want to know how to include or extend a use case in EA use step2 in the Use case above. :)

Gary
Title: Re: Scenario
Post by: Geert Bellekens on July 17, 2013, 04:04:11 pm
Quote
Scenario for Use Case Find_out_unknown_information

Step1 TRIGGER Don't know how to do something.
Step2 Look in the help file
Step3 Look in the example model
Step4 Example model has no information
Step5 Search Forum
Step6 Search returns empty
Step7 Write Question on Forum
Step8 <Include> Forum Rules
Step9 Post Question
Step10 Receive answer gratefully
Step11 post Thanks

Hope this example helps. If you want to know how to include or extend a use case in EA use step2 in the Use case above. :)

Gary
;D ;D ;D

Geert