Test Cases For Mandatory Fields

.
Sample Test Case For Mandatory Field

Hello Folks, 

In this tutorial, we will learn mandatory field test cases? We will also learn about positive test scenarios and Negative test scenarios.

How to write test cases for mandatory fields?

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 that 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 

Share Your Knowledge With Us -
Mail your content - qaacharya.in@gmail.com

Test Cases For Mandatory Field

Post a Comment

0 Comments