DATE TIME CHECKER
User Requirement
Project Code: FU-SWT
Document Code: URD-FU-SWT– v<0.1>
<Project code> - User Requirement v<xxx>
RECORD OF CHANGE
*A - Added M - Modified D - Deleted
Effective Changed Items A* Change Description New
Date M, D Version
16-6-2010 New document A 0.1
06ae-BM/PM/HDCV/FSOFT v1/1 2/15
<Project code> - User Requirement v<xxx>
SIGNATURE PAGE
ORIGINATOR:
Name, Title Date
REVIEWERS:
Name, Title Date
Name, Title Date
APPROVAL:
Name, Title Date
06ae-BM/PM/HDCV/FSOFT v1/1 3/15
<Project code> - User Requirement v<xxx>
TABLE OF CONTENTS
1 INTRODUCTION......................................................................................................5
1.1 Purpose....................................................................................................................5
1.2 Scope.......................................................................................................................5
1.3 Definitions, acronyms and abbreviations.....................................................................5
1.4 References...............................................................................................................6
1.5 Overview..................................................................................................................6
2 FUNCTIONALITY.....................................................................................................7
2.1 User Interface..........................................................................................................7
2.2 “Close” function........................................................................................................7
2.3 “Clear” function........................................................................................................8
2.4 Check Date Time function.........................................................................................8
3 REABILITY............................................................................................................12
4 PERFOMANCE........................................................................................................13
5 TECHNOLOGY RULES AND LIMITATIONS.............................................................14
5.1 Running Environment..............................................................................................14
5.2 Development Environment.......................................................................................14
5.3 Hardware...............................................................................................................14
06ae-BM/PM/HDCV/FSOFT v1/1 4/15
<Project code> - User Requirement v<xxx>
1 INTRODUCTION
1.1 Purpose
This URD describe the requirements of DateTimeChecker application. This document is used as
a course material of Software Quality Assurance and Testing at FU.
1.2 Scope
We need an application, DateTimeChecker, which can check whether the date time input is
valid or not.
The release product must have characterizes:
Program is written with C# language
The program will be run all Windows platform with .NET framework 2.0 or upper.
Release product includes: source code , installation software, test cases and test
report.
The user interface must be friendly and easy to use.
Source code follow the C# coding convention.
All functions must be tested.
Duration of project is 14 days.
1.3 Definitions, acronyms and abbreviations
N Acronym/Abbreviation Description
o
1 UDD User Requirement Document
2 DTC Date Time Checker application
3 FU FPT University
06ae-BM/PM/HDCV/FSOFT v1/1 5/15
<Project code> - User Requirement v<xxx>
1.4 References
1.5 Overview
In next sections, UDD will describe detail of each requirement of DTC. Requirements are
divided in to sub-categories:
Functionality
Usability
Reliability
Performance
06ae-BM/PM/HDCV/FSOFT v1/1 6/15
<Project code> - User Requirement v<xxx>
2 FUNCTIONALITY
2.1 User Interface
Figure 1: Screen Layout of DTC
Application must have the layout as figure 1:
Picture box with FU Logo at the top-left corner.
“Date Time Checker” text with fore color is “Blue” and Font Name is “Arial” and size is 26.
“Day”, ”Month”, ”Year” texts must be left-align.
Three textbox for inputting day, month, year
Two button “Clear”, “Check”.
Form without Maximize and Minimize box
2.2 “Close” function
If user click “X” button, red button at the top-right, user will be asked by a Message Box:
06ae-BM/PM/HDCV/FSOFT v1/1 7/15
<Project code> - User Requirement v<xxx>
Figure 2: Confim Message Box
If user selects “Yes” option, application will exit.
If user selects “No” option, message box will close and application still exist.
2.3 “Clear” function
If user click “Clear” button, text in 3 textboxes will be clear.
2.4 Check Date Time function
Algorithm for checking valid date time must be followed flowcharts below:
06ae-BM/PM/HDCV/FSOFT v1/1 8/15
<Project code> - User Requirement v<xxx>
Figure 3: Check Day in Month
06ae-BM/PM/HDCV/FSOFT v1/1 9/15
<Project code> - User Requirement v<xxx>
Figure 4: Check Date
In “Day” textbox, user must be input integer number in rang 1-31.
In “Month” textbox, user must be input integer number in rang 1-12.
In “Day” textbox, user must be input integer number in rang 1000-3000.
When user click button “Check”
o If “Day” data input is not a number , Message Box will be shown:
06ae-BM/PM/HDCV/FSOFT v1/1
10/15
<Project code> - User Requirement v<xxx>
Figure 5: Error Message
If “Day” data input is a number but not in range, Message Box will be
shown:
Figure 6: Error Message Out-of-Range
Similar validation for “Month” and “Year” text box.
If user input correct format of date time, DTC will check whether the data is valid or
not:
o If data is valid date time, Message Box will be shown (dd/mm/yyyy is replaced
by actual value).
06ae-BM/PM/HDCV/FSOFT v1/1
11/15
<Project code> - User Requirement v<xxx>
Figure 7: Correct Date Time Message Box
o If data is invalid date time, Message Box will be shown (dd/mm/yyyy is
replaced by actual value).
06ae-BM/PM/HDCV/FSOFT v1/1
12/15
<Project code> - User Requirement v<xxx>
3 REABILITY
Application run smoothly without any crash failure.
Checking result is compatible with Georgian calendar.
06ae-BM/PM/HDCV/FSOFT v1/1
13/15
<Project code> - User Requirement v<xxx>
4 PERFOMANCE
Checking result must be appeared 1 second after clicking the “Check” button.
06ae-BM/PM/HDCV/FSOFT v1/1
14/15
<Project code> - User Requirement v<xxx>
5 TECHNOLOGY RULES AND LIMITATIONS
5.1 Running Environment
Application run on Windows XP SP2 or higher
Application can run on .NET Framework 2.0 or higher.
5.2 Development Environment
DTC will be developed on VS2005 or VS2008
5.3 Hardware
Machine for running DTC application:
CPU: Pentim IV or higher
RAM: 512 or higher
06ae-BM/PM/HDCV/FSOFT v1/1
15/15