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

SoftwareTestingo - Interview Questions, Tutorial & Test Cases Template Examples

SoftwareTestingo - Interview Questions, Tutorial & Test Cases Template Examples

  • Home
  • Interview Questions
  • Java
  • Java Programs
  • Selenium
  • Selenium Programs
  • Manual Testing
  • Test Cases
  • Difference
  • Tools
  • SQL
  • Contact Us
  • Search
SoftwareTestingo » Manual Testing » Test Cases Example » Test Case For Login Attempts

Test Case For Login Attempts

Last Updated on: February 18, 2022 By Softwaretestingo Editorial Board

What We Are Learn On This Post

  • What is a login attempt?
  • Test Cases For Login Attempts

Test Case For Login Attempts: 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 a bad user experience.

Post On:Test Case For Login Attempts
Post Type:Test Case Template
Published On:www.softwaretestingo.com
Applicable For:Freshers & Experience
Join Here:Our Telegram Group

What is a login attempt?

This basically means that a hacker keeps trying to guess your password until they get it right. Most of the time, they use a script for this. Limit Login Attempts allows us to track and limit the number of failed login attempts.

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

Similar Test Cases

SoftwareTestingo Test Cases
  • Test Case For GST Number Field
  • Test Case For Hotel Booking System
  • Test Case For Kindle
  • Test Case For Login Page
  • Test Case For Logout Page
  • Test Case For One time Password

Test Cases For Login Attempts

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

  • 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.
  • 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

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

    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

    Categories

    Copyright © 2022 SoftwareTestingo.com ~ Contact Us ~ Sitemap ~ Privacy Policy ~ Testing Careers