This repository demonstrates how to run Appium Behave tests on BrowserStack App Automate.
-
Python 3.6+ or Python 2.7+
-
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
-
-
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 with Appium tests in Behave on real BrowserStack couldn't be easier!
-
Switch to
run-first-test
directory under Android examples or iOS examples -
Follow the steps outlined in the documentation - Get Started with your first test on App Automate
-
Switch to
run-prarallel-tests
directory under Android examples or iOS examples -
Follow the steps outlined in the documentation - Get Started with Parallel testing on App Automate
-
Switch to
run-local-test
directory under Android examples or iOS examples -
Follow the steps outlined in the documentation - Get Started with Local testing on App Automate
Note: If you are facing any issues, refer Getting Help section
For other Python 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.