AWS Device Farm | Testing Your App Flashcards
Can I use the device camera?
Testing Your App
AWS Device Farm | Mobile Services
Yes, you can use the device cameras, both front- and rear-facing. Due to the way the devices are mounted, images and videos may look dark and blurry.
I don’t have any automated test scripts yet. What do the built-in tests do?
Testing Your App
AWS Device Farm | Mobile Services
The built-in compatibility test suite allows you to install, uninstall, launch, and run Fuzz on the app.
What does Fuzz do?
Testing Your App
AWS Device Farm | Mobile Services
Fuzz will perform fuzz testing on your UI immediately after launch. It streams random user input (touches, swipes, keyboard input) in a rapid fashion to your app. You can configure the number of events, the delay between events, and the seed used to randomize events. Using the same seed across test runs will result in the same sequence of events.
I test using an automation framework. Which frameworks do you support?
Testing Your App
AWS Device Farm | Mobile Services
For testing iOS, Android, and FireOS apps, we currently support Appium Java JUnit, Appium Java TestNG, Appium Python, Calabash, Instrumentation (Including JUnit, Espresso, Robotium, and any instrumentation-based tests), UI Automation, UI Automator, and XCTest (Including XCUI and KIF). For more information and updated list, visit our documentation.
Which test frameworks do you support for web applications?
Testing Your App
AWS Device Farm | Mobile Services
You can run tests written in Appium Java JUnit, Appium Java TestNG, or Appium Python.
Can you add support for a modified framework or one I designed myself?
Testing Your App
AWS Device Farm | Mobile Services
We’re always evaluating frameworks to support. Please contact us.
How does AWS Device Farm decide when to take a screenshot during a test?
Testing Your App
AWS Device Farm | Mobile Services
If you use one of the supported automation frameworks, you are in full control and can decide when to take screenshots. Those screenshots are included in your reports automatically.
Android: Is Google Play Services available on your devices? Which version is installed?
Testing Your App
AWS Device Farm | Mobile Services
Yes, Google Play Services is installed on devices that support it. The services are updated as new versions become available.
Android: Is there a default Google account on the devices?
Testing Your App
AWS Device Farm | Mobile Services
No, devices do not have an active Google account.
Does AWS Device Farm support record and playback automation or do I have to write my scripts?
Testing Your App
AWS Device Farm | Mobile Services
AWS Device Farm supports frameworks like Espresso and Robotium that have record and playback scripting tools.
iOS: Do I need to add your UDIDs to my provisioning profile?
Testing Your App
AWS Device Farm | Mobile Services
No, AWS Device Farm will automatically replace a provisioning profile and resign your app so it can be deployed on our devices.
iOS: My app does not contain debug symbols. Can I supply a dSYM file to AWS Device Farm?
Testing Your App
AWS Device Farm | Mobile Services
No, but you can download the logs and symbolicate the stack traces locally.
Android: My app is obfuscated. Can I still test my app on AWS Device Farm?
Testing Your App
AWS Device Farm | Mobile Services
Yes, if you use ProGuard. If you use DexGuard with anti-piracy measures, we are unable to re-sign the app and run tests against it.
My app serves ads. Will they be displayed on your devices? Will my ad provider flag this as abuse and ban my account?
Testing Your App
AWS Device Farm | Mobile Services
Although devices have access to the Internet, we make no guarantee that ads will be displayed. We recommend that you remove ads from the builds tested on AWS Device Farm.
Can I access the machine hosting the device or access its shell as part of my tests? Can I reach the Internet from it?
Testing Your App
AWS Device Farm | Mobile Services
Yes. If you’re using a client-server framework like Calabash, Appium, or UI Automation, you can access the Internet and execute limited shell commands from the host.