QA Fundamentals · Junior · Question 40 of 75
Which is an example of a negative test for an age field (18 to 99)?
- 1Entering
25and checking that the form is accepted - 2Entering
abcand checking for a clear validation error - 3Entering
40and checking the saved profile shows 40
Show the answer
Correct answer: Entering abc and checking for a clear validation error
Explanation
Negative tests use invalid data: letters, empty value, negative numbers, values outside the range. The system should reject them clearly without crashing or saving bad data.