Testing Secured Android & iOS Apps by Using Perfecto, Mobile DevSecOps Best Practices

Last updated May 2, 2023 by Appdome

Learn how to test Runtime Application Self Protecting (RASP) Protected and obfuscated Android & iOS Apps using Perfecto’s mobile testing suite. Appdome is 100% compatible with all leading mobile application test automation solutions. Automated testing of secured Android and iOS app helps developers and others rapidly deploy comprehensive mobile app security and fraud prevention with DevSecOps speed and agility.

DevSecOps Testing with Perfecto | Secured Android, iOS Apps

This knowledge base article covers the steps needed to test Appdome secured Android & iOS mobile apps using Perfecto’s mobile test automation suite.

Secure the App by Using Appdome

  1. First, build your Android app with Appdome’s no-code mobile app security and/or fraud prevention protections.
  2. For Android apps, make sure that the Detect Developer Options is not enabled on Appdome (Android Developer Options are required in order to use Perfecto’s testing platform).
    appdome detect android developer options
  3. In order to use Perfecto, you are advised to enable Appdome Threat Events for Anti-Tampering, as shown below:
    anti-tampering appdome oneshield

 

Testing the Appdome-Secured App Using Perfecto

  1. Go to https://perfecto.io and from the top menu select Logins->Mobile Cloud Log-in
  2. Enter your login credentials and log-in.
  3. Select ACCOUNT SETUP
    perfecto.mobile.automation.testing.1
  4. On the top, go to the PRIVATE tab.
    perfecto.mobile.automation.testing screens
  5. Click Upload file and upload your test app.
  6. From the top menu select Manual Testing
    perfecto.mobile.automation.testing.android
  7. Select the device you want to run your test on. Double-click the device to select it.
    perfecto.mobile.automation.testing.android
  8. After opening the selected device, click the Apps icon and select +INSTALL NEW
    perfecto.mobile.automation.testing.android
  9. Select the app you previously uploaded, select the check box Launch after installing, then click NEXT and INSTALL APP.
    perfecto.mobile.automation.testing.android
  10. Run your test manually. You can view the phone’s logs by clicking the Logs icon.
    perfecto.mobile.automation.testing.android

 

Testing Secured iOS Apps using Perfecto 

Follow these steps to test an Appdome-secured iOS app with Perfecto Mobile test automation suite.

  1. Build your iOS app with Appdome’s no-code mobile app security and/or fraud prevention protections.
  2. In order to use Perfecto, it is recommended that you build your app using Appdome Threat Events for Anti-Tampering, as shown below:
    anti-tampering appdome oneshield
  3. Go to https://perfecto.io and from the top menu select Logins > Mobile Cloud Login.
  4. Enter your login credentials and log-in.
  5. Select ACCOUNT SETUP.
    perfecto.mobile.automation.testing.1
  6. On the top, go to the PRIVATE tab.
    perfecto.mobile.automation.testing screens
  7. Press Upload file to upload your test app.
  8. From the top menu select Manual Testing.
    perfecto.mobile.automation.testing
  9. Select the device you want to run your test on. Double-click to select the device.
    perfecto.mobile.automation.testing
  10. After opening the chosen device, press the Apps icon and select +INSTALL NEW.
    perfecto.mobile.automation.testing
  11. Select the app you previously uploaded, then in the CONFIGURE APP tab, check “Resign application” and uncheck “Launch after installing”, then click INSTALL APP.
    perfecto.mobile.automation.testing
  12. Wait for the installation to complete. Then Launch your test app and run your test manually.

You can view the mobile device logs by pressing the Logs icon.

perfecto.mobile.automation.testing

Troubleshooting Tips

If you see the message such as: “Application has violated security policies and it will be shut down”, this means that (1) techniques such as emulators, tampering, or reverse engineering are present, and (2) the Fusion Set does not contain Appdome Threat-Events. This is likely because the user is running Perfecto in ’emulator testing’ mode, which Appdome protects against.

Perfecto can be used in one of two modes: emulator testing or manual testing.  Using Perfecto in “emulator mode” will trigger Appdome’s ONEShield app hardening protection.  Therefore you should use manual mode (ie: real mobile devices) to test Appdome-secured apps.

Also, you should avoid enabling Perfecto’s “Instrumentation” options, as this will also trigger Appdome’s protections.

Related Articles

How to Use Appdome’s Build-to-Test Service

NEED HELP?

let's solve it together

AviMaking your security project a success!
By filling out this form, you opt-in to recieve emails from us.