Skip to content

Latest commit

 

History

History
107 lines (63 loc) · 3.67 KB

README.md

File metadata and controls

107 lines (63 loc) · 3.67 KB

behave-appium-app-browserstack

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

Setup

Requirements

  1. Python 3.6+ or Python 2.7+

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

    Note : pip comes installed with Python 2.7.9+ and python 3.4+

    • If pip is not installed, follow these instructions:

      • Securely download get-pip.py by following this link: get-pip.py or use following cURL command to download it:
      curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
      • After dowloading, run the file :

        • For Python 3

          python3 get-pip.py
        • For Python 2

          python2 get-pip.py

Install the dependencies

To install the dependencies for Android tests, run :

  • For Python 3

    pip3 install -r android/requirements.txt
  • For Python 2

    pip2 install -r android/requirements.txt

Or,

To install the dependencies for iOS tests, run :

  • For Python 3

    pip3 install -r ios/requirements.txt
  • For Python 2

    pip2 install -r ios/requirements.txt

Getting Started

Getting Started with Appium tests in Behave on real BrowserStack couldn't be easier!

Run first test :

Speed up test execution with parallel testing :

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

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

Integration with other python frameworks

For other Python 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.