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
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,10 @@ This repository demonstrates how to run Appium tests in [TestNG](http://testng.o
18
18
- If Maven is not downloaded, download it from [here](https://maven.apache.org/download.cgi)
19
19
- For installation, follow the instructions [here](https://maven.apache.org/install.html)
20
20
21
+
3. Gradle
22
+
- If Gradle is not downloaded, download it from [here](https://gradle.org/releases/)
23
+
- For installation, follow the instructions [here](https://gradle.org/install/)
24
+
21
25
### Install the dependencies
22
26
23
27
To install the dependencies for Android tests, run :
@@ -43,6 +47,7 @@ Getting Started with Appium tests in TestNg on BrowserStack couldn't be easier!
43
47
44
48
- Switch to one of the following directories: [Android examples](android/testng-examples) or [iOS examples](ios/testng-examples)
45
49
- Run the following maven command `mvn test -P sample-test`
50
+
- Run the following gradle command `gradle clean sampleTest`
46
51
47
52
### **Use Local testing for apps that access resources hosted in development or testing environments :**
48
53
@@ -52,6 +57,8 @@ Getting Started with Appium tests in TestNg on BrowserStack couldn't be easier!
52
57
```
53
58
- You can use the `LocalSample` app provided in both folder [Android examples](android/testng-examples) or [iOS examples](ios/testng-examples) to run your test. Change the app parameter in the `browserstack.yml` file and run the tests with the following command: `mvn test -P sample-local-test`
54
59
60
+
-similarly for gradle you can do :- gradle clean sampleLocalTest
61
+
55
62
56
63
**Note**: If you are facing any issues, refer [Getting Help section](#Getting-Help)
0 commit comments