This repository demonstrates how to run Appium NodeJS tests on BrowserStack App Automate.
-
Node.js
-
If not installed, install Node.js from here
-
Ensure you have node & npm installed by running
node -v&npm -v
-
To install the dependencies run the following command in the project's base directory :
- Open `Android` or in `ios` folder
- Run `npm install`
Getting Started with Appium tests in NodeJS on BrowserStack couldn't be easier!
Open Android or in ios folder
-
If you have uploaded your app then add the app id to the
browserstack.ymlconfig file, or you can directly specify the path to your app in thebrowserstack.ymlfile. -
Run
npm run sample-test -
You can access the test execution results, and debugging information such as video recording, network logs on App Automate dashboard
Open Android or in ios folder
-
Ensure that
browserstackLocalcapability is set totruein thebrowserstack.ymlfile. -
If you have uploaded your app then add the app id to the
browserstack.ymlconfig file, or you can directly specify the path to your app in thebrowserstack.ymlfile. -
Run
npm run sample-local-test -
You can access the test execution results, and debugging information such as video recording, network logs on App Automate dashboard
For other NodeJS frameworks samples, refer to following repositories :
Note: For other test frameworks supported by App-Automate refer our Developer documentation
If you are running into any issues or have any queries, please check Browserstack Support page or get in touch with us.