https://github.com/testingbot/java-testng-example
Java example with TestNG for TestingBot Selenium Grid
https://github.com/testingbot/java-testng-example
selenium testingbot testng webdriver
Last synced: 25 days ago
JSON representation
Java example with TestNG for TestingBot Selenium Grid
- Host: GitHub
- URL: https://github.com/testingbot/java-testng-example
- Owner: testingbot
- Created: 2018-11-28T12:32:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-02-01T14:09:04.000Z (over 1 year ago)
- Last Synced: 2025-04-02T07:11:17.262Z (2 months ago)
- Topics: selenium, testingbot, testng, webdriver
- Language: Java
- Homepage: https://testingbot.com/support/getting-started/testng.html
- Size: 10.7 KB
- Stars: 2
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/testingbot/java-testng-example/actions/workflows/test.yml)
## TestingBot - Java & TestNG
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 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
* Tests in Parallel:
```
$ 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)