0% found this document useful (0 votes)
21 views16 pages

LAB1 Group 7

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views16 pages

LAB1 Group 7

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
You are on page 1/ 16

TEST CASE

Project Name <Project Name> Creator


Project Code <Project Code> Reviewer/Approver
Issue Date
Document Code <Project Code>_XXX_vx.x
Version

Record of change
Effective Date Version Change Item *A,D,M Change description
<Date when these
changes are effective>

02ae-BM/PM/HDCV/FSOFT v2/0 Internal use 1/16


Reference
<List of documents which are referred in
this version.>

02ae-BM/PM/HDCV/FSOFT v2/0 Internal use 2/16


TEST CASE LIST
Project Name <Project Name>
Project Code <Project Code>
<List enviroment requires in this system
1. Server
2. Database
Test Environment Setup Description 3. Web Browser
...
>

No Function Name Sheet Name Description


1 Function A Module1
2 Function B Module1
3 Function C Module1
4 Function D Module2
5 Function E Module2

02ae-BM/PM/HDCV/FSOFT v2/0 Internal use 3/16


Pre-Condition

02ae-BM/PM/HDCV/FSOFT v2/0 Internal use 4/16


Facilitate_Test Case\Company v1.0

Module Code Module1

Test requirement <Brief description about requirements which are tested in this sheet>
Tester
Pass Fail Untested N/A
1 0 13 0

ID Test Case Description Test Case Procedure Expected Output

Function A
[Module1 -] <Brief description of this case: <Describe steps to perform this <Describe results which meet
what is tested?> case> customer's requirement>
Test viewing "Form1" form. 1. Run the application The "Form1" view form is displayed
with the folowing informations:
- "Date Time Checker" label
- "Day", "Month", "Year" labels
- 3 plain textboxes for inputing
day,month, year
- "Clear" and "Check" button

[Module1 -1] Testing view "Confirm" 1. Run the application The "Confirm" MessageBox is
MessageBox 2. Click the "Close" button displayed with the following
informations:
- The name of the MessageBox:
"Confirm"
- The Notification icon (i)
- "Are you sure to exit?" label
- "Yes" and "No" buttons

02ae-BM/PM/HDCV/FSOFT v2/0 Internal use 5/16


Facilitate_Test Case\Company v1.0
[Module1 -2] Test viewing "Form1" form when 1. Run the application The "Form1" view form is displayed
clicking the button "Clear" 2. Click the "Clear" button with the folowing informations:
- "Date Time Checker" label
- "Day", "Month", "Year" labels
- 3 plain textboxes for inputing
day,month, year
- "Clear" and "Check" button

Function B
[Module1 -3] Check if Month is 1, 3, 5, 7, 8, 10, 31
12 1. Run the application
2. Input the Day, Month and Year
with Month = 1, 3, 5, 7, 8, 10, 12
3. Click Check
[Module1 -4] Check if Month is 4, 6, 9, 11 30
1. Run the application
2. Input the Day, Month and Year
with Month = 4, 6, 9, 11
3. Click Check
[Module1 -5] Check if Month is not from 1 to 12 1. Run the application 0
2. Input the Day, Month and Year
with Month != 1, 2, 3, 4, 5, 6, 7, 8,
9, 10, 11, 12
3. Click Check
[Module1 -6] Check if Month is 2 and Year 29
%400=0 1. Run the application
2. Input the Day, Month and Year
with Month = 2, Year%400=0
3. Click Check
[Module1 -7] Check if Month = 2, Year%400!=0, 1. Run the application 28
Year%100=0 2. Input the Day, Month and Year
with Month = 2, Year%400!=0,
Year%100=0
3. Click Check

02ae-BM/PM/HDCV/FSOFT v2/0 Internal use 6/16


Facilitate_Test Case\Company v1.0
[Module1 -8] Check if Month = 2, Year%400!=0, 29
Year%100!=0, Year%4=0 1. Run the application
2. Input the Day, Month and Year
with Month = 2, Year%400!=0,
Year%100!=0, Year%4=0
3. Click Check
[Module1 -9] Check if Month = 2, Year%400!=0, 28
Year%100!=0, Year%4!=0 1. Run the application
2. Input the Day, Month and Year
with Month = 2, Year%400!=0,
Year%100!=0, Year%4!=0
3. Click Check
Function C
[Module1 -10] Check if Month is not from 1 to 12 1. Run the application 0
2. Input the Day, Month and Year
with Month != 1, 2, 3, 4, 5, 6, 7, 8,
9, 10, 11, 12
3. Click Check
[Module1 -11] Check if 1 <= Month <=12 and 0
Day < 1 1. Run the application
2. Input the Day, Month and Year
with Month = 1, 2, 3, 4, 5, 6, 7, 8,
9, 10, 11, 12 and Day < 1
3. Click Check
[Module1 -12] Check if 1 <= Month <=12 and 0
Day >= 1 and Day >
1. Run the application
DaysInMonth(Year, Month)
2. Input the Day, Month and Year
with Month = 1, 2, 3, 4, 5, 6, 7, 8,
9, 10, 11, 12 and Day >= 1 and
Day > DaysInMonth(Year, Month)
3. Click Check

02ae-BM/PM/HDCV/FSOFT v2/0 Internal use 7/16


Facilitate_Test Case\Company v1.0
[Module1 -13] Check if 1 <= Month <=12 and 1
1. Run the application
Day >= 1 and Day <=
2. Input the Day, Month and Year
DaysInMonth(Year, Month)
with Month = 1, 2, 3, 4, 5, 6, 7, 8,
9, 10, 11, 12 and Day >= 1 and
Day <= DaysInMonth(Year,
Month)
3. Click Check

02ae-BM/PM/HDCV/FSOFT v2/0 Internal use 8/16


Facilitate_Test Case\Company v1.0

Number of Test cases


14

Inter-test case
Result Test date Note
Dependence

<List all test cases or Pass


conditions that must
be done before
performing this case>

02ae-BM/PM/HDCV/FSOFT v2/0 Internal use 9/16


Facilitate_Test Case\Company v1.0

02ae-BM/PM/HDCV/FSOFT v2/0 Internal use 10/16


Facilitate_Test Case\Company v1.0

02ae-BM/PM/HDCV/FSOFT v2/0 Internal use 11/16


Facilitate_Test Case\Company v1.0

02ae-BM/PM/HDCV/FSOFT v2/0 Internal use 12/16


Facilitate_Test Case\Company v1.0

Module Code Module2


Test
requirement <Brief description about requirements which are tested in this sheet>
Tester
Pass Fail Untested N/A Number of Test cases
1 0 4 0 5

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>

02ae-BM/PM/HDCV/FSOFT v2/0 Internal use 13/16


Facilitate_Test Case\Company v1.0

r of Test cases
5

Result Test date Note

Pass

02ae-BM/PM/HDCV/FSOFT v2/0 Internal use 14/16


TEST REPORT
Project Name <Project Name> Creator
Project Code <Project Code> Reviewer/Approver
Document Code <Project Code>_Test Report_vx.x Issue Date
Notes <List modules included in this release> ex: Release 1 includes 2 modules: Module1 and Module2

No Module code Pass Fail Untested N/A


1 Module1 1 0 13 0
2 Module2 1 0 4 0

Sub total 2 0 17 0

Test coverage 10.53 %


Test successful coverage 10.53 %

02ae-BM/PM/HDCV/FSOFT v2/0 Internal use 15/16


T

<Date when this test report is created>


modules: Module1 and Module2

Number of test cases


14
5

19

02ae-BM/PM/HDCV/FSOFT v2/0 Internal use 16/16

You might also like