Skip to content

Update README #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 31, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# testng-appium-app-browserstack

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

![BrowserStack Logo](https://d98b8t1nnulk5.cloudfront.net/production/images/layout/logo-header.png?1469004780)

Code samples to get started with Appium tests for your Native App using the TestNG framework.

## Resources
* [Android Get Started guide](https://www.browserstack.com/app-automate/get-started)
* [Android sample code repo](https://github.com/browserstack/testng-appium-app-browserstack/tree/master/android)
* [IOS Get Started guide](https://www.browserstack.com/app-automate/get-started)
* [IOS sample code repo](https://github.com/browserstack/testng-appium-app-browserstack/tree/master/ios)
7 changes: 1 addition & 6 deletions android/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# testng-appium-app-browserstack

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

![BrowserStack Logo](https://d98b8t1nnulk5.cloudfront.net/production/images/layout/logo-header.png?1469004780)

## Setup

* Clone the repo
Expand Down Expand Up @@ -34,5 +28,6 @@ to the BrowserStack servers using the above API.
export BROWSERSTACK_USERNAME=<browserstack-username> &&
export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>
```

## Additional Resources
* [Getting Started with App Automate](https://www.browserstack.com/app-automate/get-started)
8 changes: 8 additions & 0 deletions ios/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
* Update `*.conf.json` files inside the `src/test/resources/conf` directory with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings)

## Running your tests

- Upload your Native App (.ipa file) to BrowserStack servers using upload API:

```
curl -u "username:accesskey" -X POST "https://api.browserstack.com/app-automate/upload" -F "file=@/path/to/app/file/Application-debug.ipa"
```

- Update the desired capability "app" with the App URL returned from the above API call
- To run a single test, run `mvn test -P single`
- To run parallel tests, run `mvn test -P parallel`
- To run local tests, run `mvn test -P local`
Expand Down