Skip to content

Commit 76e4dfe

Browse files
author
Tejas Shah
committed
update readme
1 parent 74d0bcd commit 76e4dfe

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
1-
Automate Java Samples
1+
App Automate Java Samples
22
---------------------
33

4-
This repository contains code samples from http://www.browserstack.com/automate/java. Please feel free to clone the repo and use the example code.
4+
This repository contains code for Automated Native App tests using Appium in Java. Please feel free to clone the repo and use the example code.
55

6+
## Running your tests
7+
- Do remember to switch the USERNAME and ACCESS_KEY with your own browserstack credentials.
8+
- Upload your Native App (.apk file) to BrowserStack servers using upload API:
69

7-
Do remember to switch the USERNAME and ACCESS_KEY with your own browserstack credentials.
10+
```
11+
curl -u "username:accesskey" -X POST "https://api.browserstack.com/app-automate/upload" -F "file=@/path/to/app/file/Application-debug.apk"
12+
```
13+
14+
- If you do not have an .apk file and looking to simply try App Automate, [you can download our sample app and upload](https://www.browserstack.com/app-automate/sample-apps/android/WikipediaSample.apk)
15+
to the BrowserStack servers using the above API.
16+
- Update the desired capability "app" with the App URL returned from the above API call
817

918
For frameworks integration with BrowserStack, refer to their individual repositories -
1019

0 commit comments

Comments
 (0)