You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update `browserstack.yml` file inside the root directory with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings)
14
15
15
-
## Running your tests
16
+
###Running your tests
16
17
* To run a sample parallel test, run `mvn test -P sample-test`
17
18
* To run local tests, update your `browserstack.yml` file with `browserstackLocal: true` and run `mvn test -P sample-local-test`
18
19
19
20
Understand how many parallel sessions you need by using our [Parallel Test Calculator](https://www.browserstack.com/automate/parallel-calculator?ref=github)
20
21
22
+
## Using Gradle
23
+
24
+
### Prerequisites
25
+
- If using Gradle, Java v9+ is required.
26
+
27
+
### Setting up a sample test
28
+
29
+
* Clone the repo
30
+
* Update `browserstack.yml` file inside the root directory with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings)
31
+
32
+
### Running your tests
33
+
* To run a sample parallel test, run `gradle sampleTest`
34
+
* To run local tests, update your `browserstack.yml` file with `browserstackLocal: true` and run `gradle sampleLocalTest`
35
+
36
+
Understand how many parallel sessions you need by using our [Parallel Test Calculator](https://www.browserstack.com/automate/parallel-calculator?ref=github)
37
+
21
38
## Notes
22
39
* You can view your test results on the [BrowserStack Automate dashboard](https://www.browserstack.com/automate)
23
40
* To test on a different set of browsers, check out our [platform configurator](https://www.browserstack.com/automate/java#setting-os-and-browser)
0 commit comments