A | B | C | D | E | F | G | H | |
---|---|---|---|---|---|---|---|---|
1 | Created by: | Katherine Mariñas | ||||||
2 | Test Case ID | Module | Test Case Title | Pre-Conditions | Test Steps | Test Data | Expected Result | Actual Result |
3 | TC_OHRM_Login_001 | Login | Verify login functionality with valid credentials | Admin user must have a valid username and password | 1. Navigate to the OrangeHRM login page | Username: Admin Password: admin123 | 1. The login page is displayed with "Username", "Password", and "Login" button | 1. Login page loaded successfully |
4 | 2. Enter valid username in the "Username" field | 2. The entered username appears correctly in the field | 2. Username entered without any error | |||||
5 | 3. Enter valid password in the "Password" field | 3. The entered password is masked (••••) and no validation error is shown | 3. Password accepted; characters were masked | |||||
6 | 4. Click the "Login" button | 4. The user is successfully redirected to the Dashboard page | 4. User landed successfully in the Dashboard page | |||||
7 | TC_OHRM_Dashboard_001 | Dashboard | Verify user has successfully landed on the dashboard after login | Admin user is logged in successfully | 1. Verify Dashboard page loads | 1. Dashboard is displayed | 1. Dashboard page loaded successfully | |
8 | 2. Verify dashboard widgets and menu options are displayed | 2. Dashboard widgets and navigation menu are visible | 2. 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_001 | PIM > Add Employee | Verify user can add an employee using "+Add" button | Admin user is logged in | 1. On the menu options, click "PIM" | 1. The user is successfully redirected to the PIM page | 1. PIM page loaded successfully | |
12 | 2. On the PIM page > Employee List, click "+Add" button | 2. The user is successfully redirected to Add Employee page | 2. 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 input | 3. Fields were populated with valid data | ||||
14 | 4. Click "Save" button | 4. An employee is successfully created and the user is redirected to the Personal Details page of the newly created employee | 4. Employee was created successfully and the user was redirected successfully on Personal Details page | |||||
15 | TC_OHRM_PIM_Add_Emp_002 | PIM > Add Employee | Verify user can add an employee using "+Add" button with Login Details | Admin user is logged in | 1. On the menu options, click "PIM" | 1. The user is successfully redirected to the PIM page | 1. PIM page loaded successfully | |
16 | 2. On the PIM page > Employee List, click "+Add" button | 2. The user is successfully redirected to Add Employee page | 2. Add Employee page loaded successfully | |||||
17 | 3. On the "Create Login Details", click the toggle button | 3. 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" button | 4. The user is redirected back to the PIM page | 4. User redirected successfully to PIM page | |||||
19 | 5 On the PIM page > Employee List, click "+Add" button | 5. The user is successfully redirected again to Add Employee page | 5. 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 input | 6. Fields were populated with valid data | ||||
21 | 7. Click "Save" button | 7. An employee is successfully created and the user is redirected to the Personal Details page of the newly created employee | 7. Employee was created successfully and the user was redirected successfully on Personal Details page | |||||
22 | TC_OHRM_PIM_Add_Emp_002 | PIM > Add Employee | Verify user can add an employee using "Add Employee" button | Admin user is logged in | 1. On the menu options, click "PIM" | 1. The user is successfully redirected to the PIM page | 1. 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 page | 2. Add Employee page loaded successfully | |||||
24 | 3. Click "Cancel" button | 3. The user is redirected back to the PIM page | 3. 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 page | 4. 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 input | 5. Fields were populated with valid data | ||||
27 | 6. Click "Save" button | 6. An employee is successfully created and the user is redirected to the Personal Details page of the newly created employee | 6. Employee was created successfully and the user was redirected successfully on Personal Details page | |||||
28 | TC_OHRM_PIM_View_Emp_Personal_Details_001 | PIM > View Employee Personal Details | Verify personal details of the newly created emplyee | Employee is created successfully | 1. Verify Personal Details page loads | 1. 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 correctly | 2. Displayed personal details match with the test data | 2. The personal details displayed matched the test data | |||||
30 | TC_OHRM_PIM_View_Emp_Personal_Details_002 | PIM > View Employee Personal Details | Verify personal details of an existing employee | Employee is existing in the system | 1. On the PIM page > Employee List, enter an existing employee in the "Employee Name" field | Employee Name: Magnus | 1. The entered employee name should appear in the autocomplete as the user types | 1. The searched employee name appeared in the autocomplate as the user typed |
31 | 2. Click "Reset" button | 2. The field should be cleared | 2. The field was cleared successfully | |||||
32 | 3. Enter an existing employee in the "Employee Name" field | Employee Name: Magnus | 3. The entered employee name should appear in the autocomplete as the user types | 3. The searched employee name appeared in the autocomplate as the user typed | ||||
33 | 4. Click "Search" button | 4. The employee name is displayed in the employee list table | 4. The employee name was successsfully displayed in the employee list table | |||||
34 | 5. Click the row of the employee | 5. 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 employee | 6. Displayed personal details match with the test data | 6. The personal details displayed matched the test data | |||||
36 | TC_OHRM_PIM_Update_Emp_Personal_Details_001 | PIM > Edit Employee Personal Details | Verify user can edit the personal details of an employee | Employee is existing in the system | 1. 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 values | 1. The field were visible on the page and populated with current values | |
37 | 2. Update the personal details of the employee | 1. 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 input | 2. Fields were populated with valid data | ||||
38 | 3. Click "Save" button | 3. 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_001 | Login | Verify error is displayed when a required field is left blank | 1. Navigate to the OrangeHRM login page | 1. The login page is displayed with "Username", "Password", and "Login" button | 1. Login page loaded successfully | ||
40 | 2. Click the "Login" button without inputting values on the Username field and the Password field | 2. An error message "Required" is displayed on the fields left blank | 2. Error message "Required" was displayed on the "Username" and "Password" fields | |||||
41 | 3. Enter valid username in the "Username" field | 3. The entered username appears correctly in the field | 3. Username entered without any error | |||||
42 | 4. Click the "Login" button without inputting a value on the Password field | 4. An error message "Required" is displayed on the Password field | 4. 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" field | 5. 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_002 | Login | Verify error is displayed with invalid credentials | 1. Navigate to the OrangeHRM login page | 1. The login page is displayed with "Username", "Password", and "Login" button | 1. Login page loaded successfully | ||
45 | 2. Enter valid username in the "Username" field | Username: Admin | 2. The entered username appears correctly in the field | 2. Username entered without any error | ||||
46 | 3. Enter valid password in the "Password" field | (Invalid) Password: Admin | 3. The entered password is masked (••••) and no validation error is shown | 3. Password accepted; characters were masked | ||||
47 | 4. Click the "Login" button | 4. An error message is displayed with "Invalid Credentials" | 4. Error message "Invalid Credentials" was displayed | |||||
48 | TC_OHRM_PIM_Add_Emp_Neg_001 | PIM > Add Employee | Verify error is displayed when a required field is left blank upon adding an Employee using "+Add" button | Admin user is logged in | 1. On the menu options, click "PIM" | 1. The user is successfully redirected to the PIM page | 1. PIM page loaded successfully | |
49 | 2. On the PIM page > Employee List, click "+Add" button | 2. The user is successfully redirected to Add Employee page | 2. Add Employee page loaded successfully | |||||
50 | 3. Click "Save" button without inputting a value on the fields | 3. An error message "Required" is displayed on the fields left blank | 3. Error mesage "Required" was displayed on the fields | |||||
51 | TC_OHRM_PIM_Add_Emp_Neg_002 | PIM > Add Employee | Verify error is displayed when uploading a profile picture more than 1MB | Admin user is logged in | 1. On the menu options, click "PIM" | 1. The user is successfully redirected to the PIM page | 1. PIM page loaded successfully | |
52 | 2. On the PIM page > Employee List, click "+Add" button | 2. The user is successfully redirected to Add Employee page | 2. Add Employee page loaded successfully | |||||
53 | 3. Click "+" button to upload a profile picture | Profile Picture: ../Carlsen_Magnus_1 | 3. An error message "Attachment Size Exceeded" is displayed below the profile picture placeholder | 3. Error mesage "Attachment Size Exceeded" was displayed below the profile picture placeholder | ||||
54 | TC_OHRM_PIM_Add_Emp_Neg_003 | PIM > Add Employee | Verify error is displayed when a required field is left blank upon adding an Employee using "+Add" button with Login Details | Admin user is logged in | 1. On the menu options, click "PIM" | 1. The user is successfully redirected to the PIM page | 1. PIM page loaded successfully | |
55 | 2. On the PIM page > Employee List, click "+Add" button | 2. The user is successfully redirected to Add Employee page | 2. Add Employee page loaded successfully | |||||
56 | 3. On the "Create Login Details", click the toggle button | 3. 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 fields | 4. An error message "Required" is displayed on the fields left blank | 4. 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_001 | PIM > Employee List | Verify user can delete an employee | Employee is existing in the system | 1. On the PIM page > Employee List, enter an existing employee in the "Employee Name" field | Employee Name: Magnus | 1. The entered employee name appears correctly in the field | |
59 | 2. Click "Search" button | 2. The employee name is displayed in the employee list table | ||||||
60 | 3. On the Employee List Table, under Actions column, click the "Delete" icon | 3. A confirmation modal appeared | ||||||
61 | 4. Verify contents of the confirmation modal | 4. 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 well | 5. The confirmation modal closed | ||||||
63 | 6. Click the "Delete" icon again | 6. A confirmation modal appeared once more | ||||||
64 | 7. On the Employee List Table, under Actions column, click the "Delete" icon | 7. A confirmation modal appeared | ||||||
65 | 8. On the confirmation modal, click "X" button | 8. The confirmation modal closed | ||||||
66 | 9. On the confirmation modal, click "Yes, Delete" button | 9. The employee is deleted and a confirmation toast appeared with a message, "Successfully Deleted" | ||||||
67 | ||||||||
68 | ||||||||
69 |