Prompt for Negative Testing
Category: Test Case Design / Robustness Testing
Description
Identify negative test cases by introducing invalid or unexpected input to validate system robustness. Crucial for improving software stability and error handling.
Prompt
What are some negative test cases for the following requirement: [Add Requirement Details]? How could this be tested with invalid or unexpected input?
Why it works
It helps testers identify scenarios where the system might fail, ensuring robustness against invalid or unexpected inputs.
Sample output
Negative Test Case 1: Description: Test login with empty username and password fields. Steps: 1. Navigate to login page. 2. Leave username and password blank. 3. Click login. Expected Result: Display validation message 'Username and password cannot be empty.'