• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

SoftwareTestingo - Jira Selenium Protractor Testing SDLC Agile Methodology

Java Selenium Tutorial & Testing Interview Questions

  • Home
  • Interview Questions
  • Java
  • Java Programs
  • Test Cases
  • Selenium
  • Manual Testing
  • Difference
  • Search
SoftwareTestingo » Manual Testing » Test Cases Example » Login Attempts Test Cases

Login Attempts Test Cases

Last Updated on: June 8, 2020 By Softwaretestingo Editorial Board

What We Are Learn On This Post

  • Test Case For Login Attempts | Login Attempts Test Cases

Test Case For Login Attempts | Login Attempts Test Cases

In this article, we are going to discuss negative and positive scenarios to test the Login page. Testing of the Login page is essential in terms of security and functional aspect. Though we make sure to cover most scenarios, often some basic scenarios are missed out, which can lead to bad user experience.

Test Scenario Overview
Post On: Test Case For Login Attempts
Post Type: Test Case Template
Published On: www.softwaretestingo.com
Applicable For: Freshers & Experience

So, we came up with the list of scenarios to Test Login Page and gradually we will be adding more such checks to this list.

What is the possible test case for login attempts?

  • Log in with the valid credentials i.e. correct username and password
  • Login with a valid username and invalid password
  • Login with invalid username and valid password
  • Log in with the valid username in caps and valid password
  • Login with invalid credentials, to determine when the account is getting locked, in the sense how many attempts with incorrect credentials are allowed
  • Login without entering the credentials, by just clicking on the login button to check the validation messages
  • Log in with the valid username and password, observe the URL, make sure the data is not shown in the URL, as it can be preserved and modified later.
  • I’m not covering the forgot password link scenarios here, this is only for 2 textboxes assuming username and password, and a login button.

I will add more if something comes up to me. I hope this helps.

Related Test Cases
☑️ Library Management System Test Cases ☑️ Lift Test Cases
☑️ Login Page Test Cases ☑️ Login Screen Page Test Case

Few test cases related to login attempt, considering the login form contains the only username, password, and a submit button:

  • Login by just clicking on submit button, i.e. without entering the credentials
  • Login with correct credentials, i.e. username and password
  • Login with incorrect username and correct password
  • Login with correct username and incorrect password
  • Log in with the username in uppercase and correct password
  • Login with the correct username in lowercase and correct password
  • Login with the correct username in lowercase and incorrect password
  • Login with incorrect username and uppercase password
  • Login with correct username and correct password in lowercase

The above test cases are to follow on UI and for API, let’s say we have two fields, namely:

{
   "username":"abcd@gmail.com",
   "password":"Test@1234"
}

Few test cases will be:

  • Username contains domain ‘.com’
  • Username is not blank
  • The password is not blank
  • Password is correct
Tasks To Improve Your Knowledge
☑️ Negative test cases for login page ☑️ Forgot password test cases
☑️ Test cases for password and confirm password ☑️ Mobile app login test cases
☑️ API testing test cases for login page ☑️ Test cases for Facebook
☑️ Test cases for Instagram ☑️ Test scenarios for Flipkart application
Let We Inform you, For improves your knowledge you can take the above as a task and you can work on that. But from the above task list some of the tasks we have already completed and you can find those on our blog. After Completion if you want to share with us that then you can write to us at softwaretestingo.com@gmail.com.

In return for that maybe we plan something more surprising for your career.

If you like to know about API testing insights, you can join this upcoming Webinar: ‘The Future is API Testing – Trends and How to Propel Your Testing’.

    Filed Under: Test Cases Example

    Reader Interactions

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    Primary Sidebar

    Join SoftwareTestingo Telegram Group

    Tutorials Important Links

    • Software Testing Jobs
    • Manual Testing Tutorial
    • Selenium Tutorial
    • Core Java Tutorial
    • TestNG Tutorial
    • Java Programs
    • Selenium Programs
    • Manual Test Cases
    • Interview Tips
    • Contact US
    • www.softwaretestingo.com

    Important Links

    • Software Testing Interview Questions
    • Agile Interview Questions
    • Manual Testing Interview Questions
    • Testing Interview Questions
    • Selenium Interview Questions
    • Selenium Real Time Interview Questions
    • Selenium WebDriver Interview Questions
    • Automation Framework Interview Questions
    • Appium Interview Questions
    • TestNG Interview Questions
    • Java Interview Questions
    • Core Java Interview Questions

    Categories

    Copyright © 2021 SoftwareTestingo.com ~ Contact Us ~ Sitemap ~ Privacy Policy