Test Case ID
TC-037
Test Case Name
Verify that Admin can add a new candidate
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 | Click on "Recruitment" on the left side bar. | The Candidates form is displayed. |
| Step 2 | Click on the "+ Add" button. | The "Add Candidate" form appears. |
| Step 3 |
Input valid first name in the "First Name" field. Input: John
|
First name is entered and visible. |
| Step 4 |
Input valid middle name in the "Middle Name" field. Input: Michael
|
Middle name is entered and visible. |
| Step 5 |
Input valid last name in the "Last Name" field. Input: Smith
|
Last name is entered and visible. |
| Step 6 |
Select a vacancy from the "Vacancy" dropdown. Input: Software Engineer
|
The selected vacancy is displayed. |
| Step 7 |
Input a valid email in the "Email" field. Input: mail@example.com
|
Email is entered and visible. |
| Step 8 |
Input a valid contact number in the "Contact Number" field. Input: +381641234567
|
Contact number is entered and visible. |
| Step 9 |
Upload a valid resume file in the "Resume" field. Input: valid_resume.pdf
|
Resume file is uploaded successfully. |
| Step 10 |
Input valid keywords in the "Keywords" field. Input: Java, Selenium
|
Keywords are entered and visible. |
| Step 11 |
Select a date in the "Date of Application" field. Input: 2024-09-30
|
Selected date is displayed. |
| Step 12 |
Input valid notes in the "Notes" field. Input: Experienced in automation testing
|
Notes are entered and visible. |
| Step 13 | Check the checkbox for "Consent to keep data". | The checkbox is selected. |
| Step 14 | Click on the "Save" button. | The candidate is added successfully, and a confirmation message is displayed. |
Post-Conditions
- The new candidate is added successfully and visible in the candidates list.
- The candidate's information is stored in the system and can be retrieved for future reference.