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

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

TestNG and Cucumber example for TestingBot browser tests
https://github.com/testingbot/java-testng-cucumber-example

Last synced: 11 months ago
JSON representation

TestNG and Cucumber example for TestingBot browser tests

Awesome Lists containing this project

README

          

## TestingBot - Java, TestNG & Cucumber

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 Cucumber 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)