SWT301 - Test Case - Lab0 - Gr5
SWT301 - Test Case - Lab0 - Gr5
Record of change
Effective Date Version Change Item *A,D,M Change description
<Date when these
changes are effective>
Inter-test case
ID Test Case Description Test Case Procedure Expected Output Result
Dependence
graphic user interface to check layout of application
[Module1 -] <Brief description of this <Describe steps to perform this <Describe results which meet Pass
case: what is tested?> case> customer's requirement>
Ex: Test viewing Ex: Ex:
"Company" form. 1. Login the system with Manager The "Company" view form is displayed
role. with the folowing informations:
2. Click "Company" tab in the left - Company name
menu. - Company address
- Phone
- Fax
[Module1 -1] Check the Title "Date 1.Launch the Date Time Checker • “Date Time Checker” text with fore
Time Checker" application. color is “Blue” and Font Name is
Appearance 2.Look at the title of the “Arial” and size is 26.
application window.
3.Verify the font style is Arial, font
size is 26, and color is blue.
[Module1 -3] Verify the Presence and 1.Launch the Date Time Checker Check if they are properly aligned and
Functionality of Text application. of consistent size.
Boxes for Day, Month, 2.Verify that there are three text
and Year Input boxes available below the labels
"Day", "Month", and "Year."
3.Check if they are properly
aligned and of consistent size.
[Module1 -4] Verify the Presence and 1.Launch the Date Time Checker The "Clear" and "Check" buttons
Position of "Clear" and application. should be present below the text
"Check" Buttons 2.Look at the position of the boxes, of equal size, and horizontally
"Clear" and "Check" buttons below aligned.
the text boxes.
3.Ensure both buttons are of equal
size and aligned horizontally.
[Module1 -6] Check the Application 1.Launch the Date Time Checker The title bar should display "Date
Title Bar application Time Checker" as the application’s
2.Look at the title bar at the top of title.
the window
3.Ensure that the title "Date Time
Checker" is displayed.
validation input
[Module1 -7] Check day 1. Go to DTC form System displays MsgBox "Input data
2. Input Day with not integer for Day is incorrect format!"
number
3. Inut Month, Year with valid
value
4. Click "Check" button
[Module1 -8] <Test case 5>
date time checking algorithm
[Module1 -9] Check algorithm 1. Go to DTC form System displays MsgBox "Input data
2. Input Day with valid value for Day is out of range!"
3. Input Day with value >31
3. Input Month with valid value
4. Input Year with valid value
5. Click "Check" button
Err:522
Inter-test case
ID Test Case Description Test Case Procedure Expected Output
Dependence
Function D
[Module2-] <Brief description of this <Describe steps to perform this <Describe results which meet <List all test cases or
case: what is tested?> case> customer's requirement> condition that must be
Ex: Test viewing "Staff Ex: Ex: done before
Information" form. 1. Login the system with Manager The "Staff information" view form is performing this case>
role. displayed with the folowing
2. Click "Staff" tab in the left informations:
menu. - Staff name
- Home address
- Company name
-…
[Module2-1] <Test case 2>
[Module2-2] <Test case 3>
Function E
[Module2-3] <Test case 4>
[Module2-4] <Test case 5>
r of Test cases
5
Pass
Sub total 2 0 13 0
15