Testing Appdome Secured Android Apps Using AWS
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
- Log into your AWS account.
- Use the search menu to search for and access “Device Farm.”
- Click on “Device Farm.”
- Select Create mobile project.
- Enter the Project Name and click “Create.”
How to Run Automated Tests
- Click “Create run.”
- Click on Choose File.
- Upload your Build2Test mobile application (.apk or .ipa).
- Wait for the file to be uploaded.
- Click on Next at the bottom right corner
- Configure the test to your needs and click next at the bottom right corner
- You can choose from existing pools or create a new one tailored to your needs.
- Create a Device Pool
- Enter a name for your device pool.
- Select Create dynamic device pool.
- Enter Field: Platform, Operator: Equals, and Value: Android.
- View the listed mobile devices
- Click Create
- Select either Top Devices or Private Pools
- Click Next
- Specify additional software to install on the mobile device.
- Setup Location and Network settings.
- Change device paths if required.
- Click Next
- Review all settings before starting your test run.
- Click “Confirm and start run.”
How to Run Remote Access Tests
- Search for “Device Farm.”
- Click on “Device Farm.”
- Click Create New Project.
- Select “Remote Access”
- Click “Create remote access session”.
- Choose a device
- Click “Confirm and start the session.”
- Wait for the device to load
- Once the device is finished loading, upload your Build2Test mobile application.
- Open the app and start performing tests on the app.
- When you’re done, click “Stop Session”.
- Wait for the results to appear on the next page.
Related Articles:
- How to Test Secured Android Apps on Lambdatest
- How to Test Secured iOS Apps on Lambdatest
- How to Use Appdome’s Build2Test Service
- Test Appdome-secured Android Apps by Using SauceLabs
- Testing Secured iOS Apps by Using SauceLabs
- How to Test Secured Android Apps on BitBar
- How to Test Secured Android Apps on BrowserStack
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.