ABCDEFGH
1
Created by:Katherine Mariñas
2
Test Case IDModuleTest Case TitlePre-ConditionsTest StepsTest DataExpected ResultActual Result
3
TC_OHRM_Login_001LoginVerify login functionality with valid credentialsAdmin user must have a valid username and password1. Navigate to the OrangeHRM login pageUsername: Admin
Password: admin123
1. The login page is displayed with "Username", "Password", and "Login" button1. Login page loaded successfully
4
2. Enter valid username in the "Username" field2. The entered username appears correctly in the field2. Username entered without any error
5
3. Enter valid password in the "Password" field3. The entered password is masked (••••) and no validation error is shown3. Password accepted; characters were masked
6
4. Click the "Login" button4. The user is successfully redirected to the Dashboard page4. User landed successfully in the Dashboard page
7
TC_OHRM_Dashboard_001DashboardVerify user has successfully landed on the dashboard after loginAdmin user is logged in successfully1. Verify Dashboard page loads1. Dashboard is displayed1. Dashboard page loaded successfully
8
2. Verify dashboard widgets and menu options are displayed2. Dashboard widgets and navigation menu are visible2. The widgets and navigation menu loaded in the Dashboard page
9
3. Verify dashboard widgets buttons are clickable:
a. Time at Work card
b. My Actions card
c. Quick Launch card
d. Buzz Latest Post card
3. The user is successfully redirected according to its respective landing page:
1. Time at Work: {{systemUrl}}/attendance/punchin
2. My Actions:
2.1. {{systemUrl}}/performance/viewEmployeeTimesheet
2.2. {{systemUrl}}/performance/searchEvaluatePerformanceReview
2.3. {{systemUrl}}/recruitment/viewCandidates
3. Quick Launch
3.1. {{systemUrl}}/leave/assignLeave
3.2. {{systemUrl}}/leave/viewLeaveList
3.3. {{systemUrl}}/time/viewEmployeeTimesheet
3.4. {{systemUrl}}/leave/applyLeave
3.5. {{systemUrl}}/leave/viewMyLeaveList
3.6. {{systemUrl}}/time/viewMyTimesheet
4. Buzz Latest Post: {{systemUrl}}/buzz/viewBuzz
3. The user was redirected successssfully to the appropriate landing page
1. Time at Work: {{systemUrl}}/attendance/punchin
2. My Actions:
2.1. {{systemUrl}}/performance/viewEmployeeTimesheet
2.2. {{systemUrl}}/performance/searchEvaluatePerformanceReview
2.3. {{systemUrl}}/recruitment/viewCandidates
3. Quick Launch
3.1. {{systemUrl}}/leave/assignLeave
3.2. {{systemUrl}}/leave/viewLeaveList
3.3. {{systemUrl}}/time/viewEmployeeTimesheet
3.4. {{systemUrl}}/leave/applyLeave
3.5. {{systemUrl}}/leave/viewMyLeaveList
3.6. {{systemUrl}}/time/viewMyTimesheet
4. Buzz Latest Post: {{systemUrl}}/buzz/viewBuzz
10
4. Verify pie chart widgets are displayed in the dashboard:
a. Employee Distribution by Sub Unit
b. Employee Distribution by Location
4. The pie charts are displayed in the dashboard.4. The pie charts were displayed
11
TC_OHRM_PIM_Add_Emp_001PIM > Add EmployeeVerify user can add an employee using "+Add" buttonAdmin user is logged in1. On the menu options, click "PIM"1. The user is successfully redirected to the PIM page1. PIM page loaded successfully
12
2. On the PIM page > Employee List, click "+Add" button2. The user is successfully redirected to Add Employee page2. Add Employee page loaded successfully
13
3. Fill in the following fields:
a. First Name (required)
b. Middle Name (optional)
c. Last Name (required)
d. Profile Picture (optional)
First Name: Magnus
Middle Name: James
Last Name: Carlsen
Profile Picture: ../
3. Fields are populated with valid input3. Fields were populated with valid data
14
4. Click "Save" button4. An employee is successfully created and the user is redirected to the Personal Details page of the newly created employee4. Employee was created successfully and the user was redirected successfully on Personal Details page
15
TC_OHRM_PIM_Add_Emp_002PIM > Add EmployeeVerify user can add an employee using "+Add" button with Login DetailsAdmin user is logged in1. On the menu options, click "PIM"1. The user is successfully redirected to the PIM page1. PIM page loaded successfully
16
2. On the PIM page > Employee List, click "+Add" button2. The user is successfully redirected to Add Employee page2. Add Employee page loaded successfully
17
3. On the "Create Login Details", click the toggle button3. The following fields are displayed:
1. Username
2. Status
3. Password
4. Confirm Password
3. All fields were filled in successfully
18
4. Click "Cancel" button4. The user is redirected back to the PIM page4. User redirected successfully to PIM page
19
5 On the PIM page > Employee List, click "+Add" button5. The user is successfully redirected again to Add Employee page5. Add Employee page loaded successfully again
20
6. Fill in the following fields:
a. First Name (required)
b. Middle Name (optional)
c. Last Name (required)
d. Profile Picture (optional)
e. Username (required)
f. Status (optional)
g. Password (required)
h. Confirm Password (required)
First Name: Magnus
Middle Name: James
Last Name: Carlsen
Profile Picture: ../Carlsen_Magnus_2
Username: Magnus123
Status: Enabled
Password: P@55w0rd_M4gnUs
Confirm Password:
P@55w0rd_M4gnUs
6. Fields are populated with valid input6. Fields were populated with valid data
21
7. Click "Save" button7. An employee is successfully created and the user is redirected to the Personal Details page of the newly created employee7. Employee was created successfully and the user was redirected successfully on Personal Details page
22
TC_OHRM_PIM_Add_Emp_002PIM > Add EmployeeVerify user can add an employee using "Add Employee" buttonAdmin user is logged in1. On the menu options, click "PIM"1. The user is successfully redirected to the PIM page1. PIM page loaded successfully
23
2. On the PIM page > Employee List, click "Add Employee" button beside "Employee List"2. The user is successfully redirected to Add Employee page2. Add Employee page loaded successfully
24
3. Click "Cancel" button3. The user is redirected back to the PIM page3. User redirected successfully to PIM page
25
4. On the PIM page > Employee List, click "Add Employee" button beside "Employee List"4. The user is successfully redirected to Add Employee page4. Add Employee page loaded successfully again
26
5. Fill in the following fields:
a. First Name (required)
b. Middle Name (optional)
c. Last Name (required)
d. Profile Picture (optional)
e. Username (required)
f. Status (optional)
g. Password (required)
h. Confirm Password (required)
First Name: Magnus
Middle Name: James
Last Name: Carlsen
Profile Picture: ../
Username: Magnus123
Status: Enabled
Password: P@55w0rd_M4gnUs
Confirm Password:
P@55w0rd_M4gnUs
5. Fields are populated with valid input5. Fields were populated with valid data
27
6. Click "Save" button6. An employee is successfully created and the user is redirected to the Personal Details page of the newly created employee6. Employee was created successfully and the user was redirected successfully on Personal Details page
28
TC_OHRM_PIM_View_Emp_Personal_Details_001PIM > View Employee Personal DetailsVerify personal details of the newly created emplyeeEmployee is created successfully1. Verify Personal Details page loads1. Personal Details page is displayed with the URL {{systemUrl}}/pim/ViewPersonalDetails/empNumber/{{empNum}}1. The user landed successfully on Personal Details page
29
2. Verify personal details of the newly created employe are populated correctly2. Displayed personal details match with the test data2. The personal details displayed matched the test data
30
TC_OHRM_PIM_View_Emp_Personal_Details_002PIM > View Employee Personal DetailsVerify personal details of an existing employeeEmployee is existing in the system1. On the PIM page > Employee List, enter an existing employee in the "Employee Name" fieldEmployee Name: Magnus1. The entered employee name should appear in the autocomplete as the user types1. The searched employee name appeared in the autocomplate as the user typed
31
2. Click "Reset" button2. The field should be cleared2. The field was cleared successfully
32
3. Enter an existing employee in the "Employee Name" fieldEmployee Name: Magnus3. The entered employee name should appear in the autocomplete as the user types3. The searched employee name appeared in the autocomplate as the user typed
33
4. Click "Search" button4. The employee name is displayed in the employee list table4. The employee name was successsfully displayed in the employee list table
34
5. Click the row of the employee5. The user successfully navigated to Personal Details page with the URL {{systemUrl}}/pim/ViewPersonalDetails/empNumber/{{empNum}}6. The user was navigated successfully to the Personal Details page
35
6. Verify personal details of an employee6. Displayed personal details match with the test data6. The personal details displayed matched the test data
36
TC_OHRM_PIM_Update_Emp_Personal_Details_001PIM > Edit Employee Personal DetailsVerify user can edit the personal details of an employeeEmployee is existing in the system1. On the Personal Details page, verify that the following fields are visible:
1. Employee Full Name
2. Employee Id
3. Other Id
4. Driver's License Number
5. License Expiry Date (text field/calendar picker)
6. Nationality (dropdown selection)
7. Marital Status (dropdown selection)
8. Date of Birth (text field/calendar picker)
9. Gender (radio button)
10. Blood Type (dropdown selection)
1. The fields are visible on the page and populated with current values1. The field were visible on the page and populated with current values
37
2. Update the personal details of the employee1. Employee Full Name: Sven Magnus James Carlsen
2. Employee Id: 0398001
3. Other Id: 00010001
4. Driver's License Number: 123098747
5. License Expiry Date (text field/calendar picker): May 24, 2030
6. Nationality (dropdown selection): Norwegian
7. Marital Status: Married
8. Date of Birth (text field/calendar picker): November 30, 1990
9. Gender: Male
10. Blood Type (dropdown): A+
2. Fields are populated with valid input2. Fields were populated with valid data
38
3. Click "Save" button3. The entered details are saved and a confirmation toast appeared with a message, "Successfully Saved"3. The entered details were saved successfully and a confirmation toast was displayed
39
TC_OHRM_Login_Neg_001LoginVerify error is displayed when a required field is left blank1. Navigate to the OrangeHRM login page1. The login page is displayed with "Username", "Password", and "Login" button1. Login page loaded successfully
40
2. Click the "Login" button without inputting values on the Username field and the Password field2. An error message "Required" is displayed on the fields left blank2. Error message "Required" was displayed on the "Username" and "Password" fields
41
3. Enter valid username in the "Username" field3. The entered username appears correctly in the field3. Username entered without any error
42
4. Click the "Login" button without inputting a value on the Password field4. An error message "Required" is displayed on the Password field4. Error message "Required" was displayed on the "Password" field
43
5. Remove the value in the Username field. Enter a valid password in the "Password" field5. An error message "Required" is displayed on the Username field and the entered password is masked (••••)5. Error message "Required" was displayed on the "Username"; the characters were masked for "Password"
44
TC_OHRM_Login_Neg_002LoginVerify error is displayed with invalid credentials1. Navigate to the OrangeHRM login page1. The login page is displayed with "Username", "Password", and "Login" button1. Login page loaded successfully
45
2. Enter valid username in the "Username" fieldUsername: Admin2. The entered username appears correctly in the field2. Username entered without any error
46
3. Enter valid password in the "Password" field(Invalid) Password: Admin3. The entered password is masked (••••) and no validation error is shown3. Password accepted; characters were masked
47
4. Click the "Login" button4. An error message is displayed with "Invalid Credentials"4. Error message "Invalid Credentials" was displayed
48
TC_OHRM_PIM_Add_Emp_Neg_001PIM > Add EmployeeVerify error is displayed when a required field is left blank upon adding an Employee using "+Add" buttonAdmin user is logged in1. On the menu options, click "PIM"1. The user is successfully redirected to the PIM page1. PIM page loaded successfully
49
2. On the PIM page > Employee List, click "+Add" button2. The user is successfully redirected to Add Employee page2. Add Employee page loaded successfully
50
3. Click "Save" button without inputting a value on the fields3. An error message "Required" is displayed on the fields left blank3. Error mesage "Required" was displayed on the fields
51
TC_OHRM_PIM_Add_Emp_Neg_002PIM > Add EmployeeVerify error is displayed when uploading a profile picture more than 1MBAdmin user is logged in1. On the menu options, click "PIM"1. The user is successfully redirected to the PIM page1. PIM page loaded successfully
52
2. On the PIM page > Employee List, click "+Add" button2. The user is successfully redirected to Add Employee page2. Add Employee page loaded successfully
53
3. Click "+" button to upload a profile pictureProfile Picture: ../Carlsen_Magnus_13. An error message "Attachment Size Exceeded" is displayed below the profile picture placeholder3. Error mesage "Attachment Size Exceeded" was displayed below the profile picture placeholder
54
TC_OHRM_PIM_Add_Emp_Neg_003PIM > Add EmployeeVerify error is displayed when a required field is left blank upon adding an Employee using "+Add" button with Login DetailsAdmin user is logged in1. On the menu options, click "PIM"1. The user is successfully redirected to the PIM page1. PIM page loaded successfully
55
2. On the PIM page > Employee List, click "+Add" button2. The user is successfully redirected to Add Employee page2. Add Employee page loaded successfully
56
3. On the "Create Login Details", click the toggle button3. The following fields are displayed:
1. Username
2. Status
3. Password
4. Confirm Password
3. The fields were displayed successfully
57
6. Click "Save" button without inputting a value on the fields4. An error message "Required" is displayed on the fields left blank4. Error mesage "Required" was displayed on the fields; error message "Passwords do no match" was displayed on the "Confirm Password" field
58
TC_OHRM_PIM_Delete_Employee_001PIM > Employee ListVerify user can delete an employeeEmployee is existing in the system
1. On the PIM page > Employee List, enter an existing employee in the "Employee Name" fieldEmployee Name: Magnus1. The entered employee name appears correctly in the field
59
2. Click "Search" button2. The employee name is displayed in the employee list table
60
3. On the Employee List Table, under Actions column, click the "Delete" icon3. A confirmation modal appeared
61
4. Verify contents of the confirmation modal4. The contents of the confirmation modal are displayed:
1. Title: "Are you Sure?"
2. Description: "The selected record will be permanently deleted. Are you sure you want to continue"
3. "No, Cancel" button
4. "Yes, Delete" button
62
5. On the confirmation modal, verify that the "X" icon (close) can cancel the modal as well5. The confirmation modal closed
63
6. Click the "Delete" icon again6. A confirmation modal appeared once more
64
7. On the Employee List Table, under Actions column, click the "Delete" icon7. A confirmation modal appeared
65
8. On the confirmation modal, click "X" button8. The confirmation modal closed
66
9. On the confirmation modal, click "Yes, Delete" button9. The employee is deleted and a confirmation toast appeared with a message, "Successfully Deleted"
67
68
69