QA Fundamentals · Junior · Question 40 of 75

Which is an example of a negative test for an age field (18 to 99)?

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.

Further reading

Problem with a question

QA Fundamentals · Junior · question 40

Test yourself

Take the QA Fundamentals · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz