Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/th3y3m/testing-automation-with-selenium
https://github.com/th3y3m/testing-automation-with-selenium
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/th3y3m/testing-automation-with-selenium
- Owner: th3y3m
- Created: 2024-06-21T12:45:24.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-16T16:04:39.000Z (4 months ago)
- Last Synced: 2024-07-16T19:50:38.945Z (4 months ago)
- Language: Java
- Size: 16.3 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to testing-automation-with-selenium Repository
This repository contains examples and instructions for setting up and running automated tests using Selenium, a powerful tool for automating web browser interactions. Selenium allows you to write scripts in various programming languages to interact with web elements, enabling efficient and repeatable testing.
## Repository Contents
In this repository, you will find:
- **Source Code**: Examples of Selenium test scripts written in Java.
- **Dependencies**: Instructions on how to set up the necessary dependencies for running the Selenium tests.
- **Usage Instructions**: Detailed steps to execute the test scripts.
- **Best Practices**: Tips and guidelines for writing effective and maintainable test scripts.## Setting Up
To run the Selenium tests, ensure you have the following prerequisites installed:
1. **Java Development Kit (JDK)**
2. **Selenium WebDriver**
3. **ChromeDriver or EdgeDriver** (depending on the browser you intend to use)### Installation
1. Download and install the [Java Development Kit (JDK)](https://www.oracle.com/java/technologies/javase-downloads.html).
2. Download the [Selenium WebDriver](https://www.selenium.dev/downloads/).
3. Download the [ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver/) or [EdgeDriver](https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/).### Running the Tests
1. Clone this repository:
```sh
git clone https://github.com/yourusername/testing-automation-with-selenium.git
cd testing-automation-with-selenium
```
2. Ensure the `chromedriver.exe` or `msedgedriver.exe` is placed in the project directory.
3. Open the project in your preferred IDE (e.g., IntelliJ IDEA, Eclipse).
4. Modify the `Main` class as necessary for your test scenario.
5. Run the `Main` class to execute the test.#### Connect me via: [email protected]
##### © 2024 th3y3m