0% found this document useful (0 votes)
17 views18 pages

Test Case

The document is a test report for a calculator system sprint 1. It summarizes the results of testing 5 key functions: addition, subtraction, multiplication, division, and modulus. For each function, there were 7 test cases that all passed initially and on re-test. The test cases covered normal input values as well as invalid input scenarios.

Uploaded by

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

Test Case

The document is a test report for a calculator system sprint 1. It summarizes the results of testing 5 key functions: addition, subtraction, multiplication, division, and modulus. For each function, there were 7 test cases that all passed initially and on re-test. The test cases covered normal input values as well as invalid input scenarios.

Uploaded by

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

Test report

Project Name Calculator System


Stage Sprint 1
Test
Project Code
Environment
Setup Java
Description

Tester Tran Thi Thanh Vinh

PASS
FAIL
Test Result
SKIPPED
NOT IMPLEMENTED

No Testcase ID Function Name


1 Add - X Addition
2 Subtract - X Subtraction
3 Multiplied - X Multiplication
4 Div - X Division
5 Mod - X Modulus

Note: X is Number
Test report

Sheet Name Create Date


Addition 22-Jan-24
Subtraction 22-Jan-24
Multiplication 22-Jan-24
Division 22-Jan-24
Modulus 22-Jan-24
Module Addition
Code Add
Check requirement
Tester Tran Thi Thanh Vinh
TOTAL PASS FAIL
Status
7 7 0
TOTAL PASS FAIL
Re-test Status
7 7 0

STT Test case ID Requirements ID Test case decription Pre - Condition

1 Add - 1 Addition Check User Interface The code runs

2 Add - 2 Addition Enter enteger The code runs

Enter the decimal


3 Add - 3 Addition The code runs
number

4 Add - 4 Addition Enter fraction The code runs

5 Add - 5 Addition Do not enter value The code runs

6 Add - 6 Addition Do not enter value The code runs

7 Add - 7 Addition Do not enter value The code runs


Not Implemented SKIPPED
0 0
Not Implemented SKIPPED
0 0

Step Data Excepted Result Test Date

1. Go on the Java Show same with UI design 27-Jan-24

1. Go on the Java
a=1
2. Enter numbers a, b Displays addition results 27-Jan-24
b=2
and click "+"
1. Go on the Java
a = 1.5
2. Enter numbers a, b Displays addition results 27-Jan-24
b = 2.5
and click "+"
1. Go on the Java
a = 1/5 Display the message "Nhập
2. Enter numbers a, b 27-Jan-24
b = 2/5 dữ liệu sai. Hãy nhập lại"
and click "+"
1. Go on the Java
Display the message "Nhập
2. Only enter number a a = 1 27-Jan-24
dữ liệu sai. Hãy nhập lại"
and click "+"
1. Go on the Java
Display the message "Nhập
2. Only enter number b b = 2 27-Jan-24
dữ liệu sai. Hãy nhập lại"
and click "+"
1. Go on the Java
Display the message "Nhập
2. Don't enter any 27-Jan-24
dữ liệu sai. Hãy nhập lại"
numbers and click "+"
Actual Result Re-test Date Re-test Result Assign to

PASS PASS Tran Thi Thanh Vinh

PASS PASS Tran Thi Thanh Vinh

PASS PASS Tran Thi Thanh Vinh

PASS PASS Tran Thi Thanh Vinh

PASS PASS Tran Thi Thanh Vinh

PASS PASS Tran Thi Thanh Vinh

PASS PASS Tran Thi Thanh Vinh


Module Subtraction
Code Subtract
Check requirement
Tester Tran Thi Thanh Vinh
TOTAL PASS
Status
7 7
TOTAL PASS
Re-test Status
7 7

STT Test case ID Requirements ID Test case decription

1 Subtract - 1 Subtraction Check User Interface

2 Subtract - 2 Subtraction Enter enteger

3 Subtract - 3 Subtraction Enter the decimal number

4 Subtract - 4 Subtraction Enter fraction

5 Subtract - 5 Subtraction Do not enter value

6 Subtract - 6 Subtraction Do not enter value

7 Subtract - 7 Subtraction Do not enter value


FAIL Not Implemented SKIPPED
0 0 0
FAIL Not Implemented SKIPPED
0 0 0

Pre - Condition Step Data

The code runs 1. Go on the Java

1. Go on the Java
a=2
The code runs 2. Enter numbers a, b
b=1
and click "-"
1. Go on the Java
a = 2.5
The code runs 2. Enter numbers a, b
b = 1.5
and click "-"
1. Go on the Java
a = 2/5
The code runs 2. Enter numbers a, b
b = 1/5
and click "-"
1. Go on the Java
The code runs 2. Only enter number a a = 2
and click "-"
1. Go on the Java
The code runs 2. Only enter number b b = 1
and click "-"
1. Go on the Java
The code runs 2. Don't enter any
numbers and click "-"
Excepted Result Test Date Actual Result Re-test Date

Show same with UI design 27-Jan-24 PASS

Displays results 27-Jan-24 PASS

Displays results 27-Jan-24 PASS

Display the message "Nhập


27-Jan-24 PASS
dữ liệu sai. Hãy nhập lại"

Display the message "Nhập


27-Jan-24 PASS
dữ liệu sai. Hãy nhập lại"

Display the message "Nhập


27-Jan-24 PASS
dữ liệu sai. Hãy nhập lại"

Display the message "Nhập


27-Jan-24 PASS
dữ liệu sai. Hãy nhập lại"
Re-test Result Assign to

PASS Tran Thi Thanh Vinh

PASS Tran Thi Thanh Vinh

PASS Tran Thi Thanh Vinh

PASS Tran Thi Thanh Vinh

PASS Tran Thi Thanh Vinh

PASS Tran Thi Thanh Vinh

PASS Tran Thi Thanh Vinh


Module Multiplication
Code Multiplied
Check requirement
Tester Tran Thi Thanh Vinh
TOTAL PASS FAIL
Status
7 7 0
TOTAL PASS FAIL
Re-test Status
7 7 0

STT Test case ID Requirements ID Test case decription Pre - Condition

1 Multiplied - 1 Multiplication Check User Interface The code runs

2 Multiplied - 2 Multiplication Enter enteger The code runs

Enter the decimal


3 Multiplied - 3 Multiplication The code runs
number

4 Multiplied - 4 Multiplication Enter fraction The code runs

5 Multiplied - 5 Multiplication Do not enter value The code runs

6 Multiplied - 6 Multiplication Do not enter value The code runs

7 Multiplied - 7 Multiplication Do not enter value The code runs


Not Implemented SKIPPED
0 0
Not Implemented SKIPPED
0 0

Step Data Excepted Result

1. Go on the Java Show same with UI design

1. Go on the Java
a=2
2. Enter numbers a, b and Displays results
b=1
click "*"
1. Go on the Java
a = 2.5
2. Enter numbers a, b and Displays results
b = 1.5
click "*"
1. Go on the Java
a = 2/5 Display the message "Nhập dữ
2. Enter numbers a, b and
b = 1/5 liệu sai. Hãy nhập lại"
click "*"
1. Go on the Java
Display the message "Nhập dữ
2. Only enter number a a=2
liệu sai. Hãy nhập lại"
and click "*"
1. Go on the Java
Display the message "Nhập dữ
2. Only enter number b b=1
liệu sai. Hãy nhập lại"
and click "*"
1. Go on the Java
Display the message "Nhập dữ
2. Don't enter any
liệu sai. Hãy nhập lại"
numbers and click "*"
Test Date Actual Result Re-test Date Re-test Result Assign to

27-Jan-24 PASS PASS Tran Thi Thanh Vinh

27-Jan-24 PASS PASS Tran Thi Thanh Vinh

27-Jan-24 PASS PASS Tran Thi Thanh Vinh

27-Jan-24 PASS PASS Tran Thi Thanh Vinh

27-Jan-24 PASS PASS Tran Thi Thanh Vinh

27-Jan-24 PASS PASS Tran Thi Thanh Vinh

27-Jan-24 PASS PASS Tran Thi Thanh Vinh


Module Division
Code Div
Check requirement
Tester Tran Thi Thanh Vinh
TOTAL PASS FAIL
Status
8 8 0
TOTAL PASS FAIL
Re-test Status
8 8 0

STT Test case ID Requirements ID Test case decription Pre - Condition

1 Div - 1 Division Check User Interface The code runs

2 Div - 2 Division Enter enteger The code runs

Enter the decimal


3 Div - 3 Division The code runs
number

4 Div - 4 Division Enter fraction The code runs

Enter number a and b =


5 Div - 5 Division The code runs
0

6 Div - 6 Division Do not enter value The code runs

7 Div - 7 Division Do not enter value The code runs

8 Div - 8 Division Do not enter value The code runs


Not Implemented SKIPPED
0 0
Not Implemented SKIPPED
0 0

Step Data Excepted Result Test Date

Show same with UI


1. Go on the Java 27-Jan-24
design

1. Go on the Java
a=5
2. Enter numbers a, b and Displays results 27-Jan-24
b=2
click "/"
1. Go on the Java
a = 5.5
2. Enter numbers a, b and Displays results 27-Jan-24
b = 2.5
click "/"
1. Go on the Java Display the message
a = 2/5
2. Enter numbers a, b and "Nhập dữ liệu sai. Hãy 27-Jan-24
b = 1/5
click "/" nhập lại"
1. Go on the Java Display the message
a=2
2. Enter numbers a, b and "Nhập dữ liệu sai. Hãy 27-Jan-24
b=0
click "/" nhập b khác 0"
1. Go on the Java Display the message
2. Only enter number a a=2 "Nhập dữ liệu sai. Hãy 27-Jan-24
and click "/" nhập lại"
1. Go on the Java Display the message
2. Only enter number b b=1 "Nhập dữ liệu sai. Hãy 27-Jan-24
and click "/" nhập lại"
1. Go on the Java Display the message
2. Don't enter any "Nhập dữ liệu sai. Hãy 27-Jan-24
numbers and click "/" nhập lại"
Actual Result Re-test Date Re-test Result Assign to

PASS PASS Tran Thi Thanh Vinh

PASS PASS Tran Thi Thanh Vinh

PASS PASS Tran Thi Thanh Vinh

PASS PASS Tran Thi Thanh Vinh

PASS PASS Tran Thi Thanh Vinh

PASS PASS Tran Thi Thanh Vinh

PASS PASS Tran Thi Thanh Vinh

PASS PASS Tran Thi Thanh Vinh


Module Modulus
Code Mod
Check requirement
Tester Tran Thi Thanh Vinh
TOTAL PASS FAIL
Status
8 8 0
TOTAL PASS FAIL
Re-test Status
8 8 0

STT Test case ID Requirements ID Test case decription Pre - Condition

1 Mod - 1 Modulus Check User Interface The code runs

2 Mod - 2 Modulus Enter enteger The code runs

Enter the decimal


3 Mod - 3 Modulus The code runs
number

4 Mod - 4 Modulus Enter fraction The code runs

Enter number a and b =


5 Mod - 5 Modulus The code runs
0

6 Mod - 6 Modulus Do not enter value The code runs

7 Mod - 7 Modulus Do not enter value The code runs

8 Mod - 8 Modulus Do not enter value The code runs


Not Implemented SKIPPED
0 0
Not Implemented SKIPPED
0 0

Step Data Excepted Result Test Date

1. Go on the Java Show same with UI design 27-Jan-24

1. Go on the Java
a=5
2. Enter numbers a, b and Displays results 27-Jan-24
b=2
click "%"
1. Go on the Java
a = 5.5
2. Enter numbers a, b and Displays results 27-Jan-24
b = 2.5
click "%"
1. Go on the Java
a = 2/5 Display the message "Nhập
2. Enter numbers a, b and 27-Jan-24
b = 1/5 dữ liệu sai. Hãy nhập lại"
click "%"
1. Go on the Java Display the message "Nhập
a=2
2. Enter numbers a, b = 0 and dữ liệu sai. Hãy nhập b khác 27-Jan-24
b=0
click "%" 0"
1. Go on the Java
Display the message "Nhập
2. Only enter number a and a=2 27-Jan-24
dữ liệu sai. Hãy nhập lại"
click "%"
1. Go on the Java
Display the message "Nhập
2. Only enter number b and b=1 27-Jan-24
dữ liệu sai. Hãy nhập lại"
click "%"
1. Go on the Java
Display the message "Nhập
2. Don't enter any numbers 27-Jan-24
dữ liệu sai. Hãy nhập lại"
and click "%"
Actual Result Re-test Date Re-test Result Assign to

PASS PASS Tran Thi Thanh Vinh

PASS PASS Tran Thi Thanh Vinh

PASS PASS Tran Thi Thanh Vinh

PASS PASS Tran Thi Thanh Vinh

PASS PASS Tran Thi Thanh Vinh

PASS PASS Tran Thi Thanh Vinh

PASS PASS Tran Thi Thanh Vinh

PASS PASS Tran Thi Thanh Vinh

You might also like