7 Keys for Unattended Test AUtomation webinar deck

28
5/13/2016 1 © 2016, Perfecto Mobile Ltd. All Rights Reserved. 7 key recommendations for building a solid test automation suite May 2016 Eran Kinsbruner Director, Tech. Evangelist Perfecto Uzi Eilon Technology Director Perfecto Daniel Knott Mobile Senior Test Engineer Xing AG

Transcript of 7 Keys for Unattended Test AUtomation webinar deck

Page 1: 7 Keys for Unattended Test AUtomation webinar deck

5/13/2016 1© 2016, Perfecto Mobile Ltd. All Rights Reserved.

7 key recommendations for building a solid test automation suiteMay 2016

Eran KinsbrunerDirector, Tech. Evangelist

PerfectoUzi Eilon

Technology DirectorPerfecto

Daniel KnottMobile Senior Test Engineer

Xing AG

Page 2: 7 Keys for Unattended Test AUtomation webinar deck

Some housekeeping before we start

5/13/2016 2© 2016, Perfecto Mobile Ltd. All Rights Reserved.

Submit questions using the Q&A panel. Participate in the polls.

Watch your email for a copy of the recording and slides. Complete the survey following the presentation.

Page 3: 7 Keys for Unattended Test AUtomation webinar deck

Webinar Agenda

5/13/2016 3© 2016, Perfecto Mobile Ltd. All Rights Reserved.

Mobile Test Automation Challenges Strategy for defining the right digital test coverage

Practices For Robust Test AutomationThe 7 Keys for Unattended Mobile Test Automation

Live Demo!Q & A

Page 4: 7 Keys for Unattended Test AUtomation webinar deck

5/13/2016 4© 2015, Perfecto Mobile Ltd. All Rights Reserved.

I SAIDI WAS FINE.

I LIED.

Page 5: 7 Keys for Unattended Test AUtomation webinar deck

Poll – Mobile Test Automation Challenges

5/13/2016 5© 2016, Perfecto Mobile Ltd. All Rights Reserved.

Page 6: 7 Keys for Unattended Test AUtomation webinar deck

Code / Test – Common Challenges

1) Execution of One script across platforms2) Automating build/deploy and acceptance testing during CI3) Test results analysis4) Object id Identification5) Does it work over time ?6) Maintenance of scripts and Objects7) Matching Dev/Testers skill set

Page 7: 7 Keys for Unattended Test AUtomation webinar deck

DevOps – challenges

Tools

Reports

Flows

Time Stability

False negatives

Collaboration

Page 8: 7 Keys for Unattended Test AUtomation webinar deck

The Test Coverage Conversation – What To Answer?Which Devices?Which OS Versions? How Many platforms are Enough?When Should I refresh my test lab?Who is in charge of coverage?

5/13/2016 8© 2016, Perfecto Mobile Ltd. All Rights Reserved.

Page 9: 7 Keys for Unattended Test AUtomation webinar deck

Mobile Test Coverage Method

Page 10: 7 Keys for Unattended Test AUtomation webinar deck

Recommended OS – Usage & Quality Rationale

Usage & Quality Issues

Wi-Fi IssuesBattery Drain

Latest REF Android OS

Page 11: 7 Keys for Unattended Test AUtomation webinar deck

WHY AUTOMATE?

Page 12: 7 Keys for Unattended Test AUtomation webinar deck

UIIntegrationUnit Testing

Performance Security

Digital Transformation Requires Changes Around Test Automation

Target Devices TargetEnv.OSOS versionsForm factorsCPU & MemoryManufacturersWearablesIOT

NetworksOrientationLocationNotificationsEventsDevice events

Page 13: 7 Keys for Unattended Test AUtomation webinar deck

Object Identification Is Key For Robust Automation

5/13/2016 13© 2016, Perfecto Mobile Ltd. All Rights Reserved.

• Selenium• Appium• XCTest• UIAutomation• Perfecto

• Abby OCR• Applitools• Perfecto

Page 14: 7 Keys for Unattended Test AUtomation webinar deck

Device/System Level Control is Critical

14

Page 15: 7 Keys for Unattended Test AUtomation webinar deck

Assure Proper Error Handling

15

System level control Application control

Device control

Page 16: 7 Keys for Unattended Test AUtomation webinar deck

3 Layers Involved In Test Automation Optimization

5/13/2016 16© 2016, Perfecto Mobile Ltd. All Rights Reserved.

App• Info.Plist (iOS)• Manifest.MF (Android)

Test Cases• Define Desired Capabilities

Device• Supports Feature• Doesn’t Support

Page 17: 7 Keys for Unattended Test AUtomation webinar deck

Facebook App Testing Diversity

5/13/2016 17© 2016, Perfecto Mobile Ltd. All Rights Reserved.

Test Scenario iPhone 6/iPhone 5S iPhone 6S/6S Plus iPad Tablets

Login YES YES YESWrite Post (FB UI) YES YES YESWrite Post (FB Force Touch) NO YES NOUpload Photo/Video(FB UI) YES YES YESUpload Photo/Video(FB Force Touch) NO YES NOTake Photo/Video(FB UI) YES YES YESTake Photo/Video(FB Force Touch) NO YES NO

Page 18: 7 Keys for Unattended Test AUtomation webinar deck

More Examples: Android Doze & Multi Window

5/13/2016 18© 2016, Perfecto Mobile Ltd. All Rights Reserved.

Android 6 and AboveAndroid N and Above

Page 19: 7 Keys for Unattended Test AUtomation webinar deck

Validate Feature Compliance & Test Accordingly

5/13/2016 19© 2016, Perfecto Mobile Ltd. All Rights Reserved.

IOS Developer LibraryINFO.PLIST

Page 20: 7 Keys for Unattended Test AUtomation webinar deck

7 Keys for Successful Unattended Automation and CI

5/13/2016 20© 2015, Perfecto Mobile Ltd. All Rights Reserved.

Start small & Grow Accept that not every test enters CI Debug & Debug Again across few platforms Make your script reusable

Validate within and between the tests Plan for unexpected events Keep channel between Engineering, Ops and Biz opened

Page 21: 7 Keys for Unattended Test AUtomation webinar deck

Zero Effort Automation Demo

Page 22: 7 Keys for Unattended Test AUtomation webinar deck

More Example

5/13/2016 22© 2016, Perfecto Mobile Ltd. All Rights Reserved.

Page 23: 7 Keys for Unattended Test AUtomation webinar deck

Smart Monkey Automation

5/13/2016 23© 2016, Perfecto Mobile Ltd. All Rights Reserved.

Page 24: 7 Keys for Unattended Test AUtomation webinar deck

Smart Monkey Automation

5/13/2016 24© 2016, Perfecto Mobile Ltd. All Rights Reserved.

Page 25: 7 Keys for Unattended Test AUtomation webinar deck

Webinar Agenda

5/13/2016 25© 2016, Perfecto Mobile Ltd. All Rights Reserved.

Mobile Test Automation Challenges Strategy for defining the right digital test coverage

Practices For Robust Test AutomationThe 7 Keys for Unattended Mobile Test Automation

Live Demo!Q & A

Page 26: 7 Keys for Unattended Test AUtomation webinar deck

Q & A

5/13/2016 26© 2016, Perfecto Mobile Ltd. All Rights Reserved.

Page 27: 7 Keys for Unattended Test AUtomation webinar deck

Special Offers to Webinar Attendees

5/13/2016 27© 2015, Perfecto Mobile Ltd. All Rights Reserved.

New Whitepaper – Early Release!The Ultimate Digital Test Coverage GuideContact Eran [email protected] to get your free copy!

Page 28: 7 Keys for Unattended Test AUtomation webinar deck

Thank You