SlideShare a Scribd company logo
5/12/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
Webinar Agenda
5/12/2016 2© 2016, Perfecto Mobile Ltd. All Rights Reserved.
Mobile Test Automation Challenges
Strategy for defining the right digital test coverage
Practices For Robust Test Automation
The 7 Keys for Unattended Mobile Test Automation
Live Demo!
Q & A
5/12/2016 3© 2015, Perfecto Mobile Ltd. All Rights Reserved.
I SAID
I WAS FINE.
I LIED.
Poll – Mobile Test Automation Challenges
5/12/2016 4© 2016, Perfecto Mobile Ltd. All Rights Reserved.
Code / Test – Common Challenges
1) Execution of One script across platforms
2) Automating build/deploy and acceptance testing during CI
3) Test results analysis
4) Object id Identification
5) Does it work over time ?
6) Maintenance of scripts and Objects
7) Matching Dev/Testers skill set
DevOps – challenges
Tools
Reports
Flows
TimeStability
False
negatives
Collaboration
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/12/2016 7© 2016, Perfecto Mobile Ltd. All Rights Reserved.
Mobile Test Coverage Method
Recommended OS – Usage & Quality
Rationale
Usage &
Quality
Issues
Wi-Fi Issues
Battery Drain
Latest REF
Android OS
Recommendations
 Leverage market calendars and stay updated
 Refresh/Review your test lab once a quarter
 Beta versions are no longer an option
 Chrome, FireFox, iOS
 Leverage analytics but validate and calibrate using market trends
 Real user conditions extends your test coverage
 Assign an owner for digital test coverage but keep the conversation open to all
teams
 Mix your mobile test lab with the 4 device types
5/12/2016 10© 2015, Perfecto Mobile Ltd. All Rights Reserved.
WHY AUTOMATE?
UI
Integration
Unit Testing
Performance Security
Digital Transformation Requires Changes
Around Test Automation
Target
Devices
Target
Env.OS
OS versions
Form factors
CPU & Memory
Manufacturers
Wearables
IOT
Networks
Orientation
Location
Notifications
Events
Device events
Object Identification Is Key For Robust Automation
5/12/2016 13© 2016, Perfecto Mobile Ltd. All Rights Reserved.
• Selenium
• Appium
• XCTest
• UIAutomation
• Perfecto
• Abby OCR
• Applitools
• Perfecto
Device/System Level Control is Critical
14
Assure Proper Error Handling
15
System level control
Application control
Device control
3 Layers Involved In Test Automation Optimization
5/12/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
Facebook App Testing Diversity
5/12/2016 17© 2016, Perfecto Mobile Ltd. All Rights Reserved.
Test Scenario iPhone 6/iPhone 5S iPhone 6S/6S Plus iPad Tablets
Login
YES YES YES
Write Post (FB UI)
YES YES YES
Write Post
(FB Force Touch)
NO YES NO
Upload Photo/Video
(FB UI)
YES YES YES
Upload Photo/Video
(FB Force Touch)
NO YES NO
Take Photo/Video
(FB UI)
YES YES YES
Take Photo/Video
(FB Force Touch)
NO YES NO
More Examples: Android Doze & Multi Window
5/12/2016 18© 2016, Perfecto Mobile Ltd. All Rights Reserved.
Android 6 and Above
Android N and Above
Validate Feature Compliance & Test Accordingly
5/12/2016 19© 2016, Perfecto Mobile Ltd. All Rights Reserved.
IOS Developer Library
INFO.PLIST
7 Keys for Successful Unattended Automation and CI
5/12/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
Zero Effort Automation
Demo
More Example
5/12/2016 22© 2016, Perfecto Mobile Ltd. All Rights Reserved.
Smart Monkey Automation
5/12/2016 23© 2016, Perfecto Mobile Ltd. All Rights Reserved.
Smart Monkey Automation
5/12/2016 24© 2016, Perfecto Mobile Ltd. All Rights Reserved.
Webinar Agenda
5/12/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 Automation
The 7 Keys for Unattended Mobile Test Automation
Live Demo!
Q & A
Thank You

More Related Content

PPTX
Testing Mobile Apps under Real User Conditions
PPTX
Why Apps Succeed: 4 Keys to Winning the Digital Quality Game
PPTX
3 Free Tools That Will Help You Create the Right Mobile & Web Test Strategy
PDF
7 Keys for Unattended Test AUtomation webinar deck
PPTX
How to Test on the Right Mobile Platforms
PPTX
Selenium Automation Like You’ve Never Seen!
PPTX
Mobile App Quality Roadmap for DevTest Teams
PPTX
Responsive Web Design: Testing to Deliver a Consistent User Experience
Testing Mobile Apps under Real User Conditions
Why Apps Succeed: 4 Keys to Winning the Digital Quality Game
3 Free Tools That Will Help You Create the Right Mobile & Web Test Strategy
7 Keys for Unattended Test AUtomation webinar deck
How to Test on the Right Mobile Platforms
Selenium Automation Like You’ve Never Seen!
Mobile App Quality Roadmap for DevTest Teams
Responsive Web Design: Testing to Deliver a Consistent User Experience

What's hot (20)

PDF
Cross Platform Mobile Test Automation using Selenium WebDriver by Perfecto Mo...
PPTX
Mobile DevTest Dictionary
PPTX
Why Apps Succeed: 4 Keys to Winning the Digital Quality Game
PDF
iOS9 Launch - Mobile Dev & Test Implications
PPTX
Mobile and Web App Testing for Visual Studio Teams
PDF
Meetup kickoff slides - Perfecto Mobile, September 2014
PPTX
How to Prevent App Failures with Real User Conditions
PDF
Boston meetup blaze_meter_feb2017
PDF
Continuous Quality For a 5 Star Mobile Apps Delivery
PDF
The ultimate guide to mobile app testing with appium
PPTX
Virgin Media's Mobile Quality Transformation
PPTX
Mobile test automation perfecto star east
PPT
Achieving a Winning Digital User Experience with Real World Testing
PPTX
A Data-Driven Approach to Testing the Right Devices, Platforms, and User Cond...
PPTX
How Digital Changed the Game... and how to cross platform test for it
PPTX
Get More out of Appium
PDF
Achieving 100% mobile test coverage perfecto mobile
POT
Mobile Test Coverage- Israel 4th meetup
PDF
Webinar learn how to test any mobile app style from within eclipse using real...
PPTX
What's New with Perfecto? - Mid-Year Edition
Cross Platform Mobile Test Automation using Selenium WebDriver by Perfecto Mo...
Mobile DevTest Dictionary
Why Apps Succeed: 4 Keys to Winning the Digital Quality Game
iOS9 Launch - Mobile Dev & Test Implications
Mobile and Web App Testing for Visual Studio Teams
Meetup kickoff slides - Perfecto Mobile, September 2014
How to Prevent App Failures with Real User Conditions
Boston meetup blaze_meter_feb2017
Continuous Quality For a 5 Star Mobile Apps Delivery
The ultimate guide to mobile app testing with appium
Virgin Media's Mobile Quality Transformation
Mobile test automation perfecto star east
Achieving a Winning Digital User Experience with Real World Testing
A Data-Driven Approach to Testing the Right Devices, Platforms, and User Cond...
How Digital Changed the Game... and how to cross platform test for it
Get More out of Appium
Achieving 100% mobile test coverage perfecto mobile
Mobile Test Coverage- Israel 4th meetup
Webinar learn how to test any mobile app style from within eclipse using real...
What's New with Perfecto? - Mid-Year Edition

Similar to Overcoming Test Automation Obstacles (20)

PDF
Automation challenges - 121 Test Automation Event boston
PDF
Quest2018 erank optimize test automation
PPTX
End the Guesswork: How to Test the Right Devices, Platforms & User Conditions
PPTX
Webinar: Appium & Perfecto: A Perfect Match
PPTX
Raleigh User Forum Presentation
PDF
How to Create a Risk Based Testing Strategy With Simulators, Emulators, and R...
PPTX
Advanced Strategies for Testing Responsive Web
DOC
Siva Sharan P Resume
PDF
Mobile Testing Tools 101
PDF
[Binh nguyen] Mobile Application Automation Testing iOS and Android
PDF
Testing and Debugging Flutter Apps: A Comprehensive Approach
PPT
Expert Days: The VP R&D Open Seminar: Project Management
PPTX
Automate More with Selenium for your RWD
PDF
Mapping mobileandweblandscape motb
PDF
Ensuring Maximum Quality in the Era of IoT and Wearables
PPT
Mobile Monitoring Best Practices
PDF
Mobile test automation overview & tools evaluation
PPTX
Launch Better Apps, Faster - Perfecto & Orasi Joint Webinar Sldies
DOCX
The Journey of Test Automation
PDF
Top 4 Popular Android Test Automation Frameworks During an Economic Downturn.pdf
Automation challenges - 121 Test Automation Event boston
Quest2018 erank optimize test automation
End the Guesswork: How to Test the Right Devices, Platforms & User Conditions
Webinar: Appium & Perfecto: A Perfect Match
Raleigh User Forum Presentation
How to Create a Risk Based Testing Strategy With Simulators, Emulators, and R...
Advanced Strategies for Testing Responsive Web
Siva Sharan P Resume
Mobile Testing Tools 101
[Binh nguyen] Mobile Application Automation Testing iOS and Android
Testing and Debugging Flutter Apps: A Comprehensive Approach
Expert Days: The VP R&D Open Seminar: Project Management
Automate More with Selenium for your RWD
Mapping mobileandweblandscape motb
Ensuring Maximum Quality in the Era of IoT and Wearables
Mobile Monitoring Best Practices
Mobile test automation overview & tools evaluation
Launch Better Apps, Faster - Perfecto & Orasi Joint Webinar Sldies
The Journey of Test Automation
Top 4 Popular Android Test Automation Frameworks During an Economic Downturn.pdf

More from Perfecto by Perforce (20)

PDF
Is BDD Worth It? Considerations for Advanced Test Automation
PDF
Yoda debunks the top 5 challenges of continuous testing in the cloud
PDF
5 Mobile App Trends & What They Mean for Dev & Testing
PDF
How to Scale Digital App Testing With Jenkins & Automation You Can Trust
PDF
Mastering Cross-Browser Test Automation With Cypress and Selenium
PDF
Cloud Testing Has Never Been Easier or More Accessible
PDF
Cognitive Engineering - Shifting Right with Gated.AI Testing - DevOps Next
PDF
The Rise and Benefits of Robotic Process Automation (RPA) - DevOps Next
PDF
The New Categories of Software Defects in the Era of AI and ML - DevOps Next
PDF
Moving to Modern DevOps with Fuzzing and ML - DevOps Next
PDF
Leveraging AI and ML in Test Management Systems - DevOps Next
PDF
How Does AIOps Benefit DevOps Pipeline and Software Quality? - DevOps Next
PDF
Classification of Advanced AI and ML Testing Tools - DevOps Next
PDF
Automated Code Reviews with AI and ML - DevOps Next
PDF
Advancing the State of The Art in AI and Testing - DevOps Next
PDF
How to Prepare Your Apps for iOS 14 - Test Strategy, Coverage, & Best Practices
PPTX
Fast Data, Fast Delivery: How Smart Analysis Accelerates App Testing
PDF
Best Practices for Shifting Left Performance and Accessibility Testing
PDF
Deliver Flawless Mobile Apps Faster with CI/CD & CT
PPTX
How to Eliminate Escaped Defects With a Proven Test Automation Coverage Strategy
Is BDD Worth It? Considerations for Advanced Test Automation
Yoda debunks the top 5 challenges of continuous testing in the cloud
5 Mobile App Trends & What They Mean for Dev & Testing
How to Scale Digital App Testing With Jenkins & Automation You Can Trust
Mastering Cross-Browser Test Automation With Cypress and Selenium
Cloud Testing Has Never Been Easier or More Accessible
Cognitive Engineering - Shifting Right with Gated.AI Testing - DevOps Next
The Rise and Benefits of Robotic Process Automation (RPA) - DevOps Next
The New Categories of Software Defects in the Era of AI and ML - DevOps Next
Moving to Modern DevOps with Fuzzing and ML - DevOps Next
Leveraging AI and ML in Test Management Systems - DevOps Next
How Does AIOps Benefit DevOps Pipeline and Software Quality? - DevOps Next
Classification of Advanced AI and ML Testing Tools - DevOps Next
Automated Code Reviews with AI and ML - DevOps Next
Advancing the State of The Art in AI and Testing - DevOps Next
How to Prepare Your Apps for iOS 14 - Test Strategy, Coverage, & Best Practices
Fast Data, Fast Delivery: How Smart Analysis Accelerates App Testing
Best Practices for Shifting Left Performance and Accessibility Testing
Deliver Flawless Mobile Apps Faster with CI/CD & CT
How to Eliminate Escaped Defects With a Proven Test Automation Coverage Strategy

Overcoming Test Automation Obstacles

  • 1. 5/12/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
  • 2. Webinar Agenda 5/12/2016 2© 2016, Perfecto Mobile Ltd. All Rights Reserved. Mobile Test Automation Challenges Strategy for defining the right digital test coverage Practices For Robust Test Automation The 7 Keys for Unattended Mobile Test Automation Live Demo! Q & A
  • 3. 5/12/2016 3© 2015, Perfecto Mobile Ltd. All Rights Reserved. I SAID I WAS FINE. I LIED.
  • 4. Poll – Mobile Test Automation Challenges 5/12/2016 4© 2016, Perfecto Mobile Ltd. All Rights Reserved.
  • 5. Code / Test – Common Challenges 1) Execution of One script across platforms 2) Automating build/deploy and acceptance testing during CI 3) Test results analysis 4) Object id Identification 5) Does it work over time ? 6) Maintenance of scripts and Objects 7) Matching Dev/Testers skill set
  • 7. 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/12/2016 7© 2016, Perfecto Mobile Ltd. All Rights Reserved.
  • 9. Recommended OS – Usage & Quality Rationale Usage & Quality Issues Wi-Fi Issues Battery Drain Latest REF Android OS
  • 10. Recommendations  Leverage market calendars and stay updated  Refresh/Review your test lab once a quarter  Beta versions are no longer an option  Chrome, FireFox, iOS  Leverage analytics but validate and calibrate using market trends  Real user conditions extends your test coverage  Assign an owner for digital test coverage but keep the conversation open to all teams  Mix your mobile test lab with the 4 device types 5/12/2016 10© 2015, Perfecto Mobile Ltd. All Rights Reserved.
  • 12. UI Integration Unit Testing Performance Security Digital Transformation Requires Changes Around Test Automation Target Devices Target Env.OS OS versions Form factors CPU & Memory Manufacturers Wearables IOT Networks Orientation Location Notifications Events Device events
  • 13. Object Identification Is Key For Robust Automation 5/12/2016 13© 2016, Perfecto Mobile Ltd. All Rights Reserved. • Selenium • Appium • XCTest • UIAutomation • Perfecto • Abby OCR • Applitools • Perfecto
  • 14. Device/System Level Control is Critical 14
  • 15. Assure Proper Error Handling 15 System level control Application control Device control
  • 16. 3 Layers Involved In Test Automation Optimization 5/12/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
  • 17. Facebook App Testing Diversity 5/12/2016 17© 2016, Perfecto Mobile Ltd. All Rights Reserved. Test Scenario iPhone 6/iPhone 5S iPhone 6S/6S Plus iPad Tablets Login YES YES YES Write Post (FB UI) YES YES YES Write Post (FB Force Touch) NO YES NO Upload Photo/Video (FB UI) YES YES YES Upload Photo/Video (FB Force Touch) NO YES NO Take Photo/Video (FB UI) YES YES YES Take Photo/Video (FB Force Touch) NO YES NO
  • 18. More Examples: Android Doze & Multi Window 5/12/2016 18© 2016, Perfecto Mobile Ltd. All Rights Reserved. Android 6 and Above Android N and Above
  • 19. Validate Feature Compliance & Test Accordingly 5/12/2016 19© 2016, Perfecto Mobile Ltd. All Rights Reserved. IOS Developer Library INFO.PLIST
  • 20. 7 Keys for Successful Unattended Automation and CI 5/12/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
  • 22. More Example 5/12/2016 22© 2016, Perfecto Mobile Ltd. All Rights Reserved.
  • 23. Smart Monkey Automation 5/12/2016 23© 2016, Perfecto Mobile Ltd. All Rights Reserved.
  • 24. Smart Monkey Automation 5/12/2016 24© 2016, Perfecto Mobile Ltd. All Rights Reserved.
  • 25. Webinar Agenda 5/12/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 Automation The 7 Keys for Unattended Mobile Test Automation Live Demo! Q & A

Editor's Notes

  • #7: nn
  • #10: http://news.softpedia.com/news/how-android-5-1-1-ruined-samsung-galaxy-s6-s-sheer-perfection-486645.shtml
  • #19: http://developer.android.com/training/monitoring-device-state/doze-standby.html#testing_doze_and_app_standby