Here we shared Test cases for Registration Page which is common for all projects. Testing is the process of detecting errors. The aim of testing is often to demonstrate that a program works by showing that it has no errors. Testing performs a very special role for quantity assurance and for ensuring the reliability of software. The results of testing are used later on during maintenance also.
Test cases for Registration Page
| Serial No. | Condition To be Tested | Test Data | Expected Output | Remarks |
| 1. | If any field in the form is empty. | Value of form fields. | Alert the user to enter all the fields and then proceed. | SUCCESSFUL |
| 2. | If first name, last name contains other than Character values. | custfname, custllname | Alert the user to enter only Characters and return to same page. | SUCCESSFUL |
| 3. | If user tries to enter date greater than the current date. | Dob | Alert the user to enter correct date. | SUCCESSFUL |
| 4. | If the username Already Exist. | Username | Alert the user to enter other Username. | SUCCESSFUL |
| 5. | If the the Email Id is not in the specified format | Alert the user to enter proper Email ID | SUCCESSFUL | |
| 6 | If password and confirm password does not match | c_password | Alert the user to enter correct password | SUCCESSFUL |
| 7. | If Submit Button is clicked. | Value of form fields | Validate all the entries. Execute the INSERT query. Display the message “Customer record inserted successfully”. | SUCCESSFUL |
