- Notifications
You must be signed in to change notification settings - Fork79
browserstack/testng-appium-app-browserstack
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This repository demonstrates how to run Appium tests inTestNG on BrowserStack App Automate using BrowserStack SDK.
Java 8+
Maven (Only required if using Maven as the build tool)
Gradle (Only required if using Gradle as the build tool)
To install the dependencies for Android tests, run :
cd android/testng-examplesmvn cleanOr,
To install the dependencies for iOS tests, run :
cd ios/testng-examplesmvn cleanGetting Started with Appium tests in TestNg on BrowserStack couldn't be easier!
- Switch to one of the following directories:Android examples oriOS examples
- For Maven: Run the following command to execute tests in the Maven environment:
mvntest -P sample-test - For Gradle: Run the following command to execute tests in the Gradle environment:
gradle clean sampleTest
Simply configure the
browserstackLocalparameter in thebrowserstack.ymlfile accordingly inAndroid examples oriOS examples.browserstackLocal: trueYou can use the
LocalSampleapp provided in both folderAndroid examples oriOS examples to run your test. Change the app parameter in thebrowserstack.ymlfile.For Maven: Run the following command to execute tests in the Maven environment:
mvntest -P sample-local-testFor Gradle: Run the following command to execute tests in the Gradle environment:
gradle clean sampleLocalTest
-similarly for gradle you can do :- gradle clean sampleLocalTest
Note: If you are facing any issues, referGetting Help section
For other Java frameworks samples, refer to following repositories :
Note: For other test frameworks supported by App-Automate refer ourDeveloper documentation
If you are running into any issues or have any queries, please checkBrowserstack Support page orget in touch with us.
About
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
