Testing Appdome Secured Android Apps Using AWS

Last updated August 29, 2024 by Appdome

This Knowledge Base article provides a detailed process for testing Appdome-secured Android apps using AWS Device Farm, demonstrating Appdome’s seamless integration with top mobile testing solutions. This integration enhances mobile app security effectively within your existing application lifecycle, leveraging the speed and agility of DevSecOps.

Use Appdome’s Build2Test Service (Recommended)

With an Appdome SRM license, you can use Appdome’s Build2Test service to quickly and easily test your Appdome-secured mobile apps on AWS without the need for different Fusion Sets.  Appdome’s Build2Test service in-app defense model recognizes the unique signature of these testing services and allows for easy testing without issuing a security alert or forcing the app to exit, even if these services use tools such as Magisk or Frida.

For details, see How to Use Appdome Mobile App Automation Testing.

General Information About Testing in Android Apps

Below are the Appdome security features that may be triggered during testing on AWS, along with their behaviors under the Build2Test setting:

Appdome feature Reason Behavior with Build2Test
Detect Developer Options AWS might enable developer options to facilitate testing, which is detected as a potential security risk. The app will detect this but will not crash, allowing testing to continue.
Block Android Debug Bridge (ADB) AWS uses ADB for interactions during tests, which this feature blocks to prevent unauthorized control. The app will detect ADB usage but will not crash, ensuring smooth testing.
Prevent App Screen Sharing AWS records the screen during tests, triggering the screen-sharing protection. The app will recognize the screen recording but will continue running without crashing.
Detect Unlocked Bootloader AWS devices might have unlocked bootloaders, which are detected as a security risk. The app will acknowledge the unlocked bootloader but will continue operating normally during testing.
Cipher Suites AWS supports a variety of cipher suites, which Appdome can restrict to enforce secure communications as per app-specific protocols. The app will acknowledge the cipher suites but will continue operating normally during testing.

 

How to Upload and Test Your App on AWS

  1. Log into your AWS account.
    Log Into Aws Account
  2. Use the search menu to search for and access “Device Farm.”
  3. Click on “Device Farm.”
    Search For Device Farm
  4. Select Create mobile project.
    Create Mobile Project
  5. Enter the Project Name and click “Create.”
    Click Create

How to Run Automated Tests

  1. Click “Create run.”
  2. Click on Choose File.
  3. Upload your Build2Test mobile application (.apk or .ipa).
    Choose An Application
  4. Wait for the file to be uploaded.
  5. Click on Next at the bottom right corner
    Click Next
  6. Configure the test to your needs and click next at the bottom right corner
    Setup Test Framework
  7. You can choose from existing pools or create a new one tailored to your needs.
    Device Pools Or Create A New Device Pool.
  8. Create a Device Pool
  9. Enter a name for your device pool. 
  10. Select Create dynamic device pool.
  11. Enter Field: Platform, Operator: Equals, and Value: Android.
    Create A Device Pool
  12. View the listed mobile devices
  13. Click Create
    Mobile Device Pool
  14. Select either Top Devices or Private Pools
    Private Pool
  15. Click Next
  16. Specify additional software to install on the mobile device.
    Install Additional Software
  17. Setup Location and Network settings.
    Location & Network Settings
  18. Change device paths if required.
  19. Click Next
    Device Paths
  20. Review all settings before starting your test run.  Review & Start run
  21. Click “Confirm and start run.”

How to Run Remote Access Tests

  1. Search for “Device Farm.”
  2. Click on “Device Farm.”
  3. Click Create New Project.
  4. Select “Remote Access”
  5. Click “Create remote access session”.
    Remote Access
  6. Choose a device
    Choose A Device
  7. Click “Confirm and start the session.”
    Confirm And Start The Session
  8. Wait for the device to load
    Device Requested
  9. Once the device is finished loading, upload your Build2Test mobile application.
    Upload App
  10. Open the app and start performing tests on the app.
  11. When you’re done, click “Stop Session”.
    Mobile App Testing
  12. Wait for the results to appear on the next page.

Related Articles:

How Do I Learn More?

If you have any questions, please send them our way at support.appdome.com or via the chat window on the Appdome platform.

Thank you!

Thanks for visiting Appdome! Our mission is to secure every app on the planet by making mobile app security easy. We hope we’re living up to the mission with your project.

Appdome

Want a Demo?

Test Secured Mobile Apps

GilWe're here to help
We'll get back to you in 24 hours to schedule your demo.