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

https://github.com/testingbot/java-testng-selenide-example

Selenide example to run tests with TestingBot's browser grid.
https://github.com/testingbot/java-testng-selenide-example

Last synced: 11 months ago
JSON representation

Selenide example to run tests with TestingBot's browser grid.

Awesome Lists containing this project

README

          

## TestingBot - Java, TestNG & Selenide

TestingBot provides an online grid of browsers and mobile devices to run Automated tests on via Selenium WebDriver.
This example demonstrates how to use Java with TestNG and Selenide to run tests across several browsers.

### Environment Setup

1. Global Dependencies
* [Install Maven](https://maven.apache.org/install.html)
* Or Install Maven with [Homebrew](http://brew.sh/)
```
$ brew install maven
```

2. TestingBot Credentials
* Add your TestingBot Key and Secret as environmental variables. You can find these in the [TestingBot Dashboard](https://testingbot.com/members/).
```
$ export TESTINGBOT_KEY=
$ export TESTINGBOT_SECRET=
```

### Running Tests

* To start an example test, please run this command:
```
$ mvn test
```
You will see the test result in the [TestingBot Dashboard](https://testingbot.com/members/)

### Resources
##### [TestingBot Documentation](https://testingbot.com/support/)

##### [SeleniumHQ Documentation](http://www.seleniumhq.org/docs/)

##### [TestNg Documentation](https://testng.org/doc/index.html)