Appdome Integration
Learn how to test Appdome-secured Android and iOS apps with Sauce Labs' automation test platform for DevSecOps. Appdome works with all leading mobile automation testing solutions to help you achieve comprehensive mobile app security with speed and agility, all within the app’s lifecycle.
What You'll Need
- A Sauce Labs account (if you don't have one, start a free trial)
- An Appdome account
- An Appdome-secured Android or iOS app
Testing Appdome-secured iOS and Android Apps
- From your Sauce Labs account, go to Live > Mobile App.
- To upload your Android or iOS app, click Upload App.
- Once uploaded, hover over the app, then click Settings.
- Disable Instrumentation and Image Injection, then click Back to App Selection.
- To select a test device, hover over the app and click Choose Device.
- From the Mobile Real tab, hover over a device and click Start test.
This starts a manual test for the uploaded app on the selected device. - When your test is done, click End.
You can now view your test results.
If you want to test using Appium, see Appium on Sauce Labs.
Troubleshooting Tips
Most automation test tools can typically be used in one of two modes: emulator mode and manual mode (specific terms may vary according to the testing tool). If you use the automation test tool in emulator mode instead of manual mode, the Appdome-secured application will not run on the device. This is expected because Appdome ONEShield protects apps from running on emulators/simulators. Instead, you should run the automation test tool in manual mode.
If you see a 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 expected because Appdome ONEShield protects against those conditions. You can either remove the triggering condition or use Appdome Threat Events if applicable.