Contents
What are the negative test cases for login page?
Negative Test Case Examples for a Login Page
- Blank user ID with blank password.
- Correct user ID with incorrect password.
- Incorrect user ID with correct password.
- Incorrect user ID with incorrect password.
- SQL injection in password.
- SQL injection in user ID.
- SQL injection in both fields.
What are positive and negative test cases?
Positive test cases ensure that users can perform appropriate actions when using valid data. Negative test cases are performed to try to “break” the software by performing invalid (or unacceptable) actions, or by using invalid data.
What is negative test case with example?
Negative testing ensures that your application can gracefully handle invalid input or unexpected user behavior. For example, if a user tries to type a letter in a numeric field, the correct behavior in this case would be to display the “Incorrect data type, please enter a number” message.
How do you write a test case for a search field?
Search Scenarios
- Search results displayed should be relevant to search keyword.
- % sign in search keyword should not redirect to 404 ERROR.
- Application should not crash if user inserted % in search field.
- When user start typing word in text box it should suggest words that matches typed keyword.
What is positive testing?
Positive testing is a type of software testing that is performed by assuming everything will be as expected. It is performed with the assumption that only valid and relevant things will occur. data set and all other functionalities will be as expected.
How to test for a positive login page?
1 Verify if a user will be able to login with a valid username and valid password. Positive 2 Verify if a user cannot login with a valid username and an invalid password. Negative 3 Verify the login page for both, when the field is blank and Submit button is clicked.
Are there any negative test cases for login page?
Negative test cases Enter valid username and invalid password. Enter valid password but invalid username. Keep both field blank and hit enter or click login button. Keep username blank and enter password. Keep password blank and enter username. Enter username and password wrong.
How to do test cases for login screen?
Once you go through these scenarios, you need to come up with following possible positive and negative test cases. Positive test cases. Enter valid username and password. Click on forgot password link and retrieve the password for the username. Click on register link and fill out the form and register username and password.
Is there a positive or negative Gmail login screen?
The positive and negative scenarios depends on the information given the requirement document. As we are testing gmail login screen we are limited to the application which is already published with limited set of information available to test.