Skip Navigation

Prerequisites: Executing automated tests for 
Android
 Xamarin apps

  • If you are running the tests on a device, enable developer mode.
  • You need the app .apk file with a signing key. If you want to run the automated tests on an emulator, you must add the required ABIs when you build the .apk file.
  • To ensure that the app is granted the required permissions, UITest must install the app, not the IDE. Use ApkFile() instead of PreferIdeSettings() to force UITest to install the app. For more information, see this Xamarin forum post.
  • In the 
    BlackBerry Dynamics
     policy that is assigned to the test user:
    • Set the security timeout to 1 hour
    • Set the minimum password length to 4 characters
    • Remove all authentication delegation settings
  • In the 
    UEM
     management console, add the test app to the user's list of allowed apps so that it can be provisioned.