Giter Site home page Giter Site logo

testng-appium-app-browserstack's Introduction

testng-appium-app-browserstack

This repository demonstrates how to run Appium tests in 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/testng-examples
mvn clean

Or,

To install the dependencies for iOS tests, run :

cd ios/testng-examples
mvn clean

Getting Started

Getting Started with Appium tests in 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.

testng-appium-app-browserstack's People

Contributors

kamal-kaur04 avatar mattonem avatar rishav-csenitjsr avatar vedharish avatar karanshah-browserstack avatar tr4n2uil avatar tejasshah93 avatar raghuhit avatar kn-neeraj avatar zemotacqy avatar michael-ns avatar bstack-security-github avatar agundawar avatar sriteja777 avatar nidhimj22 avatar khrithik96 avatar deepwired avatar 07souravkunda avatar adarsh2692 avatar avinash-bharti avatar kunal361 avatar mukulgupta1 avatar nitish-bhardwaj-code avatar varun-garg avatar yashdsaraf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.