# TEST plan

### Test purpose

1. Validation on the input data and display appropriate error messages

1. Test Plan with test cases and test results.

### Test #1

| del me          | del me                                                                                                                   |
| --------------- | ------------------------------------------------------------------------------------------------------------------------ |
| Test Case Name  | Missing "Applicant Name"                                                                                                 |
| Procedure       | 1. leave "applicant name" field empty.\n1. Click "Next" button                                                           |
| Expected Output | The error MessageBox appears "name cannot empty."\nThe error MessageBox appears "Please enter all required information." |
| Result          | Pass/Fail                                                                                                                |

### Screen capture

#### step 1 screenshot

![](../doc/result_1.png)

#### step 2 screenshot

![](../doc/result_1_1.png)

### Test #2

| del me          | del me                                                                                                                          |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| Test Case Name  | Missing "Applicant Email"                                                                                                       |
| Procedure       | 1. leave "applicant email" field empty.\n1. Click "Next" button                                                                 |
| Expected Output | The error MessageBox appears "email field cannot empty."\nThe error MessageBox appears "Please enter all required information." |
| Result          | Pass/Fail                                                                                                                       |

### Screen capture

#### step 1 screenshot

![](../doc/result_2.png)

#### step 2 screenshot

![](../doc/result_2_1.png)

### Test #3

| del me          | del me                                                                                                                        |
| --------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| Test Case Name  | Missing "Date of Birth"                                                                                                       |
| Procedure       | 1. leave "date of birth" field empty. \n1. Click "Next" button                                                                |
| Expected Output | The error MessageBox appears "dob field cannot empty."\nThe error MessageBox appears "Please enter all required information." |
| Result          | Pass/Fail                                                                                                                     |

### Screen capture

#### step 1 screenshot

![](../doc/result_3.png)

#### step 2 screenshot

![](../doc/result_3_1.png)

### Test #4

| del me          | del me                                                                                                                                       |
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| Test Case Name  | Missing Institution Name                                                                                                                     |
| Procedure       | 1. leave "Institution Name" field empty \n1. Click "Next" button                                                                             |
| Expected Output | The error MessageBox appears "Please enter all required information."\nThe error MessageBox appears "Please enter all required information." |
| Result          | Pass/Fail                                                                                                                                    |

### Screen capture

#### step 1 screenshot

![](../doc/result_4.png)

#### step 2 screenshot

![](../doc/result_4_1.png)

### Test #5

| del me          | del me                                                                                                                                       |
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| Test Case Name  | Missing Programme Title                                                                                                                      |
| Procedure       | 1. leave "Programme Title" field empty \n1. Click "Next" button                                                                              |
| Expected Output | The error MessageBox appears "Please enter all required information."\nThe error MessageBox appears "Please enter all required information." |
| Result          | Pass/Fail                                                                                                                                    |

### Screen capture

#### step 1 screenshot

![](../doc/result_5.png)

#### step 2 screenshot

![](../doc/result_5_1.png)

### Test #6

| del me          | del me                                                                                                                                       |
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| Test Case Name  | Missing GPA                                                                                                                                  |
| Procedure       | 1. leave "GPA" field empty \n1. Click "Next" button                                                                                          |
| Expected Output | The error MessageBox appears "Please enter all required information."\nThe error MessageBox appears "Please enter all required information." |
| Result          | Pass/Fail                                                                                                                                    |

### Screen capture

#### step 1 screenshot

![](../doc/result_6.png)

#### step 2 screenshot

![](../doc/result_6_1.png)

### Test #7

| del me          | del me                                                                                                                                       |
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| Test Case Name  | Missing Expected Graduation Year                                                                                                             |
| Procedure       | 1. leave "Expected Graduation Year" field empty \n1. Click "Next" button                                                                     |
| Expected Output | The error MessageBox appears "Please enter all required information."\nThe error MessageBox appears "Please enter all required information." |
| Result          | Pass/Fail                                                                                                                                    |

### Screen capture

#### step 1 screenshot

![](../doc/result_7.png)

#### step 2 screenshot

![](../doc/result_7_1.png)

### Test #8

| del me          | del me                                                                                                                                                                                                                                  |
| --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Test Case Name  | Showing summary if all input field fullfilled                                                                                                                                                                                           |
| Procedure       | 1. filling all required information in "Personal Information" \n1. clici "Next" button \n 1. Filling all required information in"Higher Diploma Information" windows. \n1. Click "Next" button\n 1. click "show" button to show summary |
| Expected Output | finally the summary window showing information in the page inputted before                                                                                                                                                              |
| Result          | Pass/Fail                                                                                                                                                                                                                               |

### Screen capture

#### step 1 screenshot

![](../doc/result_8_1.png)

#### step 2 screenshot

![](../doc/result_8_2.png)

#### step 3 screenshot

![](../doc/result_8_3.png)

#### step 4 screenshot

![](../doc/result_8_4.png)

### Test #9

| del me          | del me                                                                                                                                           |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| Test Case Name  | Date of birth should be in the past                                                                                                              |
| Procedure       | 1. enter a day after today to the "date of birth" field \n 1. click next button                                                                  |
| Expected Output | The error MessageBox appears "DOB: the day entered is latter than today."\nThe error MessageBox appears "Please enter all required information." |
| Result          | Pass/Fail                                                                                                                                        |

### Screen capture

#### step 1 screenshot

![](../doc/result_9.png)

#### step 2 screenshot

![](../doc/result_9_1.png)

### Test #10

| del me          | del me                                                                                      |
| --------------- | ------------------------------------------------------------------------------------------- |
| Test Case Name  | email entered should be valid                                                               |
| Procedure       | 1. enter an invalid email e.g. "ankitrai326.com" \n 1. click "next" button                  |
| Expected Output | The error MessageBox appears "email format error                                            |
| Result          | it should be email."\nThe error MessageBox appears "Please enter all required information." |

### Screen capture

#### step 1 screenshot

Pass/Fail

### Test #11

| del me          | del me                                                                                                                              |
| --------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| Test Case Name  | GPA should be a number / decimal                                                                                                    |
| Procedure       | 1. enter a non numeric value into "GPA" field \n1. Click "Next" button                                                              |
| Expected Output | The error MessageBox appears "GPA field should be a number."\nThe error MessageBox appears "Please enter all required information." |
| Result          | Pass/Fail                                                                                                                           |

### Screen capture

#### step 1 screenshot

![](../doc/result_11.png)

#### step 2 screenshot

![](../doc/result_11_1.png)

### Test #12

| del me          | del me                                                                                                                                                       |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Test Case Name  | Expected graduation year should be in future                                                                                                                 |
| Procedure       | 1. enter a day in the past in "Graduation year" field \n1. Click "Next" button                                                                               |
| Expected Output | The error MessageBox appears "Expected graduation year should be after current year."\nThe error MessageBox appears "Please enter all required information." |
| Result          | Pass/Fail                                                                                                                                                    |

### Screen capture

#### step 1 screenshot

![](../doc/result_12.png)

#### step 2 screenshot

![](../doc/result_12_1.png)

### Test #13

| del me          | del me                                                                                                                                                       |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Test Case Name  | female appliciant                                                                                                                                            |
| Procedure       | 1. select female in applicant gender field \n1. Click "Next" button                                                                                          |
| Expected Output | The error MessageBox appears "Expected graduation year should be after current year."\nThe error MessageBox appears "Please enter all required information." |
| Result          | Pass/Fail                                                                                                                                                    |

### Screen capture

#### step 1 screenshot

![](../doc/result_13.png)

#### step 2 screenshot

![](../doc/result_13_1.png)

#### step 3 screenshot

![](../doc/result_13_2.png)

### Test #14

| del me          | del me                                                                                                                                                       |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Test Case Name  | "Bachelor of Science in Computer Science and AI" in apply programme                                                                                          |
| Procedure       | 1. select female in applicant gender field \n1. Click "Next" button                                                                                          |
| Expected Output | The error MessageBox appears "Expected graduation year should be after current year."\nThe error MessageBox appears "Please enter all required information." |
| Result          | Pass/Fail                                                                                                                                                    |

### Screen capture

#### step 1 screenshot

![](../doc/result_14.png)

#### step 2 screenshot

![](../doc/result_14_1.png)

#### step 3 screenshot

![](../doc/result_14_2.png)
