Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 47

Unit Test Case Non JP

Project Code Fresher Academy – FA Management


Document Code 131e-BM/DE/HDCV/FSOFT
Version 1.1
Effective Date 19-Sep-23
754623548.xlsx

Function Name Req ID


Created By Group 2 Reviewer/Approver TBD
Executed By Issue Date:
Pass Fail Untested N/A Number of Test cases
10 0 0 0 12

ID Test Case Description Precondition Test Case Procedure Expected Output Result Test date Note

TC_01 Verify that a user with the role of .Log in successfully as System 1. Click on [Class management] button 4. The [Screen for Delivery Manager to Pass Displaying screen 7: Screen for
. System Admin, Admin, FA Manager, Delivery 2. Click on [Class Code] button import Trainee to Class] is displayed, Delivery Manager to import Trainee
. FA Manager, or Manager. 3. Click on [Trainee] button including these components: to Class
. Delivery Manager . The value of [Status] field of class is 4. Click on [Import Trainee] button
equal to “Draft”. - [import trainnee] screen lable
can open successfully in the [Screen for .[Landing Page] is opened. - [Information] tab
Delivery Manager to import Trainee to - "Please upload a file" guideline text
Class] - [Choose file] button

TC_02 Verify that an authenticated user can . User logged in successfully. 1. Click on [Choose file] button 2. The system displays the selected Trainee Pass
import Trainee from an excel file . [Screen for Delivery Manager to 2. Selects to import Trainee from an excel on the screen
import Trainee to Class] is open. file (.xls, or .xlsx)

TC_03 Verify that an authenticated user is not . User logged in successfully. 1. Click on [Import] button 2. The system displays message: "Please Pass MSG 25: "Please choose an excel
allowed to import Trainee from a non- . [Screen for Delivery Manager to 2. Selects to import Trainee from a non- choose an excel file to import" file to import"
excel file import Trainee to Class] is open. excel file

TC_04 Verify that the system creates a new . User is logged in successfully. 1. Click on [Choose file] button 2. The system creates a new trainee profile, Pass
trainee profile and adds it to the class . The imported excel file with a 2. Selects to import Trainee from an excel with the profiles as below:
when no value matches in the database trainee whose [Name], [DOB], file - [Empl ID]
[Phone], and [Email] do not match - [Name]
any trainee in the database. - [DOB]
- [Gender]
- [University]
(with the corresponding [Name], - [Faculty]
[Date of Birth], [Phone], and [Email] in - [Phone]
the database) - [Email]

- set the value of [Status] equal to “Enrolled”.


- save and add the profile to the system.

TC_05 Verify that the system adds a trainee to . User is logged in successfully. 1. Click on [Choose file] button 2. The system will: Pass Nếu trainnee này đã có thông tin
the class when all values match in the . The selected excel file with a trainee 2. Selects to import Trainee from an excel - pass the trainee in this row, trong hệ thống but ko có trên danh
database but no value matches in the whose [Name], [DOB], [Phone], and file - and process the next row in the excel file. sách trainnee available cho lớp.
Trainee List in Trainee tab of current [Email] match a trainee in the
Class. database thì add vào danh sách này, dành
cho lớp này , và chuyển sang
process trainee khác?

TC_06 Verify that the system pass a trainee . User is logged in successfully. 1. Click on [Choose file] button 2. The system will: Pass Nếu match hệ thống và match cả
profile when all values match in both the . The selected excel file with a trainee 2. Selects to import Trainee from an excel - pass the trainee in this row, trainnee list, mà hệ thống ko add
database and the Trainee List in whose [Name], [DOB], [Phone], and file - process the next row in the excel file. vào
Trainee tab of current Class [Email] match a trainee in the
database and the Trainee List in
Trainee tab of current Class

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

Verify that the system adds a trainee to . User is logged in successfully. 1. Click on [Choose file] button 2. System will add trainee to class as Pass
the class when no value matches in the . The imported excel file with a 2. Selects to import Trainee from an excel Importing Rules.
database trainee whose [Name], [DOB], file
[Phone], and [Email] with no value
matching in the database.

Verify that the system imports the data . User is logged in successfully. 1. Click on [Choose file] button 2. The system imports the data from each Pass
from the excel file to the table of trainee . User has an excel file of trainee 2. Selects to import Trainee from an excel column in the excel file to each column of the
list correctly data file table of trainee list correctly, as the importing
rules below:
- [#] is based on the number of trainee
- B column = [Empl ID]
- E column = [Name]
- ….

TC_06 Verify that the system updates User has imported a trainee 1. Observe the information of current trainee 1. The [Status] field is updated to “Enrolled”. Pass
"Enrolled" to the [Status] field successfully.

TC_07 Verify that the system sets "Not User has imported a trainee 1. Observe the information of current trainee 1. The [Allocation Status] field is updated to Pass
allocated" to the [Allocation Status] field successfully. “Not Allocated”.

TC_08 Verify that the system adds a new tab in User has imported a trainee 1. Observe the Class Listing in Training 1. A new tab is added
Class Listing in Training Result tab in successfully. Result tab in current Trainee Profile.
current Trainee Profile after importing

TC_09 Verify that the tab name is equal to the . 'User has imported a trainee 1. Observe the name of the new tab in Class 1. The tab name is equal to the value of
value of [Class Name] field of the class successfully. Listing in Training Result tab in current [Class Name] field of the class which current
which current trainee is assigned to. . A new tab is added. Trainee Profile. trainee is assigned to.

TC_10 Verify that the value of [Status in Class] . 'User has imported a trainee 1. Observe the value of [Status in Class] 1. The value of [Status in Class] field for
field for current Class is equal to successfully. field for current Class in the new tab in Class current Class is equal to “Enrolled”.
“Enrolled”. . A new tab is added. Listing in Training Result tab in current
Trainee Profile.

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

TC_11 Verify that the system saves all changes . 'User has imported a trainee 1. Observe the current screen 1. All changes are saved and the system
and goes back to view listing screen successfully. goes back to view listing screen.
after importing.

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

Function Name Req ID


Created By Group 2 Reviewer/Approver TBD
Executed By Issue Date:
Pass Fail Untested N/A Number of Test cases
9 0 0 0 9

ID Test Case Description Precondition Test Case Procedure Expected Output Result Test date Note

TC_01 Verify that a user with the role of .Log in successfully as System Admin, FA 1. Click on [Class management] button 2. The [Pop-up for Class Admin screen Pass Screen 9
. System Admin, Manager, Delivery Manager. 2. Click on [Trainee] button to update Status in Classof Trainee(s)
. FA Manager, or .[Landing Page] is opened. in a class] is displayed.
. Delivery Manager
. Class admin

can open successfully in the Screen [Pop-up


for Class Admin to update Status in Classof
Trainee(s) in a class]

TC_02 Verify that the [Confirm] pop-up is displayed . User logged in successfully. 1. Select Trainee(s) by selecting check box(es) 1. [Confirm] pop-up is displayed, with Pass
when the user click on [submit] button . The screen [Pop-up for Class Admin to 2. Click on [status] button the layout:
update Status in Classof Trainee(s) in a 3. Click on [Submit] button. - [Confirm] lable
class] is opened. - "Are you sure to submit?" text
- [OK] and [Cancel] button

TC_03 Verify that users as Class admin can submit a . User logged in successfully. 1. Select Trainee(s) by selecting check box(es) 4. sucessfully submit a class. Pass MSG 26
class, with clicking on [OK] button. . The screen [Pop-up for Class Admin to 2. Click on [status] button - Message "submitted submitted" is
update Status in Classof Trainee(s) in a 3. Click on [Submit] button. displayed
class] is opened. 4. Click on [OK] button. - The value of [Status] field is updated
to “Submitted”
- The system back to the view listing
screen.

TC_04 Verify that users as Class admin can submit a . User logged in successfully. 1. Select Trainee(s) by selecting check box(es) 4. Unsucessfully submit. The system Pass
clas, with clicking on [Cancel] button. . The screen [Pop-up for Class Admin to 2. Click on [status] button goes back to the view listing screen.
update Status in Classof Trainee(s) in a 3. Click on [Submit] button.
class] is opened. 4. Click on [Cancel] button.

TC_05 Verify that the system adds a new line in the User submitted a class successfully. 1. Observe the [History] field. 1. A new line is appended in the Pass
[History] field after submitting a class. [History] field as “<<Current date
time>> - Submitted by <<Current user’s
name>>”

TC_06 Verify that the system sends an email to User submitted a class successfully. 1. Check the email of Delivery Manager 1. An email is sent to Delivery Manager. Pass ET5
Delivery Manager after submitting a class. - Email title: "Sending email to Delivery
Manager for approval"

TC_07 Verify that the system sends an email to Class User submitted a class successfully. 1. Check the email of Class Admin 1. An email is sent to Class Admin, to Pass
Admin, to a assign the submitted class. assign the submitted class.

TC_08 Verify that the system does not allow . The value of [Status] of the class has not 1. Select trainees to submit a Class. 2. 'The system should not allow the Pass
submitting a class with status other than yet saved to “Draft”. 2. Click on [Submit] button submission of the class.
“Draft”.

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

TC_09 Verify that the user can successfully close the User is on the screen [Pop-up for Class 1. click on the [Close] button 1. successfully close the Screen Pass
Screen. Admin to update Status in Classof Trainee(s)
in a class]

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

Function Name Req ID


Created By Group 2 Reviewer/Approver TBD
Executed By Issue Date:
Pass Fail Untested N/A Number of Test cases
5 0 0 0 5

ID Test Case Description Precondition Test Case Procedure Expected Output Result Test date Note

TC_01 Verify that the [Confirm] pop-up is . User is logged in successfully as 1. Selects a Class to approve 1. [Confirm] pop-up is Pass
display when a user click on [Approve] System Admin, FA Manager, or 2. Click on [Approve] button displayed, with:
button. Delivery Manager. - "Are you sure to aprove?"
. The [Status] of the class is set as Text
“Submitted”. - [OK] and [Cancel] button.

TC_02 Verify that the user in role: . User is logged in successfully as 1. Selects a Class to approve 1. Unsuccessfully approved. Pass
❖ System Admin. System Admin, FA Manager, or 2. Click on [Cancel] button - 'The system goes back to the
❖ FA Manager. Delivery Manager. approving screen.
❖ Delivery Manager. . The [Status] of the class is set as
“Submitted”.
cannot approve a class with status
“Submitted”, with clicking on [Cancel]
button.

TC_03 Verify that the user in role: . User is logged in successfully as 1. Selects a Class to approve 1. Successfully approved. Pass
System Admin, FA Manager, or 2. Click on [OK] button - Message "Approved
Delivery Manager. successfully" is displayed
can approve a class with status . The [Status] of the class is set as - 'The value of [Status] field is
“Submitted”, with clicking on [OK] button. “Submitted”. updated to “Planning”.

TC_04 Verify that the system adds a new line in . User approved the class 1. Observe the [History] field. 1. A new line is added in the Pass
the [History] field after approving a class. successfully. [History] field as “<<Current
date time>> - Approved by
<<Current user>>”.

TC_05 Verify that the system sends an email to . User approved the class 2. Check the email of the FA manager 1. An email is sent to the FA Pass ET6
user as FA Manager after approving a successfully by Delivery Manager. manager, in form: Sending
class. email to FA manager after a
Class is approved by Delivery
Manager.

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

Function Name Req ID


Created By Group 2 Reviewer/Approver TBD
Executed By Issue Date:
Pass Fail Untested N/A Number of Test cases
8 0 0 0 8

ID Test Case Description Precondition Test Case Procedure Expected Output Result Test date Note

TC_01 Verify that the confirmation pop-up . User is logged in successfully as 1. Selects a Class to reject 2. [Confirm] pop-up is displayed Pass
display correctly when attempting to reject System Admin, FA Manager, or 2. Click on [Reject] button with:
a class. Delivery Manager. - "Are you sure to reject?"
. User is on the rejecting screen - [OK] and [Cancel] button

TC_02 Verify that the user cannot reject the class . User is logged in successfully as 1. Selects a Class to reject 3. unsuccessfully reject. The Pass
with clicking on [Cancel] button of the System Admin, FA Manager, or 2. Click on [Reject] button system goes back to the listing
confirmation pop-up. Delivery Manager. 3. Click on [Cancel] button screen.
. User is on the rejecting screen

TC_03 Verify that reason pop-up display . User is logged in successfully as 1. Selects a Class to reject 3. [Reason] pop-up is displayed Pass
correctly when the user clicks on [OK] System Admin, FA Manager, or 2. Click on [Reject] button with:
button. Delivery Manager. 3. Click on [OK] button - "Please input reason here"
. User is on the rejecting screen - Remarks: text box
- [OK] and [Cancel] button

TC_04 Verify that the user cannot reject the class . User is logged in successfully as 1. Selects a Class to reject 3. unsuccessfully reject. The Pass
with clicking on [Cancel] button of the System Admin, FA Manager, or 2. Click on [Reject] button system goes back to the listing
reason pop-up. Delivery Manager. 3. Click on [Cancel] button screen.
. User is on the rejecting screen

TC_05 Verify that an authenticated user can . User is logged in successfully. 1. Selects a Class to reject 3. successfully rejected. Pass
reject a class with status “Submitted” . The value of [Status] is equal to 2. Click on [Reject] button The value of [Status] field is
“Submitted”. 3. Click on [OK] button updated to “Rejected”.

TC_06 Verify that the system adds a new line in . User successfully rejected a class. 1. Observe the [History] field. 1. A new line is appended in Pass
the [History] field after rejecting a class. the [History] field as “<<Current
date time>> - Rejected by
<<Current user’s name>> -
<<Remarks content>>”.
TC_07 Verify that the system sends an email to . User successfully rejected a class, 1. Check the email of Class Admin. 1. An email is sent to Class Pass ET 7
Class Admin, Master Trainer, Trainer after as Delivery Manager. Admin, with form: Sending
rejecting a class. Email to Class Admin, Master
Trainer, Trainer after a class is
rejected by Delivery Manager.

TC_08 Verify that the system does not allow . User is logged in successfully. 1. Selects a Class to reject 3. The system does not allow Pass
rejecting a class with status other than . The value of [Status] is not set to 2. Click on [Reject] button the rejection of the class.
“Submitted”. “Submitted”. 3. Click on [OK] button

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

Function Name Req ID


Created By Group 2 Reviewer/Approver TBD
Executed By Issue Date:
Pass Fail Untested N/A Number of Test cases
2 0 0 0 10

ID Test Case Description Precondition Test Case Procedure Expected Output Result Test date Note

TC_01 Verify that a user with the role of .User logged in successfully as 1. Click on [Class management] button 2. The Screen [Pop-up for Pass Screen 11
. System Admin, System Admin, FA Manager, Delivery 2. Select Trainee(s) by selecting check Class Admin to update Topic
. FA Manager, or Manager. box(es) Mark of Trainee(s) in a Class]
. Delivery Manager 3. Click on [Update Trainee] button
. Class admin 4. Click on [Topic Mark] action

can open successfully in the Screen


[Pop-up for Class Admin to update Topic
Mark of Trainee(s) in a Class]

TC_02 Verify that the confirmation pop-up User logged in successfully. 1. Select a topic in the [Topic] field 3. [Confirm] pop-up is displayed
display correctly when attempting to - selected topic: ASQL with:
updating a Topic Mark in a class. 2. Select trainee(s) in the boxe(s) - "Are you sure to submit?"
3. Click on [Submit] button - [OK] and [Cancel] button
TC_03 Verify that the user cannot submit the . 'User logged in successfully. 1. Click on [Submit] button 2. unsuccessfull submit. The
topic mark with clicking on [Cancel] . [confirm] pop-up is opened 2. Click on [Cancel] button system goes back to the listing
button of the confirmation pop-up. screen.

TC_04 Verify that the user cannot submit with . The screen [Pop-up for Class Admin 1. input value that is not a number: 3. unsuccessfull submit.
the input value of [Score] field is not a to update Topic Mark of Trainee(s) in - Good - Message: "Please input
number. a Class] is opened. - ABC number only" is displayed
2. Click on [Submit] button
3. Click [OK] button

TC_05 Verify that the user can sumit with the . The screen [Pop-up for Class Admin 1. input value that is a number: 10 3. Successfull submit, without
input value of [Score] field is a number. to update Topic Mark of Trainee(s) in 2. Click on [Submit] button any massage displayed.
a Class] is opened. 3. Click [OK] button

TC_06 Verify the user cannot submit with The . The screen [Pop-up for Class Admin 1. input value that is a number with The 3. unsuccessfull submit.
value of [Score] field is greater than the to update Topic Mark of Trainee(s) in value of [Score] field is greater than the - Message: "Score must be
value of [Max Score] field in a Class] is opened. value of [Max Score] field. greater than Max Score" is
corresponding topic. 2. Click on [Submit] button displayed
3. Click [OK] button

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

TC_07 Verify the user can submit with The . The screen [Pop-up for Class Admin 1. input value that is a number with The 3. Successfull submit without
value of [Score] field is not greater than to update Topic Mark of Trainee(s) in value of [Score] field is not greater than any massage displayed.
the value of [Max Score] field in a Class] is opened. the value of [Max Score] field.
corresponding topic. 2. Click on [Submit] button
3. Click [OK] button

TC_08 Verify that the user can update Topic . 'User logged in successfully. 1. Select a topic in the [Topic] field 5. The Topic Mark of the
Mark of the selected Trainee(s) in a . The value of [Status] is equal to “In- 2. Select trainee(s) in the boxe(s) selected Trainee(s) is
Class with all required information. progress”. 3. input score as number and greater sucessfuly submited.
. The value of [Status in Class] field is than value of [Max Score] - Message "updated
equal to “Active”. 4. Click on [Submit] button successfully" is displayed
. The value of [Allocation Status] field 5. Click on [OK] button
is equal to “Not Allocated”.

TC_09 Verify that the system appends a new The Topic Mark of the selected Observe the [History] field. A new line is appended in the
line in the [History] field after updating Trainee(s) is updated successfully. [History] field as “<<Current
Topic Mark. date time>> - Updated by
<<Current user’s name>>”.

TC_10 Verify that the user can successfully User is on the screen [Pop-up for 1. click on the [Close] button 1. successfully close the Pass
close the Screen. Class Admin to update Topic Mark of Screen
Trainee(s) in a Class]

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

Function Name Req ID


Created By Group 2 Reviewer/Approver TBD
Executed By Issue Date:
Pass Fail Untested N/A Number of Test cases
2 0 0 0 7

ID Test Case Description Precondition Test Case Procedure Expected Output Result Test date Note

TC_01

TC_02

TC_03

TC_04

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

TC_05

TC_06 Verify that the user infor is - [Logout] screen is displayed 1. Click on [Logout] button s' Logout successful Pass
saved or not when user 2.Click on [OK] button - Message "Logout
click on [Logout] button. 3. User re-login the system successfully" is displayed
- [Login] screen is opened

TC_07 Verify that it’s properly - [Logout] screen is displayed 1. Click on [Logout] button without an 2. Logout unsuccessful Pass
logged out or not when internet connection. - [Logout] screen is displayed
Click on the sign-out 2.Click on [OK] button
button without an internet 3. Reconnecting to the internet to check
connection.

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

Function Name Req ID Pass


Created By Reviewer/Approver Fail
Executed By Issue Date: Untesed
Pass Fail Untested N/A Number of Test cases N/A
0 0 0 0 2

ID Test Case Description Test Case Procedure Expected Output Actual Output Result Test date Note

TC_01

TC_01

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

UNIT TEST REPORT

Project Name 0 Creator


Project Code 0 Reviewer/Approver
Document Code 0_Test Report_vx.x Issue Date <Date when this test report is created>
Notes <List modules included in this release> ex: Release 1 includes 2 modules: Module1 and Module2

No Function code Passed Failed Untested N A B Total Test Cases


1 Function1 12 2 1 12 2 1 15
2 Function2 12 3 0 12 2 1 15

Sub total 24 5 1 24 4 2 30

Test coverage 96.67 %


Test successful coverage 80.00 %
Normal case 80.00 %
Abnormal case 13.33 %
Boundary case 6.67 %

Passed Percent Test Type

Untested
3%
B
7%
A
Failed 13%
17%
Passed N A

Failed B
Untested
Passed
80% N
80%

131e-BM/DE/HDCV/FSOFT
Passed N A

754623548.xlsx Failed B
Untested
Passed
80% N
80%

131e-BM/DE/HDCV/FSOFT
754623548.xlsx

RECORD OF CHANGE
No Effective Date Version Change Description Reason Reviewer Approver
1 <dd/mmm/yy> <x.y> <Describe the change of document in detail> <Describe reason for the change>
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

131e-BM/DE/HDCV/FSOFT

You might also like