https://github.com/browserstack/webdriverio-appium-app-browserstack
https://github.com/browserstack/webdriverio-appium-app-browserstack
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/browserstack/webdriverio-appium-app-browserstack
- Owner: browserstack
- Created: 2017-08-07T13:36:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-02-06T12:32:00.000Z (about 1 year ago)
- Last Synced: 2025-03-31T10:00:56.540Z (12 months ago)
- Language: JavaScript
- Size: 61.6 MB
- Stars: 45
- Watchers: 20
- Forks: 56
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# webdriverio-appium-app-browserstack
This repository demonstrates how to run Appium tests using [WebdriverIO](http://webdriver.io/) on BrowserStack App Automate.
Code samples to get started with Appium tests for your Native App using WebdriverIO.
## Setup
### Requirements
* Node.js 8.11.2+
- If you don't have Node installed, download it from [here](https://nodejs.org/en/)
### Install the dependencies
For Android tests, run the following command in project's base directory :
```sh
cd android
npm i
```
Or,
For dependencies for iOS tests, run following command in project's base directory :
```sh
cd ios
npm i
```
## Getting Started
Getting Started with Appium tests using WebdriverIO on BrowserStack couldn't be easier!
### Run first test:
- Test script is available in `run-first-test` directory under [Android examples](./android) or [iOS examples](./ios)
- Follow the steps outlined in the documentation - [Get Started with your first test on App Automate](https://www.browserstack.com/docs/app-automate/appium/getting-started/nodejs/webdriverio)
### Speed up test execution with parallel testing :
- Test script is available in `run-parallel-test` directory under [Android examples](./android) or [iOS examples](./ios)
- Follow the steps outlined in the documentation - [Get Started with parallel testing on App Automate](https://www.browserstack.com/docs/app-automate/appium/getting-started/nodejs/webdriverio/parallelize-tests)
### Use Local testing for apps that access resources hosted in development or testing environments :
- Test script is available in `run-local-test` directory under [Android examples](./android) or [iOS examples](./ios)
- Follow the steps outlined in the documentation - [Get Started with Local testing on App Automate](https://www.browserstack.com/docs/app-automate/appium/getting-started/nodejs/webdriverio/local-testing)
**Note**: For other test frameworks supported by App-Automate refer our [Developer documentation](https://www.browserstack.com/docs/)
## Getting Help
If you are running into any issues or have any queries, please check [Browserstack Support page](https://www.browserstack.com/support/app-automate) or [get in touch with us](https://www.browserstack.com/contact?ref=help).