Software requirement specifies “A password field can have maximum 5 characters.”. Testing the password field with 6 characters to make sure it does not accept 6 characters is which type of testing:
-
Load Testing
-
Stress Testing
-
Negative Testing
-
Regression Testing
C
Correct answer
Explanation
Negative testing involves testing beyond the specified valid boundaries to verify the system properly handles invalid input. Testing with 6 characters when the requirement states maximum 5 characters is testing the failure condition - the system should reject this input. Load testing and stress testing are performance testing types, while regression testing checks for unintended changes after modifications.