Book a Demo

Author Topic: Use case and Scripts  (Read 3474 times)

bencat

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Use case and Scripts
« on: March 31, 2005, 09:02:01 am »
In the Sparx tutorial, it is said that "Use Case diagrams  are used to model user/system interactions. They define behavior, requirements and constraints in the form of scripts or scenarios."
Can scripts be expressed in the UML?

Thanks.
« Last Edit: April 05, 2005, 02:02:14 pm by bencat »

thomaskilian

  • Guest
Re: Use case and Scripts
« Reply #1 on: April 01, 2005, 12:14:42 am »
?

TrtnJohn

  • EA User
  • **
  • Posts: 176
  • Karma: +0/-0
    • View Profile
Re: Use case and Scripts
« Reply #2 on: April 01, 2005, 09:11:03 am »
Maybe by scripts they mean (From dictionary.com):

A copy of a text used by a director or performer.


Not:

A simple program in a utility language or an application's proprietary language.


thomaskilian

  • Guest
Re: Use case and Scripts
« Reply #3 on: April 01, 2005, 01:33:23 pm »
Quote
Does scripts are expressed in the UML?
is unfortunately not a sentence ???

dserodio

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Re: Use case and Scripts
« Reply #4 on: April 05, 2005, 09:46:39 am »
I think he meant "Can scripts be expressed in UML?", or "how can I represent scripts in UML?".
Correctness is clearly the prime quality. If a system does not do what it is supposed to do, then everything else about it matters little. - Bertrand Meyer

bencat

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Use case and Scripts
« Reply #5 on: April 05, 2005, 02:06:26 pm »
 :( shame for the mistake.

You are right. I tried to ask could scripts be expressed by UML? if yes, how to do that?

Thanks a lot.

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Use case and Scripts
« Reply #6 on: April 05, 2005, 06:32:09 pm »
Quote
"Use Case diagrams  are used to model user/system interactions. They define behavior, requirements and constraints in the form of scripts or scenarios."


Ah, the joys of the english language.

Alternative parsings:
Use Case diagrams  are used to model user/system interactions.
[subject] - [transitive verb]- [object] as in "Buckets are used to carry water." or "Cars are used to carry passengers."

They define behavior, requirements and constraints in the form of scripts or scenarios.
[subject] They
[transitive verb] define
[object] behavior, requirements and constraints.
[qualifier]in the form of scripts or scenarios.

is also...

They define behaviour in the form of scripts.
They define behavior in the form of scenarios.

but not ...
They define behaviour in the form of scripts and scenarios.

i.e. the phrase "scripts or scenarios" can be (should be) read like "cars or automobiles" as in

Cars (or if you are a citizen of the USA - "automobiles") carry people.

IOW, "The EA 'scenarios' tab of the use case properties form can be used to describe the interactions that occur between the user and the system pertaining to the use case as a 'script'."  Where script is to be taken in the theatrical sense rather than the technological sense, i.e.

System: Displays log in prompt.
User: Enters log in ID, e.g. "root" and presses return key.
System: Displays password prompt.
User: Enters log in password, e.g."******" and presses return key.
System: Validates ID and password pair and if OK grants access to the vt.


hth
Bruce

« Last Edit: April 05, 2005, 06:32:39 pm by sargasso »
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.