Italian Trulli

Test Cases For Logout Functionality

Test Tribe
Sample Test Cases For Logout Button

Hello Folks, 

In this tutorial, we will learn how to write test cases for logout functionality? We will also learn about positive test scenarios and Negative test scenarios.

What Are The Test Cases For Logout Page?

Here !!! The most important test cases for logout functionality are given... 

  • Verify  After successful login in Gmail click on the profile icon to check logout button is visible or not.
  • Verify by Clicking on the sign-out button without an internet connection and reconnecting to the internet to check if it’s properly logged out or not.
  • Verify by clicking on the logout s button, After successful logout on the login screen press the back button.
  • Verify, log into more than two browsers or mobiles log out from anyone from them and check all other accounts are properly working or all get logged out.
  •  Verify  After logout, try to re-login with the same or different account it’s allowing or not.
  •  Verify all UI components are visible properly.
  •  Verify by  Login with the correct user closing tab (x) and reopening (Chrome browser ctrl+Shift+ t) check the user is logged in or auto logout from Gmail
  •  The logout option should not be visible till the user is logged in.

  •  Verify the spelling of the Logout option.

  •  Verify that the link to logout is clickable when a user is logged in.
  • Verify the Cookies gets clear after successful logout.
  • Verify that the system redirects the user to the expected page or not after successfully logging out from the application.

  • Verify the logout functionality for all types of machines and devices working as expected.

Security test cases For Logout

  •   Verify the logs for the login and logout sessions.
  •   Verify if the logs contain multiple IPs for a single ID at the same time.
  •   Verify if the logs contain a denial of service attack for the login or logout.
  •   Verify if the unauthorized IP makes a request for the logout.
  •   Verify if the log has suspicious activity.

Hope !!! The Above Test Case for Logout is helpful for you ...

QA acharya

Share Your Knowledge With Us -
Mail your content -

Logout functionality Test Cases 

Post a Comment