Slide Testcase
Slide Testcase
There are three easy steps to prepare test cases for the login page in the Excel sheet:
• Firstly, we will set up a format for that.
• Secondly, we will enter the relevant data.
• Finally, we will use a formula to return the test case status
How to write Test Case
Step 1: Setting Up Format
Firstly, create the following fields –
• Test Scenario: Our test scenario will be test cases for a login page.
• Tester: The person responsible for the testing process.
• Date: The date when the test is carried out.
Secondly, create the following columns –
• ID: We will assign a unique identification number for each test case.
• Test Case: The subject for a test procedure.
• Pre-condition: If there is any pre-requisite for a test case
• Test Steps: Required test steps to carry out a test case.
• Test Data: If any data needs to be entered, then we will use this column.
How to write Test Case
Step 2: Entering Relevant Data to Make Test Cases for Login Page
• In this section, we will enter the relevant data into the empty cells. After
that, we will use the Wrap Text feature to format the cell values.
Additionally, AutoFit the rows may be required.
• To begin with, type the values into the empty cells. Now, we cannot see
the values properly. We will fix this in the next step.
How to write Test Case
Type- Negative/
Sr.
Functional Test Cases Positive Test
No.
Case
Verify if a user will be able to login with a valid username and valid
1 Positive
password.
Verify if a user cannot login with a valid username and an invalid
2 Negative
password.
Verify the login page for both, when the field is blank and Submit button
3 Negative
is clicked.
4 Verify the ‘Forgot Password’ functionality. Positive
5 Verify the messages for invalid login. Positive
6 Verify the ‘Remember Me’ functionality. Positive
Verify if a user is able to login with a new password only after he/she has
7 Positive
changed the password.
Verify if the login page allows to log in simultaneously with different
8 Positive
credentials in a different browser.
Verify if the ‘Enter’ key of the keyboard is working correctly on the login
9 Positive
page.
Test Cases for a Login Page
2 Verify if a user cannot enter the characters more than the specified Positive
range in each field (Username and Password).
3 Verify the login page by pressing ‘Back button’ of the browser. It Negative
should not allow you to enter into the system once you log out.
6 Verify if a user should be able to login with the same credentials in Positive
different browsers at the same time.