Skip to content

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

Notifications You must be signed in to change notification settings

browserstack/cucumber-java-appium-app-browserstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cucumber-java-appium-app-browserstack

This repository demonstrates how to run Appium tests in Cucumber Testng on BrowserStack App Automate using BrowserStack SDK.

BrowserStack Logo

Setup

Requirements

  1. Java 8+

    • If Java is not installed, follow these instructions:
      • For Windows, download latest java version from here and run the installer executable
      • For Mac and Linux, run java -version to see what java version is pre-installed. If you want a different version download from here
  2. Maven

    • If Maven is not downloaded, download it from here
    • For installation, follow the instructions here

Install the dependencies

To install the dependencies for Android tests, run :

cd android/
mvn clean

Or,

To install the dependencies for iOS tests, run :

cd ios/
mvn clean

Getting Started

Getting Started with Appium tests in Cucumber TestNg on BrowserStack couldn't be easier!

Run Sample test :

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

  • Simply configure the browserstackLocal parameter in the browserstack.yml file accordingly in Android examples or iOS examples.
    browserstackLocal: true
    
  • You can use the LocalSample app provided in both folder Android examples or iOS examples to run your test. Change the app parameter in the browserstack.yml file and run the tests with the following command: mvn test -P sample-local-test

Note: If you are facing any issues, refer Getting Help section

Integration with other Java frameworks

For other Java 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

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published