TEST TYPE: dashboard_functional Title: TC_FUNC_01_Valid_Login Scenario: User logs in with valid credentials. Steps to reproduce: 1. Enter a valid username. 2. Enter the correct password. 3. Click the "Login" button. Expected Result: User is successfully logged into the dashboard. Priority: High Title: TC_FUNC_02_Invalid_Login Scenario: User attempts to log in with invalid credentials. Steps to reproduce: 1. Enter an invalid username. 2. Enter an incorrect password. 3. Click the "Login" button. Expected Result: Display error message "Invalid username or password." Priority: High Title: TC_FUNC_03_Empty_Credentials Scenario: User tries to log in without entering any credentials. Steps to reproduce: 1. Leave the username field empty. 2. Leave the password field empty. 3. Click the "Login" button. Expected Result: Display error message prompting user to enter credentials. Priority: Medium Title: TC_FUNC_04_Remember_Me_Functionality Scenario: User selects "Remember me" option during login. Steps to reproduce: 1. Enter a valid username. 2. Enter the correct password. 3. Check the "Remember me" checkbox. 4. Click the "Login" button. Expected Result: User’s session should be remembered on subsequent visits. Priority: Medium Title: TC_FUNC_05_Forgot_Password_Link Scenario: User clicks on the "Forgot password?" link. Steps to reproduce: 1. Click the "Forgot password?" link. Expected Result: User is redirected to the password recovery page. Priority: Medium Title: TC_FUNC_06_Register_Link Scenario: User clicks on the "Register" link to create an account. Steps to reproduce: 1. Click the "Register" link. Expected Result: User is directed to the registration page. Priority: Medium Title: TC_FUNC_07_Username_Field_Validation Scenario: User enters an invalid format in the username field. Steps to reproduce: 1. Enter an invalid format in the username field (e.g., special characters). 2. Click the "Login" button. Expected Result: Display error message indicating invalid username format. Priority: Low Title: TC_FUNC_08_Password_Field_Validation Scenario: User enters an invalid format in the password field. Steps to reproduce: 1. Enter an invalid format in the password field (e.g., less than required characters). 2. Click the "Login" button. Expected Result: Display error message indicating invalid password format. Priority: Low Title: TC_FUNC_09_Successful_Logout Scenario: User successfully logs out from the dashboard. Steps to reproduce: 1. Log in with valid credentials. 2. Click the "Logout" button. Expected Result: User is redirected to the login page. Priority: High Title: TC_FUNC_10_UI_Element_Presence Scenario: Verify all UI elements are present on the login page. Steps to reproduce: 1. Navigate to the login page. Expected Result: Username field, Password field, Remember me checkbox, Login button, Forgot password link, and Register link are present. Priority: Low Title: TC_FUNC_11_Password_Masking Scenario: Password is masked when entered in the password field. Steps to reproduce: 1. Enter a password in the password field. Expected Result: Password characters should be masked. Priority: Medium Title: TC_FUNC_12_Case_Sensitivity_Username Scenario: Username is case-sensitive during login. Steps to reproduce: 1. Enter a valid username with incorrect case. 2. Enter the correct password. 3. Click the "Login" button. Expected Result: Display error message "Invalid username or password." Priority: Medium Title: TC_FUNC_13_Case_Sensitivity_Password Scenario: Password is case-sensitive during login. Steps to reproduce: 1. Enter the valid username. 2. Enter the correct password with incorrect case. 3. Click the "Login" button. Expected Result: Display error message "Invalid username or password." Priority: Medium Title: TC_FUNC_14_Session_Timeout Scenario: User session times out after inactivity. Steps to reproduce: 1. Log in with valid credentials. 2. Remain inactive for the session timeout duration. Expected Result: User is logged out and redirected to the login page. Priority: Medium Title: TC_FUNC_15_Cancel_Login Scenario: User cancels the login attempt. Steps to reproduce: 1. Enter a username. 2. Enter a password. 3. Click a "Cancel" button (if available). Expected Result: Fields are cleared and user remains on the login page. Priority: Low Title: TC_FUNC_16_Tab_Order Scenario: Verify the tab order on the login page. Steps to reproduce: 1. Use the Tab key to navigate through the login page. Expected Result: Focus moves from the username field to password, then to the login button, and other elements sequentially. Priority: Low Title: TC_FUNC_17_Login_Button_Disabled Scenario: Verify the login button is disabled if required fields are empty. Steps to reproduce: 1. Leave the username or password field empty. Expected Result: Login button is disabled until both fields are filled. Priority: Medium Title: TC_FUNC_18_Password_Recovery_Email Scenario: User receives a password recovery email. Steps to reproduce: 1. Click the "Forgot password?" link. 2. Enter a registered email. 3. Submit the form. Expected Result: Password recovery email is sent to the user. Priority: Medium Title: TC_FUNC_19_Responsive_Design Scenario: Verify login page responsiveness on different devices. Steps to reproduce: 1. Open the login page on various devices (desktop, tablet, mobile). Expected Result: The page elements should adjust and display correctly. Priority: Low Title: TC_FUNC_20_Login_Attempt_Limit Scenario: User exceeds the maximum number of login attempts. Steps to reproduce: 1. Enter incorrect credentials multiple times. Expected Result: User is temporarily locked out after a set number of failed attempts. Priority: High