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
- Host: GitHub
- URL: https://github.com/testingbot/java-testng-cucumber-example
- Owner: testingbot
- Created: 2024-08-31T09:44:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-31T10:59:19.000Z (over 1 year ago)
- Last Synced: 2024-12-26T02:07:38.323Z (about 1 year ago)
- Language: Java
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)