Thursday, March 20, 2008

Calculate Distance Ran Use Case Detailed Description

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

1. Runner enters the Run Time and the Pace.

2. Runner requests the Run Distance2. Calculates the Run Distance by taking the Run Time and dividing it by the Run Pace.


2.1 Presents the calculated Run Distance in Meters, kilometers or Miles 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 Time of Run or b) The Runner's Pace.

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

2. If the runner enters the pace in the wrong format or mis-enters the pace, the the System informs the user of the proper format for pace entry.

No comments: