Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/th3y3m/testing-automation-with-selenium


https://github.com/th3y3m/testing-automation-with-selenium

Last synced: 3 days ago
JSON representation

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