.
Mandatory Field Test Case
Hello Folks,
In this tutorial, we will learn what are 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 the user is able to save the details without entering data in 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 the user is able to save the details when the user enters 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 shows 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 a blank space in the mandatory text box.
- Check that when the user pastes a 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
Mail your content - qaacharya.in@gmail.com
![]() |
Test Cases For Mandatory Field |
0 Comments