Every business provides a registration form to add new members to use their services, whether the form is public or internal. Let’s say you are a software tester or QA professional and your TL assigned you a task to test the registration process. And you are not sure how to create test cases for the registration process.
Then this post will cover the sample test scenarios and test cases for the registration process. So, we have taken an example of a Training payment registration form. You are welcome to choose the alternative registration form, but we would like to point out that the number of fields and the cases for the way will vary.
Required form fields
In training form, we have the following required fields:
- First name
- Last name
- Phone number
- Number of people attending
- Address
- City
- State
- Zip code
- Select the checkbox which training user wants to go
The next step of the form is to provide payment info and billing info that we will see how to test the payment form in the upcoming tutorial.
Related When planning tests, what considerations should be made?
User Registration Form Test Cases
Preconditions:
- It is necessary that the zip code allow numbers.
- The phone number is 10 digit, and phone number should enter in (000) 000-0000 format.
- The system will make an error if fields are not filled or wrong data is put in.
The test cases for the registration form are sorted per field, as explained below.
The generic form required field tests:
- To test the form, try filling it out with dummy data.
- Please make sure that all mandatory fields are filled.
- You can check the behavior of the form by adding random data.
- Please complete the form with other text fields except for the address fields.
- Keep the phone number text field blank and submits the form.
- Keep the email text field blank and submits the form.
User Registration Form Testing Full Name Field:
- You can check the Full name text field without adding the first name.
- You can check the Full name text field without adding the last name.
- You can check the Full name text field with a special character in the first name.
- You can check the Full name text field with a special character in the last name.
- Please check by adding numbers instead of strings to the first name & last name text field.
User Registration Form Testing Address Field
- Please examine if all text fields in the address field are mandatory.
- Can the second line of the street field be left blank?
- You can check the first line of the street text field by keeping it blank.
- You can check the city field by adding numbers to it.
- You can check the city text field by keeping it blank.
- You can check the city field by adding numbers to it.
- You can check the state text field by keeping it blank.
- If the state text field is overflowing with data, please check the state text field by adding data beyond the field limit.
- To see how the form works when the country is not selected, try filling it out without selecting a country from the drop-down menu.
- To check the behavior of the form, please select an incorrect country to match the address field’s content.
- Check the zip code text field, it only allows numbers.
- Check the zip code text field for numbers that are shorter than required.
User Registration Form Testing Phone Number Field
- Please check the Phone text field to ensure that it contains only numbers, not a string.
- Check the Phone text field allows the data in (000) 000-0000 format.
- Please check the Phone text field, without any text added.
User Registration Form Testing Email Field
- Please check the Email text field that has an email address without the @ symbol.
- Please check the Email text field, which appears to contain a random string instead of a real email.
- Please check the email field that has the @ symbol written in words.
- You may want to check the Email text field, as the email address is missing a dot.
- Please check the Email text field as name@gmail or as @gmail or name@gmail..com (you are free to use yahoo or other email providers).
- Check the Email text field as “name@192.168.1.1.0.”
Instructor-led Training
Software Testing Online Training
- Manual Testing
- Database/SQL/Database Testing
- JIRA defect management tool
- Java Programming
- Selenium Framework
- TestNG
- Cucumber with Maven
- Basic of Jenkins
To get more details, please visit the following URL:
https://www.qaonlinetraining.com/courses/software-testing-courses/qa-online-training/
Software Testing Classroom Training
Software testing classroom training includes the following modules:
- Manual Testing
- Database/SQL/Database Testing
- JIRA defect management tool
- Java Programming
- Selenium Framework
- TestNG
- Cucumber with Maven
- Basic of Jenkins
- API Testing with SoapUI or Postman
- Performance Testing with Jmeter
To get more details, please visit the following URL:
https://www.qaonlinetraining.com/programs/master-of-software-testing-ba-istqb-training/
Note: In classroom training, Business Analyst Training is totally free. And ISTQB Certification training is totally up to you
Final Words
We hope the test cases are explained in more detail. You are welcome to add your test cases to the list as you see fit.