18-649 Scenarios and Sequence Diagrams


18649 Spring 2010
Group 7 - Justin Ray / justinr2


Scenarios:


Use Case 1: Customer inserts a quarter

Scenario 1A: Customer inserts a coin when the cost of a soda has not been reached

Author:  Justin Ray/justinr2

Pre-Conditions:

Scenario:

  1. The customer inserts a coin.

Post-Conditions:

Sequence Diagram:

Sequence Diagram 1A

SD Audit

  1. Name of the person conducting the audit? Justin Ray/justinr2
  2. Are the events in the sequence diagram consistent with the steps in the scenario?  yes
  3. Are all arcs labeled with a valid command in the sequence diagram? yes
  4. Are all arcs correctly colored (blue for physical message, black for network messages)? yes
  5. Are all boxed items correct parts of the elevator architecture? yes
  6. Does each message arc in the sequence diagram originate from the correct object (according to the interfaces defined in the Requirements I and II documents)? yes




Scenario 1B: Customer inserts a coin when the cost of a soda has been reached but no button pressed

Author:  Justin Ray/justinr2

Pre-Conditions:

Scenario:

  1. The customer inserts a coin.
  2. The coin is returned.

Post-Conditions:

Sequence Diagram:

SD 1B


SD Audit

  1. Name of the person conducting the audit?  Justin Ray/justinr2
  2. Are the events in the sequence diagram consistent with the steps in the scenario? yes
  3. Are all arcs labeled with a valid command in the sequence diagram? yes
  4. Are all arcs correctly colored (blue for physical message, black for network messages)? yes
  5. Are all boxed items correct parts of the elevator architecture? yes
  6. Does each message arc in the sequence diagram originate from the correct object (according to the interfaces defined in the Requirements I and II documents)? yes


Scenario 1C: Customer inserts a coin while holding down a soda button

Author:  Justin Ray/justinr2

Pre-Conditions:

Scenario:

  1. The customer inserts a coin.
  2. The light on the soda button s begins flashing.
  3. The VendPositionControl aligns with soda chute s.
  4. The soda is vended.
  5. The light on the soda button s stops flashing.

Post-Conditions:

Sequence Diagram:

1C


SD Audit

  1. Name of the person conducting the audit?  Justin Ray/justinr2
  2. Are the events in the sequence diagram consistent with the steps in the scenario? yes
  3. Are all arcs labeled with a valid command in the sequence diagram? yes
  4. Are all arcs correctly colored (blue for physical message, black for network messages)? yes
  5. Are all boxed items correct parts of the elevator architecture? yes
  6. Does each message arc in the sequence diagram originate from the correct object (according to the interfaces defined in the Requirements I and II documents)? yes



Use Case 2: Customer pushes a soda button

Scenario 2A: Customer pushes a soda button when the correct amount has been paid

Author:  Justin Ray/justinr2

Pre-Conditions:

Scenario:

  1. The Customer pushes soda button s.
  2. The light on the soda button s begins flashing.
  3. The VendPositionControl aligns with soda chute s.
  4. The soda is vended.
  5. The light on the soda button s stops flashing.

Post-Conditions:

Sequence Diagram:

Sequence Diagram 2A


SD Audit

  1. Name of the person conducting the audit?  Justin Ray/justinr2
  2. Are the events in the sequence diagram consistent with the steps in the scenario? yes
  3. Are all arcs labeled with a valid command in the sequence diagram? yes
  4. Are all arcs correctly colored (blue for physical message, black for network messages)? yes
  5. Are all boxed items correct parts of the elevator architecture? yes
  6. Does each message arc in the sequence diagram originate from the correct object (according to the interfaces defined in the Requirements I and II documents)? yes


Use Case 3: Customer pushes the coin return button

Scenario 3A: Customer pushes the coin return button when coins have been inserted.

Author:  Justin Ray/justinr2

Pre-Conditions:

Scenario:

  1. Customer presses coin return.
  2. All coins received since the last vend cycle are returned.

Post-Conditions:

Sequence Diagram:

3A


SD Audit

  1. Name of the person conducting the audit?  Justin Ray/justinr2
  2. Are the events in the sequence diagram consistent with the steps in the scenario? yes
  3. Are all arcs labeled with a valid command in the sequence diagram? yes
  4. Are all arcs correctly colored (blue for physical message, black for network messages)? yes
  5. Are all boxed items correct parts of the elevator architecture? yes
  6. Does each message arc in the sequence diagram originate from the correct object (according to the interfaces defined in the Requirements I and II documents)? yes


Use Case 4: Customer observes soda availability

Scenario 4A: Soda is available

Author:  Justin Ray/justinr2

Pre-Conditions:

Scenario:

  1. Customer observers that the light for soda s is on.

Post-Conditions:

Sequence Diagram:

4A

SD Audit

  1. Name of the person conducting the audit?  Justin Ray/justinr2
  2. Are the events in the sequence diagram consistent with the steps in the scenario?
  3. Are all arcs labeled with a valid command in the sequence diagram?
  4. Are all arcs correctly colored (blue for physical message, black for network messages)?
  5. Are all boxed items correct parts of the elevator architecture?
  6. Does each message arc in the sequence diagram originate from the correct object (according to the interfaces defined in the Requirements I and II documents)?


Scenario 4B: Soda is NOT available

Author:  Justin Ray/justinr2

Pre-Conditions:

Scenario:

  1. Customer observers that the light for soda s is off.

Post-Conditions:

Sequence Diagram:

4B


SD Audit

  1. Name of the person conducting the audit?  Justin Ray/justinr2
  2. Are the events in the sequence diagram consistent with the steps in the scenario?
  3. Are all arcs labeled with a valid command in the sequence diagram?
  4. Are all arcs correctly colored (blue for physical message, black for network messages)?
  5. Are all boxed items correct parts of the elevator architecture?
  6. Does each message arc in the sequence diagram originate from the correct object (according to the interfaces defined in the Requirements I and II documents)?


Use Cases 5-6: 

Use cases 5-6 are handled manually and are outside the scope of this document.