Requirements:

There is a page with an age field which conceptually can only enter ages 2 to 12, how do you test the age column? And write the valid and the invalid test scenario


Objective:

To validate the age field in the passenger registration form, ensuring that users (passengers) can only enter ages between 2 to 12 years. The system should handle age validation based on the birthdate and reject any ages outside this range, as well as properly handle transitions for birthdays.


Preconditions:


Test Data:

Field Valid Input Example Invalid Input Example
Age 2, 3, 11, 12 1, 13, 15, -5, null, 😊, abc

Valid Test Scenarios

3.1 Age Field Acceptance (Exact 2 years old)