diff --git a/Testautomation/TestReports/TestReport_Google_searchautomation.md b/Testautomation/TestReports/TestReport_Google_searchautomation.md deleted file mode 100644 index b4700b4..0000000 --- a/Testautomation/TestReports/TestReport_Google_searchautomation.md +++ /dev/null @@ -1,17 +0,0 @@ -# Test Report: Google Search Automation - -**Objective:** Verify that the script automates a Google search for "cats". - -**Environment:** macOS, Chrome Version 130.0.6723.91, Selenium WebDriver, Python. - -**Steps:** - -- Open Google. -- Dismiss cookie popup (if present). -- Input search term "cats" and submit. -- Verify page title after search. -- Close browser. - -**Result:** -PASS: Script successfully performed all actions. -Notes: Page title remained "Google" (likely captured too quickly). Consider adding a delay after submission. \ No newline at end of file diff --git a/Testautomation/TestReports/TestReport_User_Register.md b/Testautomation/TestReports/TestReport_User_Register.md deleted file mode 100644 index a770313..0000000 --- a/Testautomation/TestReports/TestReport_User_Register.md +++ /dev/null @@ -1,55 +0,0 @@ -# Test Report: Automation Exercise Account Creation and Deletion - -**Objective:** -Verify that the script automates account creation, login, and deletion on the Automation Exercise website, handling consent popups and generating a unique email for each test run. - -**Test Cases Executed:** - -- TC-01: Open the Automation Exercise website. -Result: Website opened successfully – Pass - -- TC-02: Remove the consent banner if it appears. -Result: Consent banner removed successfully using JavaScript – Pass - -- TC-03: Click on the "Signup / Login" button. -Result: Button located and clicked; navigated to signup page – Pass - -- TC-04: Verify "New User Signup!" is visible. -Result: "New User Signup!" message displayed – Pass - -- TC-05: Enter name and unique email for signup. -Result: Name and dynamically generated email entered successfully – Pass - -- TC-06: Click the "Signup" button. -Result: Button clicked; navigated to account creation form – Pass - -- TC-07: Fill in account information (gender, password, birth date). -Result: Account information filled successfully – Pass - -- TC-08: Select newsletter and special offers checkboxes, and fill in personal details (address, country, etc.). -Result: Personal details and checkboxes filled successfully – Pass - -- TC-09: Click "Create Account" button with retry mechanism. -Result: "Create Account" button clicked successfully – Pass - -- TC-10: Verify "ACCOUNT CREATED!" message. -Result: "ACCOUNT CREATED!" message displayed – Pass - -- TC-11: Click "Continue" button to proceed. -Result: "Continue" button clicked; navigated to account page – Pass - -- TC-12: Verify "Logged in as Kimberly Test" is visible. -Result: Logged in verification successful – Pass - -- TC-13: Click "Delete Account" button with retry mechanism. -Result: "Delete Account" button clicked successfully – Pass - -- TC-14: Verify "ACCOUNT DELETED!" message and click "Continue." -Result: "ACCOUNT DELETED!" message displayed; "Continue" button clicked – Pass - -**Bugs/Issues Found:** - -Intermittent Verification Errors: Occasional delays in verifying messages such as "ACCOUNT CREATED!" and "ACCOUNT DELETED!" due to page load times. However, all steps were successfully executed, and functionality was not impacted. - -**Conclusion:** -The test validated the script's ability to create and delete an account on the Automation Exercise website. It effectively handled consent popups, dynamically generated unique emails, and incorporated retry mechanisms for robust execution. Minor verification timing issues were noted but did not affect the overall outcome. The script is reliable for automated testing on this website. \ No newline at end of file diff --git a/Testautomation/TestReports/TestReport_Wikipedia_Search.md b/Testautomation/TestReports/TestReport_Wikipedia_Search.md deleted file mode 100644 index 19efcbf..0000000 --- a/Testautomation/TestReports/TestReport_Wikipedia_Search.md +++ /dev/null @@ -1,2 +0,0 @@ -# Test Report for Wikipedia Search Functionality - diff --git a/Testautomation/TestReports/TestReport_browse_trough_programms.md b/Testautomation/TestReports/TestReport_browse_trough_programms.md deleted file mode 100644 index c67f0ee..0000000 --- a/Testautomation/TestReports/TestReport_browse_trough_programms.md +++ /dev/null @@ -1,26 +0,0 @@ -# Test Report: Browse Through Programs on Masterschool Website -**Test Objective:** -Verify that the script successfully opens the Masterschool website, locates and clicks the “Browse Programs” link, and displays the list of available programs. - -**Test Cases Executed:** - -- TC-01: Open the Masterschool website. - -Result: Website opened successfully – Pass -- TC-02: Accept the cookie consent popup if it appears. -Result: Cookie consent handled (clicked if present; skipped if not) – Pass - -- TC-03: Locate the “Browse Programs” link using link text or XPath as a backup. -Result: Link located and clicked – Pass - -- TC-04: Confirm that clicking the link leads to the correct program list page. -Result: Program list page loaded successfully – Pass - -- TC-05: Verify that the list of programs is displayed on the page. -Result: Program names printed successfully, indicating programs were found – Pass - -**Bugs/Issues Found:** -No issues encountered. The script performed all actions as expected. - -**Conclusion:** -The test validated that the "Browse Programs" link on the Masterschool website can be located, clicked, and that it navigates to the correct program list page. The script effectively handles both the cookie consent popup and locator flexibility, enhancing its reliability. \ No newline at end of file diff --git a/Testautomation/TestReports/pytest_report.md b/Testautomation/TestReports/pytest_report.md deleted file mode 100644 index 1c55bf0..0000000 --- a/Testautomation/TestReports/pytest_report.md +++ /dev/null @@ -1,19 +0,0 @@ -## Test Execution Report - Automating Google Search Using Selenium and PyTest - -**Test Objective**: -The objective of this task was to automate the Google search process using Selenium WebDriver with Python, verify that the search bar on Google's homepage is interactable, and simulate a search action. The test aimed to check if the search term "ISTQB" could be entered and the results page could be accessed. - -**Test Steps**: -1. Created a PyTest script (pytest_example_test.py) that: -- Used Selenium WebDriver to open Chrome and navigate to Google. -- Located the search bar and entered "ISTQB." -- Used JavaScript to interact with elements if direct methods encountered issues. - - -2. Ran the test case with pytest pytest_example_test.py. - **Test Results:** -- Test Passed: The script successfully simulated a Google search for "ISTQB" and navigated to the results page. -- Output: The test ran without errors, executing the expected actions. - -**Conclusion**: -This test case demonstrates the ability to automate basic web interactions using Selenium WebDriver and PyTest. By handling potential interaction issues with elements using fallback methods like JavaScript, I successfully achieved the test's objective.