This repository demonstrates how to run Appium tests in JBehave on BrowserStack App Automate.
-
Java 8+
-
Maven
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 with Appium tests in JBehave on BrowserStack couldn't be easier!
- Switch to one of the following directories: Android examples or iOS examples
- Run the following maven command
mvn test -P sample-test
- Simply configure the
browserstackLocal
parameter in thebrowserstack.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 thebrowserstack.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
For other Java 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.