15
© 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

February 2016 Webinar Series - Automate Your App Tests with Appium and AWS Device Farm

Embed Size (px)

Citation preview

Page 1: February 2016 Webinar Series - Automate Your App Tests with Appium and AWS Device Farm

© 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

Page 2: February 2016 Webinar Series - 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

Page 3: February 2016 Webinar Series - Automate Your App Tests with Appium and AWS Device Farm

Overview of AWS Device FarmAutomated native, hybrid, and web app testing on real Android and iOS devices in the cloud

Page 4: February 2016 Webinar Series - Automate Your App Tests with Appium and AWS Device Farm

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

Page 5: February 2016 Webinar Series - Automate Your App Tests with Appium and AWS Device Farm

Pricing

$0.17 / device minute(First 250 minutes free)

or$250 / device slot / month

(First 250 minutes free)

Page 6: February 2016 Webinar Series - Automate Your App Tests with Appium and AWS Device Farm

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

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

Page 7: February 2016 Webinar Series - Automate Your App Tests with Appium and AWS Device Farm

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

Page 8: February 2016 Webinar Series - Automate Your App Tests with Appium and AWS Device Farm

Demo: Create and Run Appium Tests in Device Farm

Page 9: February 2016 Webinar Series - Automate Your App Tests with Appium and AWS 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

Page 10: February 2016 Webinar Series - Automate Your App Tests with Appium and AWS Device Farm

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

Page 11: February 2016 Webinar Series - Automate Your App Tests with Appium and AWS Device Farm

Demo: Continuous Integration with Appium, Jenkins, and Device Farm

Page 12: February 2016 Webinar Series - Automate Your App Tests with Appium and AWS Device Farm

Resources

AWS Device Farm Jenkins pluginhttps://github.com/awslabs/aws-device-farm-jenkins-plugin

Also available within the Jenkins plugin repository.

Page 13: February 2016 Webinar Series - Automate Your App Tests with Appium and AWS Device Farm

Review

Overview Demo: Create Appium Tests and run them in Device Farm Demo: Continuous Integration with Appium and Jenkins Review Questions

Page 14: February 2016 Webinar Series - Automate Your App Tests with Appium and AWS Device Farm

Thank you!

Page 15: February 2016 Webinar Series - Automate Your App Tests with Appium and AWS Device Farm

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