TEST TYPE: dashboard_functional Title: TC_FUNC_01_Valid_Login Scenario: User logs in with valid username and password. Steps to reproduce: 1. Enter valid username in the Username field. 2. Enter valid password in the Password field. 3. Click on the Login button. Expected Result: User is successfully logged in and redirected to the dashboard. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_02_Invalid_Login Scenario: User attempts to log in with an invalid username or password. Steps to reproduce: 1. Enter invalid username in the Username field. 2. Enter invalid password in the Password field. 3. Click on the Login button. Expected Result: Error message is displayed indicating invalid credentials. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_03_Empty_Username Scenario: User tries to log in without entering a username. Steps to reproduce: 1. Leave the Username field empty. 2. Enter a valid password in the Password field. 3. Click on the Login button. Expected Result: Error message is displayed indicating the username is required. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_04_Empty_Password Scenario: User tries to log in without entering a password. Steps to reproduce: 1. Enter a valid username in the Username field. 2. Leave the Password field empty. 3. Click on the Login button. Expected Result: Error message is displayed indicating the password is required. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_05_Remember_Me_Functionality Scenario: User selects the "Remember me" option during login. Steps to reproduce: 1. Enter valid username and password. 2. Check the "Remember me" checkbox. 3. Click on the Login button. 4. Log out and return to the login page. Expected Result: Username field is pre-filled with the remembered username. Actual Result: [To be filled during execution] Priority: Low Title: TC_FUNC_06_Forgot_Password_Link Scenario: User clicks on the "Forgot password?" link. Steps to reproduce: 1. Click on the "Forgot password?" link. Expected Result: User is redirected to the password recovery page. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_07_Register_Link Scenario: User clicks on the "Register" link. Steps to reproduce: 1. Click on the "Register" link. Expected Result: User is redirected to the registration page. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_08_Case_Sensitivity Scenario: Check if username and password fields are case-sensitive. Steps to reproduce: 1. Enter valid username and password with incorrect casing. 2. Click on the Login button. Expected Result: Login fails with an error message indicating invalid credentials. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_09_Special_Characters Scenario: User enters special characters in the username and password fields. Steps to reproduce: 1. Enter special characters in the Username and Password fields. 2. Click on the Login button. Expected Result: System handles special characters appropriately (either login fails or succeeds based on validity). Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_10_Max_Length_Username Scenario: User enters a maximum length username. Steps to reproduce: 1. Enter a username with the maximum allowed characters. 2. Enter a valid password. 3. Click on the Login button. Expected Result: User is able to log in successfully if credentials are valid. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_11_Max_Length_Password Scenario: User enters a maximum length password. Steps to reproduce: 1. Enter a valid username. 2. Enter a password with the maximum allowed characters. 3. Click on the Login button. Expected Result: User is able to log in successfully if credentials are valid. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_12_Min_Length_Username Scenario: User enters a username with fewer than the minimum required characters. Steps to reproduce: 1. Enter a username with fewer than the minimum required characters. 2. Enter a valid password. 3. Click on the Login button. Expected Result: Error message is displayed indicating the username is too short. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_13_Min_Length_Password Scenario: User enters a password with fewer than the minimum required characters. Steps to reproduce: 1. Enter a valid username. 2. Enter a password with fewer than the minimum required characters. 3. Click on the Login button. Expected Result: Error message is displayed indicating the password is too short. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_14_Blank_Credentials Scenario: User attempts to log in with both fields empty. Steps to reproduce: 1. Leave Username and Password fields empty. 2. Click on the Login button. Expected Result: Error message is displayed indicating both fields are required. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_15_Session_Timeout Scenario: Verify behavior after session timeout. Steps to reproduce: 1. Log in with valid credentials. 2. Remain inactive until session times out. 3. Attempt to perform an action. Expected Result: User is redirected to the login page with a session timeout message. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_16_Login_Button_Disabled Scenario: Verify the login button is disabled when fields are empty. Steps to reproduce: 1. Leave Username and Password fields empty. Expected Result: Login button is disabled. Actual Result: [To be filled during execution] Priority: Low Title: TC_FUNC_17_Keyboard_Enter_Key Scenario: User presses Enter key to submit login form. Steps to reproduce: 1. Enter valid username and password. 2. Press the Enter key. Expected Result: Login is processed and user is redirected to the dashboard. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_18_Reset_Password_Process Scenario: Verify complete forgot password process. Steps to reproduce: 1. Click on "Forgot password?" 2. Follow the password reset instructions. 3. Log in with the new password. Expected Result: User successfully resets password and logs in. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_19_UI_Elements_Display Scenario: Verify all UI elements are displayed correctly. Steps to reproduce: 1. Access the login page. Expected Result: All UI elements (fields, buttons, links) are displayed and aligned correctly. Actual Result: [To be filled during execution] Priority: Low Title: TC_FUNC_20_Back_Button_Behavior Scenario: Verify behavior of the browser back button after login. Steps to reproduce: 1. Log in with valid credentials. 2. Click the browser's back button. Expected Result: User remains on the dashboard or is logged out based on security settings TEST TYPE: dashboard_negative Title: TC_NEG_01_Blank_Username Scenario: Attempt to log in without entering a username. Steps to reproduce: 1. Leave the "Username" field blank. 2. Enter a valid password. 3. Click "Login." Expected Result: User should receive an error message indicating that the username is required. Actual Result: [To be filled during execution] Priority: High Title: TC_NEG_02_Blank_Password Scenario: Attempt to log in without entering a password. Steps to reproduce: 1. Enter a valid username. 2. Leave the "Password" field blank. 3. Click "Login." Expected Result: User should receive an error message indicating that the password is required. Actual Result: [To be filled during execution] Priority: High Title: TC_NEG_03_Invalid_Username_Format Scenario: Enter an invalid username format. Steps to reproduce: 1. Enter "invalid_user!" in the "Username" field. 2. Enter a valid password. 3. Click "Login." Expected Result: User should receive an error message indicating an invalid username format. Actual Result: [To be filled during execution] Priority: Medium Title: TC_NEG_04_Invalid_Password_Format Scenario: Enter an invalid password format. Steps to reproduce: 1. Enter a valid username. 2. Enter "123" in the "Password" field. 3. Click "Login." Expected Result: User should receive an error message indicating an invalid password format. Actual Result: [To be filled during execution] Priority: Medium Title: TC_NEG_05_SQL_Injection_Attempt Scenario: Attempt SQL injection in the username field. Steps to reproduce: 1. Enter "' OR 1=1; --" in the "Username" field. 2. Enter a valid password. 3. Click "Login." Expected Result: Login should fail with an error message, and the system should be secure. Actual Result: [To be filled during execution] Priority: High Title: TC_NEG_06_XSS_Attack_Attempt Scenario: Attempt XSS attack in the username field. Steps to reproduce: 1. Enter "" in the "Username" field. 2. Enter a valid password. 3. Click "Login." Expected Result: The script should not execute, and the system should be secure. Actual Result: [To be filled during execution] Priority: High Title: TC_NEG_07_Maximum_Character_Username Scenario: Enter a username exceeding the maximum character limit. Steps to reproduce: 1. Enter a 256-character string in the "Username" field. 2. Enter a valid password. 3. Click "Login." Expected Result: User should receive an error message indicating the username is too long. Actual Result: [To be filled during execution] Priority: Medium Title: TC_NEG_08_Maximum_Character_Password Scenario: Enter a password exceeding the maximum character limit. Steps to reproduce: 1. Enter a valid username. 2. Enter a 256-character string in the "Password" field. 3. Click "Login." Expected Result: User should receive an error message indicating the password is too long. Actual Result: [To be filled during execution] Priority: Medium Title: TC_NEG_09_Whitespace_Username Scenario: Enter a username with only whitespace. Steps to reproduce: 1. Enter spaces in the "Username" field. 2. Enter a valid password. 3. Click "Login." Expected Result: User should receive an error message indicating the username is invalid. Actual Result: [To be filled during execution] Priority: Low Title: TC_NEG_10_Whitespace_Password Scenario: Enter a password with only whitespace. Steps to reproduce: 1. Enter a valid username. 2. Enter spaces in the "Password" field. 3. Click "Login." Expected Result: User should receive an error message indicating the password is invalid. Actual Result: [To be filled during execution] Priority: Low Title: TC_NEG_11_Special_Character_Username Scenario: Enter a username with special characters. Steps to reproduce: 1. Enter "@username!" in the "Username" field. 2. Enter a valid password. 3. Click "Login." Expected Result: User should receive an error message indicating an invalid username format. Actual Result: [To be filled during execution] Priority: Medium Title: TC_NEG_12_Special_Character_Password Scenario: Enter a password with unsupported special characters. Steps to reproduce: 1. Enter a valid username. 2. Enter "pass@word!" in the "Password" field. 3. Click "Login." Expected Result: User should receive an error message indicating an invalid password format. Actual Result: [To be filled during execution] Priority: Medium Title: TC_NEG_13_Nonexistent_Account Scenario: Attempt to log in with non-existent account credentials. Steps to reproduce: 1. Enter "nonexistent_user" in the "Username" field. 2. Enter "randompassword" in the "Password" field. 3. Click "Login." Expected Result: User should receive an error message indicating the account does not exist. Actual Result: [To be filled during execution] Priority: High Title: TC_NEG_14_Case_Sensitivity Scenario: Enter a valid username with incorrect casing. Steps to reproduce: 1. Enter "VALIDUSER" in the "Username" field (assuming the correct is "validuser"). 2. Enter a valid password. 3. Click "Login." Expected Result: Login should fail if the system is case-sensitive. Actual Result: [To be filled during execution] Priority: Low Title: TC_NEG_15_Remember_Me_Unchecked Scenario: Test login without "Remember me" checked. Steps to reproduce: 1. Enter a valid username. 2. Enter a valid password. 3. Ensure "Remember me" is unchecked. 4. Click "Login." Expected Result: User should be logged in but not remembered for future sessions. Actual Result: [To be filled during execution] Priority: Low Title: TC_NEG_16_Remember_Me_Checked Scenario: Test login with "Remember me" checked. Steps to reproduce: 1. Enter a valid username. 2. Enter a valid password. 3. Check "Remember me." 4. Click "Login." Expected Result: User should be logged in and remembered for future sessions. Actual Result: [To be filled during execution] Priority: Medium Title: TC_NEG_17_Session_Timeout Scenario: Test login session timeout. Steps to reproduce: 1. Log in with valid credentials. 2. Stay idle for the session timeout period. 3. Attempt to perform any action. Expected Result: User session should expire, and user should be logged out. Actual Result: [To be filled during execution] Priority: Medium Title: TC_NEG_18_Password_Visibility_Toggle Scenario: Test password visibility toggle functionality. Steps to reproduce: 1. Enter a valid username. 2. Enter a valid password. 3. Attempt to toggle password visibility. Expected Result: Password should toggle between visible and hidden states. Actual Result: [To be filled during execution] Priority: Low Title: TC_NEG_19_Simultaneous_Logins Scenario: