Skip to content

browserstack/cucumber-js-appium-app-browserstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cucumber-js-appium-app-browserstack

This repository demonstrates how to run Appium Cucumber JS tests on BrowserStack App Automate.

Setup

Requirements

  1. Node.js

    • If not installed, install Node.js from here

    • Ensure you have node & npm installed by running node -v & npm -v

Install the dependencies

For Android tests, run the following command in project's base directory :

cd android
npm install

Or,

For dependencies for iOS tests, run following command in project's base directory :

cd ios
npm install

Getting Started

Getting Started with Appium tests in NodeJS mocha on BrowserStack couldn't be easier!

Run your first test :

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 the browserstack.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


Use Local testing for apps that access resources hosted in development or testing environments :

Open Android or in ios folder

  • Ensure that browserstackLocal capability is set to true in the browserstack.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 the browserstack.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

Integration with other NodeJS frameworks

For other NodeJS frameworks samples, refer to following repositories :

Note: For other test frameworks supported by App-Automate refer our Developer documentation

Getting Help

If you are running into any issues or have any queries, please check Browserstack Support page or get in touch with us.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •