This commit is contained in:
louiscklaw
2025-01-31 19:51:33 +08:00
parent 78d53aeddb
commit 118e4a5f39
125 changed files with 4895 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
# TEST plan
### Gui
1. Validation on the input data and display appropriate error messages
1. Test Plan with test cases and test results.
| ID | Test Case Name | Procedure | Expected Output | Result | screen capture |
| --- | ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------- |
| 1 | Missing "Applicant Name" | 1. leave "applicant name" field empty.<br />1. Click "Next" button | The error MessageBox appears "name cannot empty."<br />The error MessageBox appears "Please enter all required information." | Pass/Fail | ![](../doc/result_1.png) <br />![](../doc/result_1_1.png) |
| 2 | Missing "Applicant Email" | 1. leave "applicant email" field empty.<br />1. Click "Next" button | The error MessageBox appears "email field cannot empty."<br />The error MessageBox appears "Please enter all required information." | Pass/Fail | ![](../doc/result_2.png) <br />![](../doc/result_2_1.png) |
| 3 | Missing "Date of Birth" | 1. leave "date of birth" field empty. <br />1. Click "Next" button | The error MessageBox appears "dob field cannot empty."<br />The error MessageBox appears "Please enter all required information." | Pass/Fail | ![](../doc/result_3.png) <br />![](../doc/result_3_1.png) |
| 4 | Missing Institution Name | 1. leave "Institution Name" field empty <br />1. Click "Next" button | The error MessageBox appears "Please enter all required information."<br />The error MessageBox appears "Please enter all required information." | Pass/Fail | ![](../doc/result_4.png) <br />![](../doc/result_4_1.png) |
| 5 | Missing Programme Title | 1. leave "Programme Title" field empty <br />1. Click "Next" button | The error MessageBox appears "Please enter all required information."<br />The error MessageBox appears "Please enter all required information." | Pass/Fail | ![](../doc/result_5.png) <br />![](../doc/result_5_1.png) |
| 6 | Missing GPA | 1. leave "GPA" field empty <br />1. Click "Next" button | The error MessageBox appears "Please enter all required information."<br />The error MessageBox appears "Please enter all required information." | Pass/Fail | ![](../doc/result_6.png) <br />![](../doc/result_6_1.png) |
| 7 | Missing Expected Graduation Year | 1. leave "Expected Graduation Year" field empty <br />1. Click "Next" button | The error MessageBox appears "Please enter all required information."<br />The error MessageBox appears "Please enter all required information." | Pass/Fail | ![](../doc/result_7.png) <br />![](../doc/result_7_1.png) |
| 8 | Showing summary if all input field fullfilled | 1. filling all required information in "Personal Information" <br />1. clici "Next" button <br /> 1. Filling all required information in"Higher Diploma Information" windows. <br />1. Click "Next" button<br /> 1. click "show" button to show summary | finally the summary window showing information in the page inputted before | Pass/Fail | ![](../doc/result_8_1.png) <br />![](../doc/result_8_2.png)<br />![](../doc/result_8_3.png)<br />![](../doc/result_8_4.png) |
| 9 | Date of birth should be in the past | 1. enter a day after today to the "date of birth" field <br /> 1. click next button | The error MessageBox appears "DOB: the day entered is latter than today."<br />The error MessageBox appears "Please enter all required information." | Pass/Fail | ![](../doc/result_9.png) <br />![](../doc/result_9_1.png) |
| 10 | email entered should be valid | 1. enter an invalid email e.g. "ankitrai326.com" <br /> 1. click "next" button | The error MessageBox appears "email format error, it should be email."<br />The error MessageBox appears "Please enter all required information." | Pass/Fail | ![](../doc/result_10.png)<br />![](../doc/result_10_1.png) |
| 11 | GPA should be a number / decimal | 1. enter a non numeric value into "GPA" field <br />1. Click "Next" button | The error MessageBox appears "GPA field should be a number."<br />The error MessageBox appears "Please enter all required information." | Pass/Fail | ![](../doc/result_11.png)<br />![](../doc/result_11_1.png) |
| 12 | Expected graduation year should be in future | 1. enter a day in the past in "Graduation year" field <br />1. Click "Next" button | The error MessageBox appears "Expected graduation year should be after current year."<br />The error MessageBox appears "Please enter all required information." | Pass/Fail | ![](../doc/result_12.png)<br />![](../doc/result_12_1.png) |
| 13 | female appliciant | 1. select female in applicant gender field <br />1. Click "Next" button | The error MessageBox appears "Expected graduation year should be after current year."<br />The error MessageBox appears "Please enter all required information." | Pass/Fail | ![](../doc/result_13.png)<br />![](../doc/result_13_1.png)<br />![](../doc/result_13_2.png) |
| 14 | "Bachelor of Science in Computer Science and AI" in apply programme | 1. select female in applicant gender field <br />1. Click "Next" button | The error MessageBox appears "Expected graduation year should be after current year."<br />The error MessageBox appears "Please enter all required information." | Pass/Fail | ![](../doc/result_14.png)<br />![](../doc/result_14_1.png)<br />![](../doc/result_14_2.png) |