Test cases for contact form

Test Cases For Contact Form

Test Cases For Contact Form : In this article, We have covered maximum test scenarios for Contact Form or Contact Us Page. Here, We have included positive and negative test cases for Contact Form or Contact Us Page.

UI Test cases for Contact Form

  1. Verify that name, email, subject and message field should display as per specification or not.
  2. Verify that lay out the all fields should be as per specification or not.
  3. Verify that length of the all field should be as per requirements or not.
  4. Verify that width of the all fields should be as per requirements or not.
  5. Verify that height of the all fields should be as per requirements or not.
  6. Verify that color of the all fields should be as per requirements or not.
  7. Verify that placeholders in all fields is displayed or not.
  8. Verify that if all fields are required then red “*” mark should be displayed.
  9. Verify that submit button should be displayed as per specification of not.
  10. Verify that re CAPTCHA checkbox is properly load in the contact form or not.

Functional Test cases for Contact Form

  1. Verify that if user clicks on any field then cursor should display in the text field.
  2. Verify that user is able to enter  maximum length in the name field or not.
  3. Verify that user is able to enter  minimum length in the name field or not.
  4. Verify that user is able to enter  valid email address in the email  field or not.
  5. Verify that user is able to enter  invalid email address in the email  field or not.
  6. Verify that user is able to enter  maximum length in the subject field or not.
  7. Verify that user is able to enter  maximum length in the message text field or not.
  8. Verify that user is able to enter  minimum length in the message text field or not.
  9. Verify that user is able to submit contact form without any data or not.
  10. Verify that if user left any blank fields then validation error messages should display for required fields.
  11. Verify that user is able to submit blank contact form or not.
  12. Verify that if user submit form successfully then successful message should be displayed .
  13. Verify that user is able to submit form without reCAPTCHA or not.
  14. Verify that when user checks the reCAPTCHA checkbox then it should be working as expected.
  15. Verify that user is able to submit form with invalid email address or not.

Negative Test cases for Contact Form

  1. Verify that user is able to submit blank contact form or not.
  2. Verify that user is able to submit contact form without reCAPTCHA or not.
  3. Verify that user is able to submit contact form with invalid data.

Conclusion:

So as above we have discussed the positive and negative test cases for Contact Form. If you are also looking for more examples of the test cases then please visit the link below.

1. Test Cases For Login Page

2. Test cases for Gmail Login Page

3. Test cases for Facebook login page

4. Test Cases For Profile Page

5. Test Cases for Change Password

Scroll to Top