Italian Trulli

Test Cases For Mandatory Field -Mandatory Field Testing

Test Tribe
.
Test Cases For Mandatory Field- How To write Test Cases for Mandatory Field 

Mandatory Field
A mandatory field is a form field or input field in a software application or web form that requires the user to provide valid input before they can proceed with the submission or processing of the form. The term "mandatory" is used to indicate that the field is required and cannot be left blank or incomplete. The purpose of mandatory fields is to ensure that the user provides all the necessary information required by the application or form. Common examples of mandatory fields include name, email address, phone number, date of birth, password, and credit card information. When a mandatory field is left blank, an error message is usually displayed prompting the user to provide the required information before proceeding.

What are The Test Cases for Mandatory Field?

Here!!! Important test cases for mandatory fields are given.

  • First Verify that the mandatory field is marked with a red asterisk symbol or not ( in some cases it is not required depending on the requirement).
  • Check that user is able to save the details without entering data on mandatory fields.
  • Check whether the alert message shows or not when the user leaves the mandatory field.
  • Verify that the alert message is proper or not.
  • Check that when the user doesn't enter any data in the mandatory field.
  • Check that user is able to save the details when the user enters the valid data in the mandatory field.
  • Check that when the user edits the details and leaves the mandatory field blank.
  • Verify whether the alert message showing or not when the user edits the details and leaves the mandatory field blank.
  • Check when a user enters data only in the mandatory field and then is able to save the details or not.
  • Check that when the user enters data only in the non-mandatory field and clicks on save.
  • Check the alert message when the user enters data in one or two mandatory fields and leaves the rest blank and clicks on the save button.
  • Verify that when the user tries to save by entering the blank space in the mandatory text box.
  • Check that when the user pastes the value which is not accepted by that field then an alert message shows or not 


Hope !!! The above test cases for mandatory fields are helpful for you...

Team, 
QA acharya 

Tags: Mandatory fields test cases, test cases for mandatory fields, test scenarios for the mandatory fields.

Test Cases For Mandatory Field



Post a Comment

0 Comments