• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

SoftwareTestingo - Interview Questions, Tutorial & Test Cases Template Examples

SoftwareTestingo - Interview Questions, Tutorial & Test Cases Template Examples

  • Home
  • Test Case Examples
  • Interview Questions
  • Interview Questions Asked
  • Java
  • Java Program
  • Selenium
  • Selenium Programs
  • Manual Testing
  • Difference
  • Tools
  • SQL
  • Contact Us
  • Search
SoftwareTestingo Â» Manual Testing Â» Test Cases Example Â» Test Cases For Contact Us Page & Contact Form Tester

Test Cases For Contact Us Page & Contact Form Tester

Last Updated on: January 15, 2023 By Softwaretestingo Editorial Board

What We Are Learn On This Post

  • Why do we need a Contact Form on the contact us page?
  • Test Cases For Contact Us Page
  • Contact Us Page Test Cases – Name field
  • Test Cases For Contact Us Page – E-mail field
  • Contact Us Page Test Cases – Subject field.
  • Contact Form Tester – Message field
  • Contact Us Test Cases Captcha field.
  • Test Cases For Submit button

Test Cases For Contact Us Page: On Every Blog or Website, we have a contact us page where a contact form is included on websites mainly to allow users to communicate with the site administrator, share their feedback/messages regarding the website, or reach out to the business owner of the site for services/support. In this article, I have covered a set of test cases for the contact form page that can be used to test the site contact form.

Why do we need a Contact Form on the contact us page?

A page on a website that allows users to communicate with the site owner. The page has fields for filling in names, addresses, and types of comments. On most company websites, email and mailing addresses are also included; however, the contact form provides an immediate, convenient way for users to ask the company questions.

Post On:Test Cases For Contact Us Page & Contact Form
Post Type:Test Case Example
Published On:www.softwaretestingo.com
Applicable For:Freshers & Experience
Join Here:SoftwareTestingo Group Link

If we see most of the websites worldwide, we can notice that around 40% of websites or blogs are created using WordPress CMS. To create a contact form for WordPress, there are somany popular WordPress plugins.

Test Cases For Contact Us Page

you can limit the number of submissions accepted from an IP within an hour. The system will not accept further submissions within that period. See the attached contact form.

These are the default fields found in a default drupal contact form, along with the captcha. Following are its test cases/checklists:

Ensure that an error message is displayed on submitting the form by leaving the mandatory fields empty. Expected error messages for the above example are:

  • Your name field is required.
  • Your e-mail address field is required.
  • The subject field is required.
  • A message field is required.
  • The math question field is required (Or Captcha)
Contact Us Page

Contact Us Page Test Cases – Name field

  • Check if the name accepts valid names.
  • Check if the user enters an invalid name and if the warning message is displaying. For example, the name “@run” will be accepted when given in the field.
  • Check the name fields that accept the alphanumeric values. If the field is customized, then test accordingly.
  • Check if the system rejects the invalid name (input:*##456456@#).

Test Cases For Contact Us Page – E-mail field

  • Check if the email field allows valid e-mail ids. For example, an id: tester@example.com should be accepted.
  • Check if the warning or error message displays when entering the invalid e-mail ids. For example, inputs “tester@example” and “tester.example@com” should not be accepted.

Contact Us Page Test Cases – Subject field.

Check if the system accepts the valid subject. Usually, all alphanumeric entries will be accepted. If there are other specifications like character limits, check that as well.

Contact Form Tester – Message field

Check if the system accepts valid messages. Usually, all alphanumeric entries will be accepted. If there are other specifications like character limits, check that as well.

Contact Us Test Cases Captcha field.

  • Check if the system accepts a valid captcha.
  • Check if the system rejects the invalid captcha.
  • Check if the captcha code resets as the system reloads.
  • Check if the captcha changes as the user enter the wrong value.

Test Cases For Submit button

  • Check if the spelling and position of the button are correct.
  • Check if the button is clickable.
  • When submitting a valid form, the value gets saved, and the administrator receives the same.
  • Check if the administrator receives the contact form at the email address which has been configured.

Conclusion:

We tried to cover more possible test cases in this test case for the contact details page. You can follow the link if you want more examples of test cases. But if you found any missing test scenarios, you can update us by commenting in the comment section.

    Filed Under: Test Cases Example

    Reader Interactions

    Comments

    1. Avatar for RajibRajib says

      July 1, 2022 at 1:22 AM

      Thanks for the detailed test cases

      Reply

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    Primary Sidebar

    Join SoftwareTestingo Telegram Group

    Categories

    Copyright © 2023 SoftwareTestingo.com ~ Contact Us ~ Sitemap ~ Privacy Policy ~ Testing Careers