Visual Studio App Center Test is the next generation of Xamarin Test Cloud! Read the blog post.
VISUAL STUDIO   Windows Mac

Compiling the Application

PDF for offline use

Let us know how you feel about this

Translation Quality


0/250

last updated: 2016-10

Regardless of the platform, it is necessary to first build and package the application before running the test. Ensure that the compiled application targets a CPU architecture that is appropriate for the device running the tests:

TargetArchitecture
iOS Simulatorx86
iOS devicex86_64
Android DeviceTypically armeabi-v7a
Google EmulatorDepends on the Android Virtual Device

Building the APK

For Android applications, the Xamarin Test Cloud Agent cannot interact with APK’s that are built using the Shared mono runtime. The Shared mono runtime is enabled by default in Debug builds and it is disabled by default in Release builds. If you wish to use a Debug build of your APK, ensure that you turn off the Shared mono runtime:

Turn off the shared mono runtime in Visual Studio for Mac.

Turn off the shared mono runtime in Visual Studio

You must first build the APK before running the tests.

Building the IPA

For iOS applications, ensure that you create an ad-hoc IPA using the Debug configuration. A Release build will not work because UIAutomation is disabled and the Xamarin Test Cloud Agent will be stripped out of the IPA by the linker.

The guide IPA Support for Ad Hoc And Enterprise Deployment contains more details on this topic.

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.