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 corresponding valid password. 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 invalid credentials. Steps to reproduce: 1. Enter an invalid username. 2. Enter an invalid password. 3. Click on the "Login" button. Expected Result: User receives an error message 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. 3. Click on the "Login" button. Expected Result: User receives an error message 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. 2. Leave the password field empty. 3. Click on the "Login" button. Expected Result: User receives an error message indicating the password is required. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_05_Remember_Me_Functionality Scenario: User selects "Remember me" during login. Steps to reproduce: 1. Enter a valid username and password. 2. Check the "Remember me" checkbox. 3. Click on the "Login" button. 4. Log out and revisit the login page. Expected Result: Username is pre-filled in the login form. Actual Result: [To be filled during execution] Priority: Low Title: TC_FUNC_06_Forgot_Password_Link Scenario: User clicks on "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 "Register" link to create a new account. 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_Valid_Registration Scenario: User registers with valid details. Steps to reproduce: 1. Click on the "Register" link. 2. Enter valid registration details. 3. Submit the registration form. Expected Result: User is successfully registered and redirected to the login page. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_09_Invalid_Registration Scenario: User registers with invalid details. Steps to reproduce: 1. Click on the "Register" link. 2. Enter invalid registration details. 3. Submit the registration form. Expected Result: User receives an error message indicating invalid registration details. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_10_UI_Elements_Presence Scenario: Verify the presence of all UI elements on the login page. Steps to reproduce: 1. Navigate to the login page. Expected Result: All UI elements (username field, password field, "Login" button, "Remember me" checkbox, "Forgot password?" link, "Register" link) are present. Actual Result: [To be filled during execution] Priority: Low Title: TC_FUNC_11_UI_Elements_Functionality Scenario: Verify the functionality of all buttons and links on the login page. Steps to reproduce: 1. Click on each button and link on the login page. Expected Result: Each button and link works as expected (e.g., navigates to the correct page). Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_12_Login_Button_Disabled Scenario: Verify the "Login" button is disabled if both fields are empty. Steps to reproduce: 1. Ensure both username and password fields are empty. Expected Result: "Login" button is disabled. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_13_Case_Sensitivity Scenario: Verify login functionality is case-sensitive. Steps to reproduce: 1. Enter the username and password with different casing from the actual credentials. 2. Click on the "Login" button. Expected Result: User receives an error message indicating invalid credentials. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_14_SQL_Injection Scenario: Test for SQL injection vulnerability on the login page. Steps to reproduce: 1. Enter SQL commands in the username and/or password fields. 2. Click on the "Login" button. Expected Result: Application handles the input safely without executing any unauthorized queries. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_15_XSS_Attack Scenario: Test for Cross-Site Scripting (XSS) vulnerability on the login page. Steps to reproduce: 1. Enter a script in the username and/or password fields. 2. Click on the "Login" button. Expected Result: Application sanitizes the input and no script is executed. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_16_Password_Masking Scenario: Verify that the password input is masked. Steps to reproduce: 1. Enter a password in the password field. Expected Result: Password characters are masked and not visible. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_17_Login_Redirection Scenario: Verify redirection after a successful login. Steps to reproduce: 1. Enter valid login credentials. 2. Click on the "Login" button. Expected Result: User is redirected to the dashboard. Actual Result: [To be filled during execution] Priority: High Title: TC_FUNC_18_Multiple_Redirection_Attempts Scenario: Verify multiple redirection attempts are handled properly. Steps to reproduce: 1. Perform multiple login/logout actions. Expected Result: Each login/logout redirects correctly without errors. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_19_Browser_Back_Button Scenario: Verify behavior when using the browser back button after logging out. Steps to reproduce: 1. Log in with valid credentials. 2. Log out. 3. Click the browser back button. Expected Result: User is not able to navigate back to the dashboard. Actual Result: [To be filled during execution] Priority: Medium Title: TC_FUNC_20_Session_Timeout Scenario: Verify session timeout 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 automatically after the session times out. Actual Result: [To be filled during execution] Priority: Medium