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.yml
config file, or you can directly specify the path to your app in thebrowserstack.yml
file. -
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
browserstackLocal
capability is set totrue
in thebrowserstack.yml
file. -
If you have uploaded your app then add the app id to the
browserstack.yml
config file, or you can directly specify the path to your app in thebrowserstack.yml
file. -
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.