Skip to content

Commit c46ecf0

Browse files
author
Tejas Shah
committed
update readme
1 parent 76cb619 commit c46ecf0

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# testng-browserstack
1+
# testng-appium-app-browserstack
22

33
[TestNG](http://testng.org) Integration with BrowserStack.
44

@@ -12,21 +12,27 @@
1212

1313
## Running your tests
1414

15+
- Upload your Native App (.apk file) to BrowserStack servers using upload API:
16+
17+
```
18+
curl -u "username:accesskey" -X POST "https://api.browserstack.com/app-automate/upload" -F "file=@/path/to/app/file/Application-debug.apk"
19+
```
20+
21+
- 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)
22+
to the BrowserStack servers using the above API.
23+
- Update the desired capability "app" with the App URL returned from the above API call
1524
- To run a single test, run `mvn test -P single`
1625
- To run parallel tests, run `mvn test -P parallel`
1726
- To run local tests, run `mvn test -P local`
1827

1928
## Notes
2029
* You can view your test results on the [BrowserStack Automate dashboard](https://www.browserstack.com/automate)
21-
* To test on a different set of browsers, check out our [platform configurator](https://www.browserstack.com/automate/java#setting-os-and-browser)
30+
* Refer [Get Started](https://www.browserstack.com/app-automate/get-started#getting-started) document to configure the capabilities
2231
* You can export the environment variables for the Username and Access Key of your BrowserStack account
2332

2433
```
2534
export BROWSERSTACK_USERNAME=<browserstack-username> &&
2635
export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>
2736
```
2837
## Additional Resources
29-
* [Documentation for writing Automate test scripts in Java](https://www.browserstack.com/automate/java)
30-
* [Customizing your tests on BrowserStack](https://www.browserstack.com/automate/capabilities)
31-
* [Browsers & mobile devices for selenium testing on BrowserStack](https://www.browserstack.com/list-of-browsers-and-platforms?product=automate)
32-
* [Using REST API to access information about your tests via the command-line interface](https://www.browserstack.com/automate/rest-api)
38+
* [Getting Started with App Automate](https://www.browserstack.com/app-automate/get-started)

0 commit comments

Comments
 (0)