TEST TYPE: dashboard_functional Title: TC_FUNC_01_Valid_Login Scenario: Test login with valid credentials. Steps to reproduce: 1. Enter a valid username. 2. Enter a valid password. 3. Click the "Login" button. Expected Result: User is successfully logged in and redirected to the dashboard. Priority: High Title: TC_FUNC_02_Invalid_Login Scenario: Test login with invalid credentials. Steps to reproduce: 1. Enter an invalid username. 2. Enter an invalid password. 3. Click the "Login" button. Expected Result: Error message is displayed indicating invalid login credentials. Priority: High Title: TC_FUNC_03_Empty_Username Scenario: Attempt to login without entering a username. Steps to reproduce: 1. Leave the username field empty. 2. Enter a valid password. 3. Click the "Login" button. Expected Result: Error message is displayed indicating the username field cannot be empty. Priority: Medium Title: TC_FUNC_04_Empty_Password Scenario: Attempt to login without entering a password. Steps to reproduce: 1. Enter a valid username. 2. Leave the password field empty. 3. Click the "Login" button. Expected Result: Error message is displayed indicating the password field cannot be empty. Priority: Medium Title: TC_FUNC_05_Forgot_Password_Link Scenario: Verify the "Forgot password?" link functionality. 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: Verify the "Register" link functionality. Steps to reproduce: 1. Click the "Register" link. Expected Result: User is redirected to the registration page. Priority: Medium Title: TC_FUNC_07_Remember_Me_Functionality Scenario: Test the "Remember me" checkbox functionality. Steps to reproduce: 1. Enter a valid username and password. 2. Check the "Remember me" box. 3. Click the "Login" button and log out. 4. Return to the login page. Expected Result: Username is pre-filled on the login page. Priority: Low Title: TC_FUNC_08_Uncheck_Remember_Me Scenario: Test login without selecting "Remember me". Steps to reproduce: 1. Enter a valid username and password. 2. Ensure the "Remember me" box is unchecked. 3. Click the "Login" button and log out. 4. Return to the login page. Expected Result: Username is not pre-filled on the login page. Priority: Low Title: TC_FUNC_09_Password_Masking Scenario: Verify password masking in the password field. Steps to reproduce: 1. Enter a password in the password field. Expected Result: Password is masked with asterisks or dots. Priority: High Title: TC_FUNC_10_Tab_Navigation Scenario: Test tab key navigation between fields. Steps to reproduce: 1. Use the tab key to navigate from the username field to the password field. 2. Tab to the "Remember me" checkbox. Expected Result: Focus shifts sequentially through fields and controls. Priority: Medium Title: TC_FUNC_11_Enter_Key_Submission Scenario: Test form submission using the enter key. Steps to reproduce: 1. Enter a valid username and password. 2. Press the enter key. Expected Result: Form is submitted and user is logged in. Priority: Medium Title: TC_FUNC_12_Case_Sensitivity_Username Scenario: Verify username field is case-sensitive. Steps to reproduce: 1. Enter a valid username in a different case. 2. Enter a valid password. 3. Click the "Login" button. Expected Result: Error message for invalid credentials if case does not match. Priority: Low Title: TC_FUNC_13_Case_Sensitivity_Password Scenario: Verify password field is case-sensitive. Steps to reproduce: 1. Enter a valid username. 2. Enter a valid password in a different case. 3. Click the "Login" button. Expected Result: Error message for invalid credentials due to case mismatch. Priority: High Title: TC_FUNC_14_Max_Length_Username Scenario: Test maximum length of username field. Steps to reproduce: 1. Enter a username with the maximum allowed characters. 2. Enter a valid password. 3. Click the "Login" button. Expected Result: User is logged in successfully. Priority: Low Title: TC_FUNC_15_Max_Length_Password Scenario: Test maximum length of password field. Steps to reproduce: 1. Enter a valid username. 2. Enter a password with the maximum allowed characters. 3. Click the "Login" button. Expected Result: User is logged in successfully. Priority: Low Title: TC_FUNC_16_Special_Characters_Username Scenario: Verify handling of special characters in the username. Steps to reproduce: 1. Enter a username with special characters. 2. Enter a valid password. 3. Click the "Login" button. Expected Result: Error message for invalid credentials. Priority: Low Title: TC_FUNC_17_Special_Characters_Password Scenario: Verify handling of special characters in the password. Steps to reproduce: 1. Enter a valid username. 2. Enter a password with special characters. 3. Click the "Login" button. Expected Result: User is logged in successfully if credentials are valid. Priority: Medium Title: TC_FUNC_18_Whitespace_Handling Scenario: Verify handling of leading/trailing whitespace in fields. Steps to reproduce: 1. Enter a username with leading/trailing spaces. 2. Enter a password with leading/trailing spaces. 3. Click the "Login" button. Expected Result: Whitespace is trimmed and login proceeds if credentials are valid. Priority: Medium Title: TC_FUNC_19_Browser_Back_Button Scenario: Verify behavior of the browser back button post-login. Steps to reproduce: 1. Log in with valid credentials. 2. Click the browser back button. Expected Result: User remains on the dashboard page. Priority: Medium Title: TC_FUNC_20_Session_Timeout Scenario: Verify session timeout functionality. Steps to reproduce: 1. Log in with valid credentials. 2. Remain inactive until session times out. Expected Result: User is logged out and redirected to the login page upon activity. Priority: High