Thursday, March 20, 2008

Calculate Run Time Use Case Detailed Description

Use Case NameCalculate Run Time
ScenarioN/A
Triggering EventRunner enters the appropriate data for run time calculation.
Brief DescriptionThe: 1) Distance Ran 2) Pace in MM:SS.ss or MM.mm format is entered into the computer.The System takes the Pace, multiplies it by the distance and returns the run time of the runner in HH:MM:SS.ss or HH.hh format.
ActorsRunner
Related Use CasesEnter Run Data
StakeholdersN/A
PreconditionsThe Application is running, pace must be entered in MM:SS.ss or MM.mm format. Run Distance must be entered in Meters, kilometers or miles format.
PostconditionsThe Run Time data must be calculated. Run Time is presented in MM:SS.ss or MM.mm format.
Flow of EventsActorSystem

1. Runner enters the Run Distance and the Pace.

2. Runner requests the Run Time2. Calculates the Run Time by taking the Run Distance and multiplying it by the Run Pace.


2.1 Presents the calculated Run Time in HH:MM:SS.ss or HH.hh format.
Exception Conditions2. If the runner does not enter enough data for the calculation, then the System informs the user more data is needed: either a) The Distance Ran or b) The Runner's Pace.

2. If the runner enters the time in the wrong format, then the System informs the user of the proper format for time entry.

2. If the runner enters the distance in the wrong format, then the System informs the user of the proper distance format (this should be pretty explanatory).

No comments: