How do I create a test case for a login page?

Functional Test Scenarios of Login Page

  1. Verify that cursor is focused on the “Username” text box on the page load (login page)
  2. Verify that tab functionality is working properly or not.
  3. Verify that Enter/Tab key works as a substitute for the Sign-in button.
  4. Verify that the User is able to Login with Valid Credentials.

Which is the correct test case for login process?

Test Cases for Login Page

Sr No. Test Cases Steps To Execute
1 TC-01 Check Page
2 TC-02 1. Enter invalid username 2. Enter correct password 3. Click on Login Button
3 TC-03 1. Enter valid username 2. Enter incorrect password 3. Click on Login Button
4 TC-04 1. Enter valid username 2. Do not enter password 3. Click on Login Button

How do I test a login page?

What are good ways to test a login page?

  1. check whether the login works with correct credentials.
  2. check that it doesn’t work with wrong credentials.
  3. check text field limits – whether the browser accepts more than the allowed database limits.
  4. check whether password text is hidden.

How do you write a test case for a login sheet in Excel?

Fields required in writing the test cases for login & registration page

  1. Test case id:
  2. Test case(unit to test):
  3. Preconditions:
  4. Input test data:
  5. Priority:
  6. Steps to be executed:
  7. Expected result:
  8. Actual result:

How do you write a user test case?

What Are the Best Practices for Writing Quality Test Cases?

  1. Keep things simple and transparent.
  2. Make test cases reusable.
  3. Keep test case IDs unique.
  4. Peer review is important.
  5. Test cases should have the end user or defined requirements in mind.
  6. Specify expected results and assumptions.

What is the test case template?

A test case template is a document containing an organized list of test cases for different test scenarios that check whether or not the software has the intended functionality. A test case is a set of steps carried out to test a specific feature of an application.