Skip to content

Speroteck logo

Speroteck

  • Company
    • About Us
    • Our partners
  • Services
    • eCommerce Services
    • eCommerce Platforms
      • Magento
      • Commerce Cloud
    • Online Marketing
      • SEO Tools
    • Managed Services
    • Mobile Development
  • News
  • Blog
Get in Touch

Blog

By Yana Plevako
< Back to posts
September 20, 2022
eCommerce Support Company - Blog

Writing of test cases is an important part of QA work on the project. It requires experience and a keen eye for details to build scenarios. This means that the site (application) tester needs to focus on creating a set of variables or conditions which will help to determine whether the software meets requirements and functions lawlessly.

Registration page – Basic requirements

Before you start to create a list of cases you should understand what main elements are on the registration page. Usually there are the next fields:

  1. First name;
  2. Last name;
  3. User name (not always);
  4. Address fields (street, house or flat number, country, zip code);
  5. Email ID;
  6. Phone number;
  7. Password;
  8. Confirm password;
  9. Gender;
  10. Birth date (month, date, year).

Please notice that some fields are required, some optional, and also some fields need validation.

eCommerce Support Company - Blog

Example of required fields:

  • First name;
  • Last name;
  • User name (if present);
  • Password;
  • Confirm Password.

Validation fields:

  • Email: just valid emails are acceptable.
  • Phone number: should have only numbers, country code is required.
  • Password: It should have alphanumeric, Length should be 8 to 32 (for example).
When registration is successfully complete, the customer should get a confirmation email. After clicking on the link in the email, the customer usually redirects back to the site.

This is the list of test cases below that can be used to test the registration pages.

Test case #FeatureDescriptionSteps to executeTest data inputExpected resultActual resultComments
1User interfaceCheck all the text fields (boxes), checkboxes, radio buttons, etc.Click/tap radio buttons, text dropdowns, buttons, checkboxesN/AFunctionality should work as described in the requirements. Styling should watch comps.
2Required fieldsCheck all required fields, but do not fill any field

1. Do not fill any information in the required fields.

2. Click on the “Register” button

N/AWarning messages should be shown beneath all required fields with text like – “Please enter an email address”
3Required fieldsCheck that text fields with the customer first and last name has validation

1. Type first and last name in appropriate fields with numbers and special symbols.

2. Click on the “Register” button

N/ABe sure that the correct error message displays beneath the names fields.
4Required fieldsCheck that customer is able to complete registration when all required fields are fulfilled with valid information

1. Fill in all required fields using valid information.

2. Click on the “Register” button

N/AUser should be able successfully complete registration. Confirmation email should be sent.
5Required fieldsCheck that user can verify it’s email ID

1. Open confirmation email.

2. Click on the verification link.

Email that was used for registrationUser should get a verification email and be able to verify his/her email ID.
6Email validation

1. Enter an invalid address without @ symbol.

2. Enter invalid email without a dot before domain name.

3. Enter an email without a domain name.

4. Enter an email without text before @ symbol and without domain name

1. Enter an invalid information in the email field.

2. Click on the “Register” button and check the validation message.

1. testgmail.com

2. test@gmailcom

3. test@gmail

4. @gmail

It should show the correct validation message.
7Email validationCheck the valid emails

1. Put in the email field any valid email.

2. Click on the “Register” button.

qassure@gmail.com

test86@gmail.com

It shouldn’t show any validation message.
8Phone number validationCheck the phone number when passing alphanumeric data.

1. Enter alphanumeric data in the phone field.

2. Click on the “Register” button.

data#5467$*It should show the validation message for Phone Number
9Phone number validationCheck the phone number when not pass a country code.

1. Enter a valid phone number without a country code.

2. Click on the “Register” button.

90158630978It should show the message that country code is required
10Phone number validationCheck the phone number when passing the country code.

1. Enter valid phone number with country code.

2. Click on the “Register” button.

1 (659) 599-5776It should not show any validation message.
11Password validationCheck the password limit when enter less than minimum.

1. Enter in a password field any password with length less than minimum.

2. Click on “Register” button

PasswIt should show a validation message.
12Password validationCheck the password validation with special characters that are not allowed.

1. Enter any password that contains letters, digits and special characters.

2. Click on “Register” button

Pas$”w0rd@;∆It should show a validation message with a hint which symbols are allowed to use.
13Password validationCheck the password validation when the number of symbols are greater than maximum.

1. Enter any password that is greater than allowed maximum.

2. Click on the “Register” button.

Any random password that has length more than 32 symbols.It should show a validation message.
14Password validationCheck the password when passing only numbers

1. Enter a value in numbers that is between 8-32.

2.Click on the “Register” button

468953215675It should show a validation message.
15Password validationCheck the password when passing valid data

1. Enter valid password.

2. Click on the “Register” button.

Passw13345It shouldn’t show a validation message.

Column “Actual result” is used to write the actual test result. Please notice that you may need to repeat the same test several times on different devices (laptop, mobile, tablet).

Column “Comments” is used to write any information that may help to reproduce tests (data, passwords, special options, etc.). Also if the actual test result is Fail it could be used for entering the ticket number which QA creates for the defect.

Please keep in mind that the presented table is just an example and this is not a full list of possible test cases for the registration page.

WRITTEN BY: Alex Kulko, Speroteck QA team

Share:
Recent Posts
  • Our Students’ Insights: PWA Kit Courses Feedbacks
  • Life away from home. Part two. Chapter 1: Azerbaijan
  • Some interesting webinars and conferences in May.
  • Mastering ChatGPT: Personal Tips for Success
  • ISTQB Software Testing Certification. Why Choose ISTQB?

Contacts

666 Dundee Road,
Suite 1604, Northbrook,
IL 60062
Get in touch
  • Privacy Policy
  • Careers
  • News & Events
  • Blog
  • Contact Us
  • Sitemap
© 2020 Speroteck, All Rights Reserved. Designed with love by Speroteck.