Mobile Services | AWS Device Farm Flashcards
What is AWS Device Farm?
General
AWS Device Farm | Mobile Services
AWS Device Farm allows developers to increase application quality, time to market, and customer satisfaction by testing and interacting with real Android and iOS devices in the AWS Cloud. Developers can upload their app and test scripts and run automated tests in parallel across 100s of real devices, getting results, screenshots, video, and performance data in minutes. They can also debug and reproduce customer issues by swiping, gesturing, and interacting with a device through their web browser.
Who should use AWS Device Farm and why?
General
AWS Device Farm | Mobile Services
AWS Device Farm is designed for developers, QA teams, and customer support representatives who are building, testing, and supporting mobile apps to increase the quality of their apps. Application quality is increasingly important, and also getting complex due to the number of device models, variations in firmware and OS versions, carrier and manufacturer customizations, and dependencies on remote services and other apps. AWS Device Farm accelerates the development process by executing tests on multiple devices, giving developers, QA and support professionals the ability to perform automated tests and manual tasks like reproducing customer issues, exploratory testing of new functionality, and executing manual test plans. AWS Device Farm also offers significant savings by eliminating the need for internal device labs, lab managers, and automation infrastructure development.
What types of apps does AWS Device Farm support?
General
AWS Device Farm | Mobile Services
AWS Device Farm supports native and hybrid Android, iOS, and web apps, and cross-platform apps including those created with PhoneGap, Titanium, Xamarin, Unity, and other frameworks.
Does AWS Device Farm use simulators or emulators?
Setting Up Tests & Remote Access Sessions
AWS Device Farm | Mobile Services
AWS Device Farm tests are run on real, non-rooted devices. The devices are a mixture of OEM and carrier-branded devices.
How do I get started with AWS Device Farm?
Setting Up Tests & Remote Access Sessions
AWS Device Farm | Mobile Services
Please see our getting started guide.
Which browsers does the AWS Device Farm console support?
Setting Up Tests & Remote Access Sessions
AWS Device Farm | Mobile Services
AWS Device Farm works on Internet Explorer 9 or later and the latest versions of Chrome, Firefox, and Safari.
Which browsers are supported for testing web applications?
Setting Up Tests & Remote Access Sessions
AWS Device Farm | Mobile Services
Your web applications will be tested in Chrome on Android and Safari on iOS.
What is the maximum file size for apps and tests?
Setting Up Tests & Remote Access Sessions
AWS Device Farm | Mobile Services
AWS Device Farm supports files up to 4 GB.
Do I need to instrument my app or supply source code?
Setting Up Tests & Remote Access Sessions
AWS Device Farm | Mobile Services
No instrumentation or source code is required to use the built-in tests. Android apps can be submitted as is. iOS apps should be built with “iOS Device” as the target instead of a simulator.
Do you store my app, tests, and other files on your servers? For how long?
Setting Up Tests & Remote Access Sessions
AWS Device Farm | Mobile Services
Apps and files you upload are automatically removed after 30 days. Test results, screenshots, and videos are stored for 15 months. You can also choose to delete files and results at any time through the AWS Device Farm console or API.
How do you clean up devices after my testing is completed?
Setting Up Tests & Remote Access Sessions
AWS Device Farm | Mobile Services
After test execution completes, we perform a series of cleanup tasks on each device, including uninstallation of your app. If we cannot verify uninstallation of your app or any of the other cleanup steps, the device will be removed and will no longer be available.
While we continue to add additional cleanup steps and improve the cleanup process, it is possible for data to persist between sessions in some cases, especially if you make use of the device system outside the context of your app. For this reason, and because AWS Device Farm captures video and logs of activity taking place during your use of each device, it is recommended that you avoid providing or entering sensitive information such as account info (E.g., Google Account, Apple ID), personal information, and other security-sensitive details during your automated test and remote access sessions.
Do you modify my app?
Setting Up for Direct Device Access for Xcode and Android Studio
AWS Device Farm | Mobile Services
On iOS, we replace the embedded provisioning profile with a wildcard profile and resign the app. If you provide it, we will add auxiliary data to the application package before installation so the data will be present in your app’s sandbox. Resigning the iOS app results in the removal of certain entitlements. This includes App Group, Associated Domains, Game Center, HealthKit, HomeKit, Wireless Accessory Configuration, In-App Purchase, Inter-App Audio, Apple Pay, Push Notifications, and VPN Configuration & Control.
On Android, we resign the app. This may break functionality that depends on the app signature, such as the Google Maps Android API. It may also trigger anti-piracy and anti-tamper detection available from products such as DexGuard. For built-in tests, we may modify the manifest to include permissions required to capture and save screenshots.
What is AWS Device Farm Direct Device Access?
Setting Up for Direct Device Access for Xcode and Android Studio
AWS Device Farm | Mobile Services
This feature allows developers to access their private fleet devices via their local host machines the same way they debug with real devices connected directly to the machines. On top of the ability for customers to perform the same tasks they do with real devices on Android Studio and Xcode today. Device Farm direct device access gives user the wide range selection of devices and OS versions. To learn more about private devices, please contact us.
Does it support both Android and iOS?
Setting Up for Direct Device Access for Xcode and Android Studio
AWS Device Farm | Mobile Services
Yes.
Do I need to additional software on my machine?
Setting Up for Direct Device Access for Xcode and Android Studio
AWS Device Farm | Mobile Services
Yes. You can down load the client software from one of the following locations.
Windows: https://s3-us-west-2.amazonaws.com/prod-us-west-2-system-resources/AWSDeviceFarmClient/AWS_Device_Farm.exe
MacOS: https://s3-us-west-2.amazonaws.com/prod-us-west-2-system-resources/AWSDeviceFarmClient/AWS_Device_Farm.dmg
For the full instructions for installation please read this documentation.
Can I connect to multiple Android devices from my local machine?
Setting Up for Direct Device Access for Xcode and Android Studio
AWS Device Farm | Mobile Services
Yes.
Does this work for public fleet of devices?
Setting Up for Direct Device Access for Xcode and Android Studio
AWS Device Farm | Mobile Services
No, at the moment, this feature is available for private fleets on AWS Device Farm. To get more information on private fleets: https://aws.amazon.com/device-farm/pricing/#privateDevices.
Can I debug and run on AWS Device Farm devices from Android Studio, Xcode, Chrome Developer Tools, Safari Web inspector?
Setting Up for Direct Device Access for Xcode and Android Studio
AWS Device Farm | Mobile Services
Yes.
What test frameworks are supported for Android devices ?
Setting Up for Direct Device Access for Xcode and Android Studio
AWS Device Farm | Mobile Services
Once you connect to Devices, you can run any framework of your choice.
Where can I find more information on this feature?
Selecting Devices
AWS Device Farm | Mobile Services
For the detail setup guide, please click here[insert production link]. To learn more about private devices, please contact us.
Which devices are available in AWS Device Farm? How do you select the devices in your fleet?
Selecting Devices
AWS Device Farm | Mobile Services
AWS Device Farm has a large (and growing) selection of Android, iOS, and Fire OS devices. We add popular new devices as they are released by manufacturers. We also add new devices as new OS versions are released. See the list of available devices.
Does AWS Device Farm have international devices from markets like Europe, China, and India?
Selecting Devices
AWS Device Farm | Mobile Services
We currently have international devices from India. We use market data and customer feedback to continuously update the fleet. If you would like to see a device that isn’t in our fleet, please let us know.
How do I select devices? Can I retest on the same device?
Selecting Devices
AWS Device Farm | Mobile Services
For Automated Testing, devices are selected through a collection called a device pool. Some curated device pools are provided automatically, but you can create your own pools, too. During execution, tests will be run against all devices in the specified pool that are compatible with your application and tests. For Remote Access, you select the desired device based on make, model, carrier variant, and operating system version. You can then optionally upload apps and other data as well as configure other device settings. Device Farm then locates an available device matching your request and displays the device’s display in your browser. You can then interact with the device and capture screenshots and video.
Are any apps pre-installed on AWS Device Farm test devices?
Selecting Devices
AWS Device Farm | Mobile Services
Yes, test devices will have a number of apps pre-installed by the device manufacturer or carrier.