From d83fc5299ff2555a1b83f6628345c4d5a93f7b9b Mon Sep 17 00:00:00 2001 From: Tejas Shah Date: Thu, 31 Aug 2017 15:43:31 +0530 Subject: [PATCH] Update README --- README.md | 13 +++++++++++++ android/README.md | 7 +------ ios/README.md | 8 ++++++++ 3 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..1306e2b --- /dev/null +++ b/README.md @@ -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) diff --git a/android/README.md b/android/README.md index a589a9a..45f1add 100644 --- a/android/README.md +++ b/android/README.md @@ -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 @@ -34,5 +28,6 @@ to the BrowserStack servers using the above API. export BROWSERSTACK_USERNAME= && export BROWSERSTACK_ACCESS_KEY= ``` + ## Additional Resources * [Getting Started with App Automate](https://www.browserstack.com/app-automate/get-started) diff --git a/ios/README.md b/ios/README.md index 51844ca..a83d3a7 100644 --- a/ios/README.md +++ b/ios/README.md @@ -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`