Test Scenario for Time Management

OrangeHRM Demo - Time

Test Case ID

TC-061

Test Case Name

Verify that the admin can add a project

Pre-Conditions

  • The admin must be logged in (refer to TC-001 for valid login credentials).

Test Steps & Expected Results

Step Action Expected Result
Step 1 Navigate to the left sidebar and click on "Time". The Timesheets page is displayed.
Step 2 Click on the "Project Info" option at the top. The Project Info dropdown is displayed.
Step 3 Select "Projects" from the dropdown. The Projects page is displayed.
Step 4 Click the "+ Add" button. The Add Project form is displayed.
Step 5 Fill in the "Name" field with: Website Redesign. The project name is entered and visible.
Step 6 Fill in the "Customer Name" field with: Global Corp and Co, then click "Add Customer" if needed. The customer name is entered and visible.
Step 7 Fill in the "Description" field with: Redesigning company website with new layout and responsive UI. The project description is entered and visible.
Step 8 Fill in the "Project Admin" field with: Linda Anderson and select it from the suggested list. The project admin is selected successfully.
Step 9 Click "Add Another" and enter another admin name: John Smith. An additional field for project admin is displayed and filled successfully.
Step 10 Click the "Save" button. A success notification appears: Successfully Saved, confirming the project has been added.

Post-Conditions

  • The new project "Website Redesign" for "Global Corp" is successfully added and visible in the Projects list.
  • Assigned admins Linda Anderson and John Smith are correctly associated with the project.
  • A success message is displayed confirming the addition.

Test Scenario for Time Management

OrangeHRM Demo - Time

Test Case ID

TC-062

Test Case Name

Verify that the system prevents adding duplicate project admins

Pre-Conditions

  • The admin must be logged in (refer to TC-001 for valid login credentials).
  • The Add Project form is open.

Test Steps & Expected Results

Step Action Expected Result
Step 1 Navigate to the left sidebar and click on "Time". The Timesheets page is displayed.
Step 2 Click on the "Project Info" option and select "Projects" from the dropdown. The Projects page is displayed.
Step 3 Click the "+ Add" button. The Add Project form is displayed.
Step 4 Fill in the "Name" field with: Mobile App Development. The project name is entered and visible.
Step 5 Fill in the "Customer Name" field with: Global Corp. The customer name is entered and visible.
Step 6 Fill in the "Project Admin" field with: Linda Anderson and select it from the list. The project admin is selected successfully.
Step 7 Click "Add Another" and enter the same admin name again: Linda Anderson. The system detects a duplicate entry.
Step 8 Click the "Save" button. An error message is displayed: Already Exists.
The project is not saved until the duplicate admin name is removed.

Post-Conditions

  • No duplicate admin names are allowed for the same project.
  • System displays an error message preventing project creation with duplicates.
  • The admin must correct the input before saving.

Test Scenario for Time Management

OrangeHRM Demo - Time

Test Case ID

TC-063

Test Case Name

Verify that the admin can add a customer

Pre-Conditions

  • The admin must be logged in (refer to TC-001 for valid login credentials).

Test Steps & Expected Results

Step Action Expected Result
Step 1 Navigate to the left sidebar and click on "Time". The Timesheets page is displayed.
Step 2 Click on the "Project Info" option at the top. The Project Info dropdown is displayed.
Step 3 Select "Customers" from the dropdown. The Customers page is displayed.
Step 4 Click the "+ Add" button. The Add Customer form is displayed.
Step 5 Fill in the "Name" field with: Global Corp. The customer name is entered and visible.
Step 6 Fill in the "Description" field with: Global technology solutions provider for international clients.. The customer description is entered and visible.
Step 7 Click the "Save" button. A confirmation message appears: Successfully Saved, confirming that the customer has been added.

Post-Conditions

  • The new customer “Global Corp” is successfully added and visible in the Customers list.
  • The description “Global technology solutions provider for international clients” is displayed correctly.
  • A success message confirms the addition.

Test Scenario for Time Management

OrangeHRM Demo - Time

Test Case ID

TC-064

Test Case Name

Verify that the admin cannot add a customer with an existing name

Pre-Conditions

  • The admin must be logged in (refer to TC-001 for valid login credentials).
  • Customer "Global Corp" must already exist in the system.

Test Steps & Expected Results

Step Action Expected Result
Step 1 Navigate to the left sidebar and click on "Time". The Timesheets page is displayed.
Step 2 Click on the "Project Info" option at the top. The Project Info dropdown is displayed.
Step 3 Select "Customers" from the dropdown. The Customers page is displayed.
Step 4 Click the "+ Add" button. The Add Customer form is displayed.
Step 5 Fill in the "Name" field with an already existing name: Global Corp. The system detects the duplicate name.
Step 6 Fill in the "Description" field with: Duplicate entry for existing customer.. The description is entered successfully.
Step 7 Click the "Save" button. An error notification appears: Already Exists, and the system prevents saving the duplicate customer.

Post-Conditions

  • No new customer record is added to the Customers list.
  • The system correctly displays an error message "Already Exists".
  • Admin must enter a unique customer name to successfully save.

Test Scenario for Time Management

OrangeHRM Demo - Time

Test Case ID

TC-065

Test Case Name

Verify that the admin can edit a project's info

Pre-Conditions

  • The admin must be logged in (refer to TC-001 for valid login credentials).
  • At least one project (e.g., “Website Redesign”) must exist in the Projects list.

Test Steps & Expected Results

Step Action Expected Result
Step 1 Navigate to the left sidebar and click on "Time". The Timesheets page is displayed.
Step 2 Click on the "Project Info" option at the top. The Project Info dropdown is displayed.
Step 3 Select "Projects" from the dropdown. The Projects page is displayed.
Step 4 From the list, next to the project "Website Redesign", click the pencil icon under the "Actions" column. The Edit Project page is displayed with current project details.
Step 5 Edit the "Name" field.
Input: Corporate Website Revamp
The project name is updated successfully.
Step 6 Edit the "Customer Name" field.
Input: TechNova Ltd
The customer name is updated successfully.
Step 7 Edit the "Description" field.
Input: Updated design scope and added new features.
The project description is updated successfully.
Step 8 Edit the "Project Admin" field and select from the dropdown search results.
Input: Paul Collings
The project admin is updated successfully.
Step 9 Click the "Save" button. A confirmation message is displayed: Successfully Updated.
The project info is saved with new details.

Post-Conditions

  • The updated project "Corporate Website Revamp" is listed under the Projects table.
  • All edited fields reflect the new values.
  • The confirmation message "Successfully Updated" is displayed.

Test Scenario for Time Management

OrangeHRM Demo - Time

Test Case ID

TC-065N-1

Test Case Name

Verify that the admin cannot save a project without entering a Name

Pre-Conditions

  • The admin must be logged in (refer to TC-001 for valid login credentials).
  • The admin is on the Edit Project page for an existing project.

Test Steps & Expected Results

Step Action Expected Result
Step 1 Clear the "Name" field, leaving it blank. The field is empty.
Step 2 Fill in "Customer Name" with TechNova Ltd. The customer name is entered successfully.
Step 3 Click the "Save" button. A validation message appears below the field:
Required
The project cannot be saved until the Name is entered.

Post-Conditions

  • The project remains unchanged.
  • No confirmation message (“Successfully Updated”) is displayed.

Test Scenario for Time Management

OrangeHRM Demo - Time

Test Case ID

TC-065N-2

Test Case Name

Verify that the admin cannot save a project without entering a Customer Name

Pre-Conditions

  • The admin must be logged in (refer to TC-001 for valid login credentials).
  • The admin is on the Edit Project page for an existing project.

Test Steps & Expected Results

Step Action Expected Result
Step 1 Enter "Name" as Corporate Website Revamp. The project name is entered successfully.
Step 2 Clear the "Customer Name" field, leaving it blank. The field is empty.
Step 3 Click the "Save" button. A validation message appears below the field:
Required
The project cannot be saved until the Customer Name is entered.

Post-Conditions

  • The project remains unchanged.
  • No confirmation message (“Successfully Updated”) is displayed.

Test Scenario for Time Management

OrangeHRM Demo - Time

Test Case ID

TC-042

Test Case Name

Verify that the admin can delete a project

Pre-Conditions

  • The admin must be logged in (refer to TC-001 for valid login credentials).

Test Steps & Expected Results

Step Action Expected Result
Step 1 Navigate to the left sidebar and click on "Time". The Timesheets page is displayed.
Step 2 Click on the "Project Info" option at the top. The Project Info dropdown is displayed.
Step 3 Select "Projects" from the dropdown. The Projects page is displayed.
Step 4 From the list, next to the project Website Redesign, click the trash icon under the "Actions" column. A prompt appears asking to confirm the deletion.
Step 5 Click "Yes, Delete" in the confirmation prompt. A confirmation message appears: Successfully Deleted, confirming that the project has been removed from the Projects list.

Post-Conditions

  • The project Website Redesign is deleted from the system.
  • The Projects list is updated to reflect the removal.
  • A success message is displayed to the admin.

Test Scenario for Time Management

OrangeHRM Demo - Time

Test Case ID

TC-067

Test Case Name

Verify that the admin can edit a customer's info

Pre-Conditions

  • The admin must be logged in (refer to TC-001 for valid login credentials).

Test Steps & Expected Results

Step Action Expected Result
Step 1 Navigate to the left sidebar and click on "Time". The Timesheets page is displayed.
Step 2 Click on the "Project Info" option at the top. The Project Info dropdown is displayed.
Step 3 Select "Customers" from the dropdown. The Customers page is displayed.
Step 4 From the list, next to the customer Global Corp, click the pencil icon under the "Actions" column. The Edit Customer page is displayed.
Step 5 Edit the "Name" field with: Global Corp International. The customer name is updated successfully.
Step 6 Edit the "Description" field with: International branch of Global Corp with updated address and contact info. The description is updated successfully.
Step 7 Click the "Save" button. A confirmation message appears: Successfully Updated, indicating the customer's info has been successfully updated.

Post-Conditions

  • The customer's name is now Global Corp International.
  • The updated description is saved in the system.
  • A success message is displayed confirming the update.

Test Scenario for Time Management

OrangeHRM Demo - Time

Test Case ID

TC-067-N

Test Case Name

Verify that the admin cannot update a customer without entering a name

Pre-Conditions

  • The admin must be logged in (refer to TC-001 for valid login credentials).

Test Steps & Expected Results

Step Action Expected Result
Step 1 Navigate to the left sidebar and click on "Time". The Timesheets page is displayed.
Step 2 Click on the "Project Info" option at the top. The Project Info dropdown is displayed.
Step 3 Select "Customers" from the dropdown. The Customers page is displayed.
Step 4 From the list, next to the customer Global Corp, click the pencil icon under the "Actions" column. The Edit Customer page is displayed.
Step 5 Clear the "Name" field so it is empty. The name field is empty.
Step 6 Click the "Save" button. An error message appears: Required, indicating that the customer name cannot be empty.

Post-Conditions

  • The customer's info is not updated.
  • An error message is displayed prompting the admin to enter a valid name.

Test Scenario for Time Management

OrangeHRM Demo - Time

Test Case ID

TC-068

Test Case Name

Verify that the admin can delete a customer

Pre-Conditions

  • The admin must be logged in (refer to TC-001 for valid login credentials).

Test Steps & Expected Results

Step Action Expected Result
Step 1 Navigate to the left sidebar and click on "Time". The Timesheets page is displayed.
Step 2 Click on the "Project Info" option at the top. The Project Info dropdown is displayed.
Step 3 Select "Customers" from the dropdown. The Customers page is displayed.
Step 4 From the list, next to the customer Global Corp, click the trash icon under the "Actions" column. A prompt is displayed asking for confirmation to delete the customer.
Step 5 Click "Yes, Delete". A confirmation message appears: Successfully Deleted, and the customer is removed from the list.

Post-Conditions

  • The customer "Global Corp" is successfully deleted from the Customers list.
  • A success message is displayed confirming the deletion.