AWS Device Farm Specialized2015年〜
A cloud testing service that lets you test applications on real mobile devices and browsers
What It Does
AWS Device Farm is a service that automates testing of mobile and web applications using real devices in the cloud. You can run tests in parallel on real Android and iOS smartphones and tablets, as well as desktop browsers (Chrome, Firefox, Edge). It integrates with automated test frameworks (Appium, Espresso, XCTest, etc.) and also offers remote access for manual device interaction. Test results include screenshots, videos, and logs to streamline issue reproduction and fixes.
Use Cases
It is used for automating multi-device compatibility testing of mobile apps, cross-browser testing of web applications, integrating device tests into CI/CD pipelines, verifying app compatibility with new OS versions, performance testing (CPU, memory, network usage measurement), and reproducing and investigating bugs on specific devices via remote access - covering all aspects of application quality assurance.
Everyday Analogy
Think of it like a rental screening studio. When you make a new movie (app), you want to check how it looks on various screens (devices), but buying every type of screen yourself is impractical. A rental studio (Device Farm) lets you borrow as many screens as you need for test screenings, and you can take recordings (test results) home with you.
What Is Device Farm?
AWS Device Farm is a cloud testing service for improving the quality of mobile and web applications. Mobile app development requires testing across a wide variety of devices, OS versions, and screen sizes, but maintaining a large inventory of physical devices is costly and labor-intensive. Device Farm provides access to real devices housed in AWS data centers via the cloud, dramatically speeding up quality verification through test automation and parallel execution.
Automated Testing and Framework Support
Device Farm supports major automated testing frameworks. For Android, it supports Appium, Espresso, and UI Automator. For iOS, it supports Appium, XCTest, and XCUITest. Upload your test suite and application package, and tests run in parallel across your selected device pool. Test results include per-device screenshots, video recordings, performance metrics (CPU, memory, network), and device logs to help you identify and fix issues efficiently. For more on automated testing and framework support, technical books on Amazon are also available.
Remote Access and CI/CD Integration
Device Farm's remote access feature lets you directly interact with real cloud devices from your browser. This is useful for reproducing bugs that only occur on specific devices and for manual exploratory testing. Sessions are recorded for later review. For CI/CD integration, you can automate test execution using the AWS CLI or API, triggering tests from tools like CodePipeline, Jenkins, or GitHub Actions.
Things to Watch Out For
- Available device models and OS versions are updated regularly, but the latest models may not be added immediately. Check device availability before planning your tests
- In addition to pay-per-minute pricing for automated tests, an unlimited monthly plan is also available. Choose the best plan based on your testing frequency