Note: This is an in-progress example of cross-platform (Android/iOS) Appium Java tests and how to run them in Xamarin Test Cloud. As features become available, this sample will change.
- Appium server
- Appium 1.6
- and/or
- Appium desktop app
- Xcode 8
- IntelliJ
- Maven (on macOS you can also easily install it with
brew install maven
) - Additional Setup to run on iOS Devices can be found here.
- Run
appium-doctor
on command line. Ensure that all checks pass. - Run
appium
to start the server
- Open app
- Click start server button
- Run
mvn test -P [platform]
from the project directory[platform]
should be eitherandroid
,ios
, orios-simulator
depending on which platform you want to run your tests on
- Open the "Maven Projects" tool window
- Under "Profiles" choose the platform you wish to test on (making sure only one is checked)
- Should be either
android
,ios
, orios-simulator
- Should be either
- Right click on the test(s) that you wish to run and choose "Run"
- Follow these instructions to prepare your tests for Test Cloud.
- Go to Test Cloud and start a new test run
- Go through the wizard and then select Appium on the last step
- Follow the provided instructions to install the CLI and uplaod your tests