{"id":13624100,"url":"https://github.com/mefepolat/the-internet-automation-java-selenium","last_synced_at":"2025-04-15T20:33:19.578Z","repository":{"id":172499835,"uuid":"649112143","full_name":"mefepolat/the-internet-automation-java-selenium","owner":"mefepolat","description":"Automation tests for the-internet.herokuapp.com with Java Selenium WebDriver and TestNG","archived":false,"fork":false,"pushed_at":"2023-06-07T01:12:19.000Z","size":6430,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-08T12:42:57.607Z","etag":null,"topics":["automation","automation-framework","automation-selenium","automation-testing","java","selenium","selenium-java","selenium-webdriver","testng","testng-framework"],"latest_commit_sha":null,"homepage":"https://the-internet.herokuapp.com","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mefepolat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-06-03T20:20:13.000Z","updated_at":"2024-10-05T20:01:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab48ace9-4db6-472b-8c6b-0b68d33bf264","html_url":"https://github.com/mefepolat/the-internet-automation-java-selenium","commit_stats":null,"previous_names":["mefepolat/the-internet-automation-java-selenium"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mefepolat%2Fthe-internet-automation-java-selenium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mefepolat%2Fthe-internet-automation-java-selenium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mefepolat%2Fthe-internet-automation-java-selenium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mefepolat%2Fthe-internet-automation-java-selenium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mefepolat","download_url":"https://codeload.github.com/mefepolat/the-internet-automation-java-selenium/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249148332,"owners_count":21220517,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","automation-framework","automation-selenium","automation-testing","java","selenium","selenium-java","selenium-webdriver","testng","testng-framework"],"created_at":"2024-08-01T21:01:38.803Z","updated_at":"2025-04-15T20:33:17.809Z","avatar_url":"https://github.com/mefepolat.png","language":"Java","readme":"# Test Automation for the-internet.herokuapp.com\nThis project contains automation tests written in Java using Selenium WebDriver and TestNG for the website the-internet.herokuapp.com. The purpose of these tests is to improve your test automation skills and demonstrate how to automate different scenarios on the website.\n\nProject Structure\nThe project is structured as follows:\n\n```\n|-- src\n|   |-- main\n|   |   |-- java\n|   |   |   |-- pages\n|               |-- HomePage.java\n|               |-- LoginPage.java\n|               |-- ...\n|   |   |-- resources\n|   |\n|   |-- test\n|       |-- java\n|           |-- base\n|               |-- BaseTests.java\n|           |-- login\n|               |-- LoginTests.java\n|           |-- ...\n|       |-- resources\n|\n|-- .gitignore\n|-- pom.xml\n|-- README.md\n```\n\n- The src directory contains the main source code and test code.\n- The src/main/java directory is where you can place any utility classes framework or page object model classes.\n- The src/test/java directory contains the test classes where you'll write your test cases.\n- The src/test/resources directory is where you can store any test-specific resources, such as test data files or configuration files.\n- The src/test/resources/testng.xml file is the TestNG configuration file where you can configure your test suites, test groups, and other settings.\n- The .gitignore file specifies which files and directories should be ignored by Git version control.\n\n## Prerequisites\nTo run the automation tests in this project, you'll need to have the following software installed on your machine:\n\n- Java Development Kit (JDK) 10 or higher\n- Apache Maven\n- Selenium WebDriver\n- TestNG\n\n\n## Running the Tests\nFollow these steps to run the automation tests:\n\n- Clone the repository to your local machine: $ git clone \u003crepository-url\u003e\n- Navigate to the project directory: $ cd project-directory\n- Build the project using Maven: $ mvn clean install\n- Execute the tests using the TestNG runner: $ mvn test\n##Writing Test Cases\nTo create new test cases or modify existing ones, follow these guidelines:\n\n- Create a new Java class under src/test/java/ or add your test cases to an existing class.\n- Use the TestNG annotations (@Test, @BeforeMethod, @AfterMethod, etc.) to define your test methods and set up/tear down steps.\n- Leverage Selenium WebDriver API to interact with the web elements on the website under test.\n- Implement assertions to verify the expected outcomes of your test cases.\n  \n## Continuous Integration\nYou can integrate this project with any Continuous Integration (CI) tool of your choice, such as Jenkins or Travis CI. Set up a CI pipeline to automatically build and execute the tests on each commit or at specific intervals.\n\n## Contributing\nContributions to this test automation project are welcome. If you find any bugs, issues, or have suggestions for improvements, please open an issue or submit a pull request.\n","funding_links":[],"categories":["Java"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmefepolat%2Fthe-internet-automation-java-selenium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmefepolat%2Fthe-internet-automation-java-selenium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmefepolat%2Fthe-internet-automation-java-selenium/lists"}