Introduction
Appium Setup
RequirementsInstall AppiumSetting Up AndroidSetting Up iOSSetting Up An EmulatorSetting Up WindowsCompiling Your App (Native Apps)Compiling Your App (Hybrid Apps)Setup A Code Editor
MoQuality Tutorials
MoQuality Dashboard
Integrations
Common Issues

Compiling Your App (Native Apps)

To get started with MoQuality, you need to upload your app (.apk or .ipa) by using the 'Add App' function on the Dashboard or the MoQuality CLI.

Compile your App for Testing

Create an Android APK

To test your Android app we require your app package as a .apk file. For this tutorial, we will assume that you have gradle set up for your Android project.

You can test on a debug build or the release build. However, it is a good idea to test on the debug build to get better error logs if your test fails.

  1. To build a debug APK, open a command line and navigate to the root of your project directory.
  2. Initiate a debug build with gradlew assembleDebug. This creates an APK named module_name-debug.apk in project_name/module_name/build/outputs/apk/.
  3. The file is already signed with the debug key and aligned with zipalign, so you can immediately upload it.

Create an iOS IPA

To test your iOS app we require your app package as a .ipa file. To create the app package

  1. In the project navigator in Xcode, under Products, open the contextual menu for the file named app-name.app. Then, choose Show in Finder. Finder opens a folder named Debug-iphoneos, which contains the output that Xcode generated for your test build. This folder includes your .app file.
  2. In Finder, create a new folder, and name it Payload.
  3. Copy the app-name.app file, and paste it in the Payload folder.
  4. Open the contextual menu for the Payload folder and choose Compress "Payload". A file named Payload.zip is created.
  5. Change the file name and extension of Payload.zip to app-name.ipa.
  6. Optionally, you can delete the Payload folder and the .app file in it.