https://github.com/browserstack/gauge-java-browserstack
Selenium Java examples for Gauge and BrowserStack Automate
https://github.com/browserstack/gauge-java-browserstack
browserstack gauge java
Last synced: 2 months ago
JSON representation
Selenium Java examples for Gauge and BrowserStack Automate
- Host: GitHub
- URL: https://github.com/browserstack/gauge-java-browserstack
- Owner: browserstack
- Created: 2017-01-09T09:03:25.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2025-06-06T11:56:44.000Z (7 months ago)
- Last Synced: 2025-09-24T15:40:54.032Z (3 months ago)
- Topics: browserstack, gauge, java
- Language: Java
- Homepage: https://www.browserstack.com/automate
- Size: 58.6 KB
- Stars: 1
- Watchers: 17
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# gauge-java-browserstack
[Gauge](https://docs.gauge.org/) Integration with BrowserStack

## Prerequisites
* [BrowserStack Automate](https://www.browserstack.com/automate) account with at least 4 parallel tests. Signup for a free trial [here](https://www.browserstack.com/users/sign_up).
* [Gauge](https://docs.gauge.org/) should be installed and in $PATH. Latest version of Gauge can be downloaded from [the website](https://docs.gauge.org/getting_started/installing-gauge.html?os=macos&language=java&ide=vscode).
* [Maven](http://maven.apache.org/) should be installed and in $PATH. Latest version of Maven can be downloaded from [the website](http://maven.apache.org/install.html).
## Setup
* Clone the repo
* Install dependencies `mvn compile`
* Update `env/default/default.properties` with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings)
## Running the tests
* To run the sample specs, run `mvn test -P sample-test`
* To run the sample local specs, run `mvn test -P sample-local-test`
## Notes
* You can view your test results on the [BrowserStack Automate dashboard](https://www.browserstack.com/automate)
* To test on a different set of browsers, check out our [platform configurator](https://www.browserstack.com/automate/java#setting-os-and-browser)
## Additional Resources
* [Documentation for writing Automate test scripts in Java](https://www.browserstack.com/automate/java)
* [Customizing your tests on BrowserStack](https://www.browserstack.com/automate/capabilities)
* [Browsers & mobile devices for selenium testing on BrowserStack](https://www.browserstack.com/list-of-browsers-and-platforms?product=automate)
* [Using REST API to access information about your tests via the command-line interface](https://www.browserstack.com/automate/rest-api)