Upload
amazon-web-services
View
1.436
Download
0
Embed Size (px)
Citation preview
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Rohan Deshpande, Sr. Software Engineer
February 24, 2016
Automate Your App Tests with Appium and AWS Device Farm
Agenda
Overview Demo: Create Appium Tests and run them in Device Farm Demo: Continuous Integration with Appium and Jenkins Review Questions
Overview of AWS Device FarmAutomated native, hybrid, and web app testing on real Android and iOS devices in the cloud
AWS Device Farm
Android and iOS (Native, hybrid, web) Scale: 100s of unique physical devices, many instances Security: Full HW and SW isolation Flexibility: Support for many popular frameworks Reports: Results, screenshots, logs, performance Integration: Jenkins, Android Studio, SDKs, CLI Pay for what you use
Pricing
$0.17 / device minute(First 250 minutes free)
or$250 / device slot / month
(First 250 minutes 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
AWS Device Farm supports developers and QA teams as they: Develop their apps and test iterative changes 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 end users
Demo: Create and Run Appium Tests in Device Farm
Recommendations
Do not set DesiredCapabilities. Clear temporary files before packaging. Don’t kill the Appium session. Use screenshots to debug. http://docs.aws.amazon.com/devicefarm/latest/developer
guide/test-types-intro.html
Resources
Android sample apphttps://github.com/awslabs/aws-device-farm-sample-app-for-android
iOS sample apphttps://github.com/awslabs/aws-device-farm-sample-app-for-ios
Appium testshttps://github.com/awslabs/aws-device-farm-appium-tests-for-sample-app
Demo: Continuous Integration with Appium, Jenkins, and Device Farm
Resources
AWS Device Farm Jenkins pluginhttps://github.com/awslabs/aws-device-farm-jenkins-plugin
Also available within the Jenkins plugin repository.
Review
Overview Demo: Create Appium Tests and run them in Device Farm Demo: Continuous Integration with Appium and Jenkins Review Questions
Thank you!
AWS Summit – Chicago: An exciting, free cloud conference designed to educate and inform new customers about the AWS platform, best practices and new cloud services.
Details• April 18-19, 2016 • Chicago, Illinois• @ McCormick Place
Featuring• New product launches• 50+ sessions, labs, and bootcamps• Executive and partner networking
Register Now• Go to aws.amazon.com/summits• Click on The AWS Summit - Chicago … then register.• Come and see what AWS and the cloud can do for you.
Chicago – April 18-19