URL: https://practicetestautomation.com/practice-test-login/ Generated Test Cases (via direct URL content analysis): TEST TYPE: dashboard_functional Here are the high-quality, actionable test cases for the login functionality of the specified website: ### Test Cases --- **Title:** TC_FUNC_001_Positive_Login_Test **Scenario:** Verify successful login with valid credentials. **Preconditions:** User is on the login page. **Steps to Reproduce:** 1. Navigate to the URL: https://practicetestautomation.com/practice-test-login/. 2. Enter the username "student" in the Username field. 3. Enter the password "Password123" in the Password field. 4. Click the "Submit" button. **Expected Result:** User is successfully logged in and redirected to the dashboard or a confirmation page. **Actual Result:** To be filled during execution. **Priority:** High **Test Data:** Username: student, Password: Password123 --- **Title:** TC_FUNC_002_Negative_Username_Test **Scenario:** Verify error message for invalid username. **Preconditions:** User is on the login page. **Steps to Reproduce:** 1. Navigate to the URL: https://practicetestautomation.com/practice-test-login/. 2. Enter an invalid username "invalidUser" in the Username field. 3. Enter the password "Password123" in the Password field. 4. Click the "Submit" button. **Expected Result:** An error message "Your username is invalid!" is displayed. **Actual Result:** To be filled during execution. **Priority:** High **Test Data:** Username: invalidUser, Password: Password123 --- **Title:** TC_FUNC_003_Negative_Password_Test **Scenario:** Verify error message for invalid password. **Preconditions:** User is on the login page. **Steps to Reproduce:** 1. Navigate to the URL: https://practicetestautomation.com/practice-test-login/. 2. Enter the username "student" in the Username field. 3. Enter an invalid password "wrongPassword" in the Password field. 4. Click the "Submit" button. **Expected Result:** An error message "Your username is invalid!" is displayed. **Actual Result:** To be filled during execution. **Priority:** High **Test Data:** Username: student, Password: wrongPassword --- **Title:** TC_FUNC_004_Empty_Username_Test **Scenario:** Verify error message when username is empty. **Preconditions:** User is on the login page. **Steps to Reproduce:** 1. Navigate to the URL: https://practicetestautomation.com/practice-test-login/. 2. Leave the Username field empty. 3. Enter the password "Password123" in the Password field. 4. Click the "Submit" button. **Expected Result:** An error message "Your username is invalid!" is displayed. **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** Username: (empty), Password: Password123 --- **Title:** TC_FUNC_005_Empty_Password_Test **Scenario:** Verify error message when password is empty. **Preconditions:** User is on the login page. **Steps to Reproduce:** 1. Navigate to the URL: https://practicetestautomation.com/practice-test-login/. 2. Enter the username "student" in the Username field. 3. Leave the Password field empty. 4. Click the "Submit" button. **Expected Result:** An error message "Your username is invalid!" is displayed. **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** Username: student, Password: (empty) --- **Title:** TC_FUNC_006_Empty_Fields_Test **Scenario:** Verify error message when both fields are empty. **Preconditions:** User is on the login page. **Steps to Reproduce:** 1. Navigate to the URL: https://practicetestautomation.com/practice-test-login/. 2. Leave both the Username and Password fields empty. 3. Click the "Submit" button. **Expected Result:** An error message "Your username is invalid!" is displayed. **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** Username: (empty), Password: (empty) --- **Title:** TC_FUNC_007_Username_Character_Limit_Test **Scenario:** Verify behavior when username exceeds character limit. **Preconditions:** User is on the login page. **Steps to Reproduce:** 1. Navigate to the URL: https://practicetestautomation.com/practice-test-login/. 2. Enter a username with more than 50 characters (e.g., "a"*51). 3. Enter the password "Password123" in the Password field. 4. Click the "Submit" button. **Expected Result:** An error message "Your username is invalid!" is displayed. **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** Username: "a"*51, Password: Password123 --- **Title:** TC_FUNC_008_Password_Character_Limit_Test **Scenario:** Verify behavior when password exceeds character limit. **Preconditions:** User is on the login page. **Steps to Reproduce:** 1. Navigate to the URL: https://practicetestautomation.com/practice-test-login/. 2. Enter the username "student" in the Username field. 3. Enter a password with more than 50 characters (e.g., "a"*51). 4. Click the "Submit" button. **Expected Result:** An error message "Your username is invalid!" is displayed. **Actual Result:** To be filled during execution. **Priority:** Medium **Test Data:** Username: student, Password: "a"*51 --- **Title:** TC_FUNC_009_Navigation_Home_Link_Test **Scenario:** Verify navigation to Home page from login page. **Preconditions:** User is on the login page. **Steps to Reproduce:** 1. Navigate to the URL: https://practicetestautomation.com/practice-test-login/. 2. Click on the "Home" link in the navigation. **Expected Result:** User is redirected to the Home page. **Actual Result:** To be filled during execution. **Priority:** Low **Test Data:** N/A --- **Title:** TC_FUNC_010_Navigation_Practice_Link_Test **Scenario:** Verify navigation to Practice page from login page. **Preconditions:** User is on the login page. **Steps to Reproduce:** 1. Navigate to the URL: https://practicetestautomation.com/practice-test-login/. 2. Click on the "Practice" link in the navigation. **Expected Result:** User is redirected to the Practice page. **Actual Result:** To be filled during execution. **Priority:** Low **Test Data:** N/A --- This set of test cases focuses on the login functionality, covering both positive and negative scenarios, as well as navigation tests to ensure comprehensive coverage of the website's critical features. Further test cases can be generated if needed, focusing on additional user scenarios or edge cases.