TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

Software Testing

Test Cases for Registration Page

Test Cases

Overview

In this tutorial, we will learn how to write manual test cases for a registration page. Registration Page test cases in this tutorial are not verbose to list out all the test cases. The main aim of the tutorial is to make you learn how to write test cases on your own.

What is a Registration Page?

New users can register for the system using the registration page. A new user can sign up and register for the service by entering some details on the page.

  • Username
  • Name
  • Email address

 

The system then sends a verification mail to the user with a link. The user needs to verify the email address by clicking on the email link. The user is then allowed to set a password and confirm the password. The new user would be verified in the system and can log in to the system.

 

Sample Registration Page URL for this example:

https://www.example.com/register.jsp

Users

  • New/Unregistered Users
  • Registered Users/Returning users

 

New user

Bob is a new user. Bob is registering for the system or the web application. Alice and Mark are already registered users. They have verified their email addresses and created the passwords for the application.

Registered User

Alice and Mark are called returning users. They use the Login page to authenticate and log into the system.

USERS is the back-end database table that stores the information of the users. Partial table schema is shown in the picture.

Functional Test Cases

Form Validations

Test Case Name Test Case Steps Test Data Expected Result Actual Result
Verify Form field validations.

Preconditions

App Server running, Web App Deployed.

Steps

  • Launch the Browser.
  • Navigate to the Registration page URL.
  • Click on the Register button.
 

 

 

Verify that each form field is validated for invalid entries.

Validations Empty values, email address validation etc.

 

 

Register Test Case

Test Case Name Test Case Steps Test Data Expected Result Actual Result
Verify Register New User.

Preconditions

App Server running, Web App Deployed.

Steps

  • Launch the Browser.
  • Navigate to the Registration page URL.
  • Enter username.
  • Click on the Check link to check availability.
  • Enter name, email address.
  • Click on the Register button.
Sample Data:

testingdocs

Bob

bob@testingdocs.com

 

 

Verify that a Welcome message is displayed to the user.

Verify that verification email is sent to the user.

A database record is inserted in USERS table with the new user details.

GUI Test Cases

Web elements Responsive Test Case

Test Case Name Test Case Steps Test Data Expected Result Actual Result
Verify Page Responsiveness.

Preconditions

App Server running, Web App Deployed.

Steps

  • Launch the Browser.
  • Navigate to the Registration page URL
  • Resize the browser window to mimic a smaller screen.
  • Examine the page and the page elements.
 

 

 

Verify that all web GUI elements on the page are displayed properly. The fields should auto adjust to the screen size.

The page should be responsive to small/large screen sizes.

Security Test Cases

The mock up above has security vulnerabilities.  An automated bot or script can create multiple Signup request to craft a DoS attack. ( Denial of Service). The page should block such kind of requests and allow only humans to register or signup.

Test Case: Simulate bots or automated scripts to create such requests.

 

Load Test Cases

Sample 1K User Load

Test Case Name Test Case Steps Test Data Expected Result Actual Result
Verify Page load Time under 1k user load.

Preconditions

App Server running, Web App Deployed.

Steps

  • Simulate 1000 Concurrent Virtual Users.( Normal Ramp-up and Normal Ramp down)
  • Run a standard 24 hr persistence test.
  • For Each User:
  • Launch the Browser.
  • Navigate to the Registration page URL
  • Enter user details.
  • Click on the Register button.
1000 Virtual Users.

 

 

Verify that the mean page load time < SLA.

Monitor the server resources(CPU, Memory, Network and other resources).

Verify Nagios Monitoring alerts.

Related:

Login Page Test cases

https://www.testingdocs.com/test-cases-for-a-login-page/

Related Posts

Software Testing /

Useful Tools for Software Testers

Software Testing /

Error Density Metrics

Software Testing /

Error Removal Effectiveness Metrics

Software Testing /

RACI Chart

Software Testing /

Android Calculator Test Cases

‹ Software Test Life Cycle(STLC)› ATM System Components

Recent Posts

  • Scaler Academy – An Online Learning Platform
  • Difference between PHP and JavaScript?
  • MS Access Data Types
  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Build & Run CLion Project
  • Create New CLion C Project on Windows
  • Configure CLion Toolchains on Windows
  • Launch CLion IDE on Windows

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com