Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/hjsblogger/toggle-button-selenium-java

Demonstration of handling Toggle Buttons using Selenium Java
https://github.com/hjsblogger/toggle-button-selenium-java

Last synced: about 2 months ago
JSON representation

Demonstration of handling Toggle Buttons using Selenium Java

Awesome Lists containing this project

README

        

Before running the tests on LambdaTest Selenium Grid, you need to set the environment variables - *LT_USERNAME* and *LT_ACCESS_KEY*. Here is how you can do the same:

## Configure Environment Variables

Before the tests are run, please set the environment variables LT_USERNAME & LT_ACCESS_KEY from the terminal. The account details are available on your [LambdaTest Profile](https://accounts.lambdatest.com/detail/profile) page.

For macOS:

```bash
export LT_USERNAME=LT_USERNAME
export LT_ACCESS_KEY=LT_ACCESS_KEY
```

For Linux:

```bash
export LT_USERNAME=LT_USERNAME
export LT_ACCESS_KEY=LT_ACCESS_KEY
```

For Windows:

```bash
set LT_USERNAME=LT_USERNAME
set LT_ACCESS_KEY=LT_ACCESS_KEY
```

## Project Execution

Run the following command on the terminal to trigger tests on local Grid and LambdaTest Selenium Grid

```bash
mvn test
```

Tests on local Grid and LambdaTest Selenium Grid will be executed in parallel. Here is the execution snapshot on LambdaTest Selenium Grid:

Screenshot_1
Screenshot_2

Here is the screenshot of tests run on LambdaTest Grid:

Screenshot_3

## Need Assistance?
Discuss your queries by writing to me at [himanshu[dot]sheth[at]gmail](mailto:[email protected]) or you can ping me on the following social media sites:

Twitter: [@hjsblogger](https://www.twitter.com/hjsblogger)


LinkedIn: [@hjsblogger](https://linkedin.com/in/hjsblogger)


Facebook: [@hjsblogger](https://facebook.com/hjsblogger)