Skip to content

TC102-001

Test Case description Successful user login with valid credentials
Test Case ID TC102-001
Author Eetu Savolainen
Date of creation 19.02.2024
Class Functional

Test description / objective

This test aims to verify that the system allows users to successfully log in when providing valid credentials. It ensures that users with legitimate access can effectively access the system.

Test pre-state

  • Ensure that the system is operational and the user authentication feature is accessible.
  • Have valid user credentials available for testing purposes.

Test steps

Step No. Step Description Expected Result
1 Open the login page Login page should appear
2 Enter a valid username and password The system should authenticate the provided credentials
3 Click on the "Login" or equivalent button to submit the credentials Clicking on the "Login" or equivalent button should submit the provided credentials for authentication

To be taken into account during test

  • Ensure that the password field is case-sensitive.
  • Evaluate the response to concurrent login attempts from the same user account.
  • Test the compatibility with various browsers and devices.

Test result (Pass/Fail Criteria)

  • PASS condition:

    • The system should log the user in without any errors or unexpected behavior.
    • The user should be able to perform subsequent actions within the system, indicating successful authentication.
    • The displayed information and functionality should correspond to the user's permissions and roles as configured in the system.
  • FAIL condition:

    • If the system denies access despite providing valid credentials, the test fails.
    • If the system experiences errors or crashes during the login process, the test fails.
    • If the user is redirected to an unauthorized access page or encounters any abnormal behavior post-login, the test fails.