20
© 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Trent Peterson, AWS Device Farm Nikhil Dabhade, AWS Device Farm February 14, 2017 Mobile App Testing with AWS Device Farm

Mobile App Testing with Espresso and AWS Device Farm

Embed Size (px)

Citation preview

© 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Trent Peterson, AWS Device FarmNikhil Dabhade, AWS Device Farm

February 14, 2017

Mobile App Testing with AWS Device Farm

AWS Device FarmTest native, hybrid, and web apps on real Android and iOS devices in the cloud

What to expect

§ Overview§ Background: Espresso Test Framework for Android§ Background: Espresso Test Recorder§ Walkthrough: Using Espresso Test Recorder to

record tests§ Running recorded tests on AWS Device Farm§ Q&A

Overview

§ Android and iOS (Native, hybrid, web)

§ Scale: 100s of unique physical devices, many instances

§ Integration: Jenkins, Android Studio, SDKs, CLI

§ Reports: Results, videos, screenshots, logs, performance

§ Flexibility: Manual and automated, many frameworks

§ Security: Full HW and SW isolation

Pricing

Unlimited testing starts at $250/month

or

Pay as you go at $0.17/device minute

Start today with 250 minutes for free!

Availability

§ Launched in July 2015§ AWS Device Farm is available to customers globally from

the US West (Oregon) region§ https://console.aws.amazon.com/

High level use cases

§ Test iterative changes during development§ Test cumulative builds (e.g. nightly) as part of continuous

integration§ Verify functionality prior to release§ Monitor released applications (e.g. canaries)§ Reproduce issues reported by analytics and end users

Espresso Test Framework for Android

§ Instrumentation APIs for writing UI tests for simulatinguser interactions within a single target app

§ Runs on devices running Android 2.3.3 (API level 10)or above

§ Automatic synchronization of test actions with the UI ofapplication under test

§ Works with AndroidJUnitRunner

Recording Espresso tests and running tests on Device Farm

§ Record tests using Espresso recorder§ Package generated tests using instructions in

documentation§ Upload app and test package to device farm

Walkthrough steps

Q & A

Service http://aws.amazon.com/device-farm/Samples https://github.com/awslabs?query=device-farmForum https://forums.aws.amazon.com/forum.jspa?forumID=193Contact us [email protected]