SlideShare ist ein Scribd-Unternehmen logo
1 von 25
Downloaden Sie, um offline zu lesen
Optimize Your Mobile Test Automation
© 2015, Perfecto Mobile Ltd. All Rights Reserved.
Eran Kinsbruner
@ek121268, http://continuoustesting.blog
About Me
• Lead Technical Evangelist at Perfecto
• Blogger and Speaker
• http://continuoustesting.blog
• https://www.infoworld.com/author/Eran-
Kinsbruner/
• 18+ Years in Development & Testing
• Author of The Digital Quality Handbook
Weekly Podcast - Testiumpod
To get your copy of the book, come by the Perfecto Booth
Agenda
• DevOps Transformation & Trends
• 3 Topics on Optimizing Mobile Test Automation
• The Device/OS/Test Debate
• Optimization Techniques
• RTDD for Test Automation Optimization
• Mobile Testing Landscape
• Q & A
+
DevOps == Continuous Everything
5/29/2018 4© 2015, Perfecto Mobile Ltd. All Rights Reserved.
Credit: TestingWhiz
Digital is breaking new grounds
Drop of 32% in branch visits in last 4 years
Chatbots as the new Digital
Interface - everywhere
$380B industry by 2024 (26% CAGR)
Face ID Authentication
AR As a Digital Engagement
Enabler
The Rise of PWAs – Challenging Native Mobile Apps
A Progressive Web App is
• Progressive - Works for every user
• Responsive - Fits any form factor
• Connectivity independent
• App-like - Feels like an app
• Fresh - Always up-to-date
• Safe - Served via HTTPS
• Discoverable -allowing search engines to find it.
• Re-engageable -Support push notifications.
• Installable
• Linkable - does not require complex installation (store
access)
5/29/2018 6© 2015, Perfecto Mobile Ltd. All Rights Reserved.
Source :medium.com
Optimizing Test Automation
© 2015, Perfecto Mobile Ltd. All Rights Reserved.
3 Layers Involved In Test Automation Optimization
5/29/2018 8© 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
• Resource
Consumption
Generic Login Into Apps on iOS - Testing Diversity
Test Scenario Apple iPhone X Apple iPhone
7/8
Apple iPhone
5C
iPad Air 2/
iPad Mini 3
Apple iPad
Mini/iPad 2
Login Using a
User/Password
YES YES YES YES YES
Login Using Fingerprint NO YES NO YES NO
Login Using Face-ID YES NO NO NO NO
Android Doze & Multi Window Support
5/29/2018 10© 2016, Perfecto Mobile Ltd. All Rights Reserved.
Android 6 and Above
Android N and Above
Test Development Strategy – Solutions
- Test Suite Planning (Easy Path) – Common Denominator
- Test code reusability using common supported methods (e.g. Login using User/PW) across all scenarios
- Unique device features tested outside of the regression on the relevant devices
- Work with your Dev team to develop Deep Links bypassing the Login Screen (Appium)
- Leverage mobile OS property files (More Complex)
- Scan and direct test code accordingly (Manifest.MF, Info.Plist)
- Lab setup based on device capabilities (divide execution files e.g. testNG according to device buckets)
5/29/2018 11© 2016, Perfecto Mobile Ltd. All Rights Reserved.
Automate Via Risk Based Approach
5/29/2018 12© 2015, Perfecto Mobile Ltd. All Rights Reserved.
Source: Fred Beringer, Shutterfly
Validate Feature Compliance & Test Accordingly
5/29/2018 13© 2016, Perfecto Mobile Ltd. All Rights Reserved.
IOS Developer Library
INFO.PLIST
Appium Deep Links
5/29/2018 14© 2015, Perfecto Mobile Ltd. All Rights Reserved.
Code Sample: GIT
Device Cloud Selection Based on Supported Caps
5/29/2018 15© 2015, Perfecto Mobile Ltd. All Rights Reserved.
Code Sample: Perfecto Blog
Device Cloud Selection Based on Supported Caps
5/29/2018 16© 2015, Perfecto Mobile Ltd. All Rights Reserved.
Code Sample: Perfecto Blog
Optimizing Test Automation Analysis - RTDD
© 2015, Perfecto Mobile Ltd. All Rights Reserved.
Tagging Isn’t New
5/29/2018 19© 2015, Perfecto Mobile Ltd. All Rights Reserved.
Introducing RTDD (Reporting Test Driven Design)
RTDD Is a method that enables teams to design quality with the debugging and insight in
mind (context based).
Among the key benefits of RTDD are
1) Structured quality dashboard that can be sliced and diced by various persona’s
2) Fast MTTR of defects unrelated to the test suite size
3) Reliable and much more stable test suite (less flaky tests)
4) Low risk Go/No-Go decision due to a data-driven dashboard and quality artifacts
5/29/2018 20© 2015, Perfecto Mobile Ltd. All Rights Reserved.
Implementation Basics
5/29/2018 21© 2015, Perfecto Mobile Ltd. All Rights Reserved.
• Structured test authoring via SDK
• stepStart()
• stepEnd()
• testStep()
• testStop()
• Context based Tagging (“regression”)
• withJob()
http://developers.perfectomobile.com/display/PD/Java
Benefits of Tagging Strategy
5/29/2018 22© 2016, Perfecto Mobile Ltd. All Rights Reserved.
Logical Steps (incl. BDD support) Tags
Heat Map Based on Tags
Fast Quality Analysis/On-Demand Status
Context and Tags Drive Distribution for Analysis
For quality drill down and triaging process
CI Dashboard Enables Build Trending And Overall Quality History Visibility
5/29/2018 23© 2015, Perfecto Mobile Ltd. All Rights Reserved.
Mobile Testing Landscape
Criteria Appium Espresso XCUITests
Language any Java swift/objective-C
By Open source google Apple
App supported APK and IPA APK IPA
Code required No yes yes
Testtype Black box White box White box
Speed 8t t 2t
Setup Hard Easy Medium
CI medium easy Hard
Flakiness of test very low Low
Object Locators Xpath (external) Id (from R file) id
Used by QA Android dev* iOS dev*
Thank You
Eran Kinsbruner
@ek121268
erank@perfectomobile.com
http://continuoustesting.blog
© 2015, Perfecto Mobile Ltd. All Rights Reserved.

Weitere ähnliche Inhalte

Was ist angesagt?

Hp perfecto webinar - UFT Mobile
Hp perfecto webinar - UFT MobileHp perfecto webinar - UFT Mobile
Hp perfecto webinar - UFT Mobile
Perfecto Mobile
 
Checklist for andriod app testing.
Checklist for andriod app testing.Checklist for andriod app testing.
Checklist for andriod app testing.
TestOrigen Software Services Pvt. Ltd.
 
2013 01 22 testing strategies for e commerce and social apps
2013 01 22   testing strategies for e commerce and social apps2013 01 22   testing strategies for e commerce and social apps
2013 01 22 testing strategies for e commerce and social apps
Cygnet Infotech
 
Nidhi_Resume_23-11-2015
Nidhi_Resume_23-11-2015Nidhi_Resume_23-11-2015
Nidhi_Resume_23-11-2015
Nidhi sharma
 
Mobile App Testing
Mobile App TestingMobile App Testing
Mobile App Testing
Duy Tan Geek
 

Was ist angesagt? (20)

Mobile App Quality Roadmap for DevTest Teams
Mobile App Quality Roadmap for DevTest TeamsMobile App Quality Roadmap for DevTest Teams
Mobile App Quality Roadmap for DevTest Teams
 
How to Prevent App Failures with Real User Conditions
How to Prevent App Failures with Real User ConditionsHow to Prevent App Failures with Real User Conditions
How to Prevent App Failures with Real User Conditions
 
How to Create a Risk Based Testing Strategy With Simulators, Emulators, and R...
How to Create a Risk Based Testing Strategy With Simulators, Emulators, and R...How to Create a Risk Based Testing Strategy With Simulators, Emulators, and R...
How to Create a Risk Based Testing Strategy With Simulators, Emulators, and R...
 
T Bytes Agile & AI Operations
T Bytes Agile & AI OperationsT Bytes Agile & AI Operations
T Bytes Agile & AI Operations
 
Hp perfecto webinar - UFT Mobile
Hp perfecto webinar - UFT MobileHp perfecto webinar - UFT Mobile
Hp perfecto webinar - UFT Mobile
 
Everything You Need to Know About Testing Foldable Phones
Everything You Need to Know About Testing Foldable PhonesEverything You Need to Know About Testing Foldable Phones
Everything You Need to Know About Testing Foldable Phones
 
Checklist for andriod app testing.
Checklist for andriod app testing.Checklist for andriod app testing.
Checklist for andriod app testing.
 
Top 10 mobile app testing interview questions
Top 10 mobile app testing interview questionsTop 10 mobile app testing interview questions
Top 10 mobile app testing interview questions
 
TechTalk: Wind Tunnel, Personas, and Testing Real UX
TechTalk: Wind Tunnel, Personas, and Testing Real UXTechTalk: Wind Tunnel, Personas, and Testing Real UX
TechTalk: Wind Tunnel, Personas, and Testing Real UX
 
A Good Software Product What and How - Part1
A Good Software Product What and How - Part1A Good Software Product What and How - Part1
A Good Software Product What and How - Part1
 
Testing
TestingTesting
Testing
 
Advanced Techniques for Testing Responsive Apps and Sites -- By Aakrit Prasad
 Advanced Techniques for Testing Responsive Apps and Sites -- By Aakrit Prasad Advanced Techniques for Testing Responsive Apps and Sites -- By Aakrit Prasad
Advanced Techniques for Testing Responsive Apps and Sites -- By Aakrit Prasad
 
Ecommerce Website Testing Checklist
Ecommerce Website Testing ChecklistEcommerce Website Testing Checklist
Ecommerce Website Testing Checklist
 
How to Scale Mobile Testing Across Several Teams
How to Scale Mobile Testing Across Several TeamsHow to Scale Mobile Testing Across Several Teams
How to Scale Mobile Testing Across Several Teams
 
Types of Software Testing | Edureka
Types of Software Testing | EdurekaTypes of Software Testing | Edureka
Types of Software Testing | Edureka
 
2013 01 22 testing strategies for e commerce and social apps
2013 01 22   testing strategies for e commerce and social apps2013 01 22   testing strategies for e commerce and social apps
2013 01 22 testing strategies for e commerce and social apps
 
7 mobile app usability testing best practices by UserTesting
7 mobile app usability testing best practices by UserTesting7 mobile app usability testing best practices by UserTesting
7 mobile app usability testing best practices by UserTesting
 
Nidhi_Resume_23-11-2015
Nidhi_Resume_23-11-2015Nidhi_Resume_23-11-2015
Nidhi_Resume_23-11-2015
 
Mobile Application Testing Strategy
Mobile Application Testing StrategyMobile Application Testing Strategy
Mobile Application Testing Strategy
 
Mobile App Testing
Mobile App TestingMobile App Testing
Mobile App Testing
 

Ähnlich wie Quest2018 erank optimize test automation

Siva Sharan P Resume
Siva Sharan P ResumeSiva Sharan P Resume
Siva Sharan P Resume
Pinupolu Siva
 
Anshika Sinha_CV 16Dec2015
Anshika Sinha_CV 16Dec2015Anshika Sinha_CV 16Dec2015
Anshika Sinha_CV 16Dec2015
Anshika Sinha
 
Achieving 100% mobile test coverage perfecto mobile
Achieving 100% mobile test coverage perfecto mobileAchieving 100% mobile test coverage perfecto mobile
Achieving 100% mobile test coverage perfecto mobile
Perfecto Mobile
 

Ähnlich wie Quest2018 erank optimize test automation (20)

Raleigh User Forum Presentation
Raleigh User Forum PresentationRaleigh User Forum Presentation
Raleigh User Forum Presentation
 
Top 5 Automation Challenges Webinar
Top 5 Automation Challenges WebinarTop 5 Automation Challenges Webinar
Top 5 Automation Challenges Webinar
 
Creating a successful continuous testing environment by Eran Kinsbruner
Creating a successful continuous testing environment by Eran KinsbrunerCreating a successful continuous testing environment by Eran Kinsbruner
Creating a successful continuous testing environment by Eran Kinsbruner
 
Madhusmita mohanty_MohantyCV
Madhusmita mohanty_MohantyCVMadhusmita mohanty_MohantyCV
Madhusmita mohanty_MohantyCV
 
Automate More with Selenium for your RWD
Automate More with Selenium for your RWDAutomate More with Selenium for your RWD
Automate More with Selenium for your RWD
 
Siva Sharan P Resume
Siva Sharan P ResumeSiva Sharan P Resume
Siva Sharan P Resume
 
Overcoming Test Automation Obstacles
Overcoming Test Automation ObstaclesOvercoming Test Automation Obstacles
Overcoming Test Automation Obstacles
 
Cross browser testing
Cross browser testingCross browser testing
Cross browser testing
 
Mobile Monitoring Best Practices
Mobile Monitoring Best PracticesMobile Monitoring Best Practices
Mobile Monitoring Best Practices
 
Mapping mobileandweblandscape motb
Mapping mobileandweblandscape motbMapping mobileandweblandscape motb
Mapping mobileandweblandscape motb
 
Selenium conf india pwa 2018
Selenium conf india pwa 2018Selenium conf india pwa 2018
Selenium conf india pwa 2018
 
Anshika Sinha_CV 16Dec2015
Anshika Sinha_CV 16Dec2015Anshika Sinha_CV 16Dec2015
Anshika Sinha_CV 16Dec2015
 
Kasi Viswanath
Kasi ViswanathKasi Viswanath
Kasi Viswanath
 
Indira_Latest
Indira_LatestIndira_Latest
Indira_Latest
 
Resume 2
Resume 2Resume 2
Resume 2
 
Achieving 100% mobile test coverage perfecto mobile
Achieving 100% mobile test coverage perfecto mobileAchieving 100% mobile test coverage perfecto mobile
Achieving 100% mobile test coverage perfecto mobile
 
Amalgamation of BDD, parallel execution and mobile automation
Amalgamation of BDD, parallel execution and mobile automationAmalgamation of BDD, parallel execution and mobile automation
Amalgamation of BDD, parallel execution and mobile automation
 
Advanced Strategies for Testing Responsive Web
Advanced Strategies for Testing Responsive WebAdvanced Strategies for Testing Responsive Web
Advanced Strategies for Testing Responsive Web
 
Proven strategy for testing pw as aus-agile_testers
Proven strategy for testing pw as aus-agile_testersProven strategy for testing pw as aus-agile_testers
Proven strategy for testing pw as aus-agile_testers
 
How To Sell Into Insurance with Perfecto
How To Sell Into Insurance with PerfectoHow To Sell Into Insurance with Perfecto
How To Sell Into Insurance with Perfecto
 

Mehr von Perfecto Mobile

Discover financial presentation
Discover financial presentationDiscover financial presentation
Discover financial presentation
Perfecto Mobile
 
Webinar learn how to test any mobile app style from within eclipse using real...
Webinar learn how to test any mobile app style from within eclipse using real...Webinar learn how to test any mobile app style from within eclipse using real...
Webinar learn how to test any mobile app style from within eclipse using real...
Perfecto Mobile
 
Webinar mobile performance_best_practices
Webinar mobile performance_best_practicesWebinar mobile performance_best_practices
Webinar mobile performance_best_practices
Perfecto Mobile
 

Mehr von Perfecto Mobile (20)

QA or the Highway 2022.pptx
QA or the Highway 2022.pptxQA or the Highway 2022.pptx
QA or the Highway 2022.pptx
 
Maturing your path toward DevOps with Continuous Testing
Maturing your path toward DevOps with Continuous TestingMaturing your path toward DevOps with Continuous Testing
Maturing your path toward DevOps with Continuous Testing
 
Shorten Business Life Cycle Using DevOps
Shorten Business Life Cycle Using DevOpsShorten Business Life Cycle Using DevOps
Shorten Business Life Cycle Using DevOps
 
Online testconf event rwd and pwa 2018
Online testconf event rwd and pwa 2018Online testconf event rwd and pwa 2018
Online testconf event rwd and pwa 2018
 
Optimizing Test Coverage throughout the DevOps Pipeline
Optimizing Test Coverage throughout the DevOps PipelineOptimizing Test Coverage throughout the DevOps Pipeline
Optimizing Test Coverage throughout the DevOps Pipeline
 
Mastering BDD - Eran Kinsbruner Workshop Quest 2018
Mastering BDD - Eran Kinsbruner Workshop Quest 2018Mastering BDD - Eran Kinsbruner Workshop Quest 2018
Mastering BDD - Eran Kinsbruner Workshop Quest 2018
 
5 Stages of Digital Quality Maturity
5 Stages of Digital Quality Maturity5 Stages of Digital Quality Maturity
5 Stages of Digital Quality Maturity
 
Testing Next Generation Digital Interfaces
Testing Next Generation Digital InterfacesTesting Next Generation Digital Interfaces
Testing Next Generation Digital Interfaces
 
Boston meetup blaze_meter_feb2017
Boston meetup blaze_meter_feb2017Boston meetup blaze_meter_feb2017
Boston meetup blaze_meter_feb2017
 
7 Keys for Unattended Test AUtomation webinar deck
7 Keys for Unattended Test AUtomation webinar deck7 Keys for Unattended Test AUtomation webinar deck
7 Keys for Unattended Test AUtomation webinar deck
 
iOS9 Launch - Mobile Dev & Test Implications
iOS9 Launch - Mobile Dev & Test ImplicationsiOS9 Launch - Mobile Dev & Test Implications
iOS9 Launch - Mobile Dev & Test Implications
 
Mobile Test Coverage- Israel 4th meetup
Mobile Test Coverage- Israel 4th meetupMobile Test Coverage- Israel 4th meetup
Mobile Test Coverage- Israel 4th meetup
 
Mobile test automation perfecto star east
Mobile test automation perfecto star eastMobile test automation perfecto star east
Mobile test automation perfecto star east
 
Wearables meetup
Wearables meetupWearables meetup
Wearables meetup
 
Juc oct 2014 final
Juc oct 2014 finalJuc oct 2014 final
Juc oct 2014 final
 
Meetup kickoff slides - Perfecto Mobile, September 2014
Meetup kickoff slides - Perfecto Mobile, September 2014Meetup kickoff slides - Perfecto Mobile, September 2014
Meetup kickoff slides - Perfecto Mobile, September 2014
 
Cross Platform Mobile Test Automation using Selenium WebDriver by Perfecto Mo...
Cross Platform Mobile Test Automation using Selenium WebDriver by Perfecto Mo...Cross Platform Mobile Test Automation using Selenium WebDriver by Perfecto Mo...
Cross Platform Mobile Test Automation using Selenium WebDriver by Perfecto Mo...
 
Discover financial presentation
Discover financial presentationDiscover financial presentation
Discover financial presentation
 
Webinar learn how to test any mobile app style from within eclipse using real...
Webinar learn how to test any mobile app style from within eclipse using real...Webinar learn how to test any mobile app style from within eclipse using real...
Webinar learn how to test any mobile app style from within eclipse using real...
 
Webinar mobile performance_best_practices
Webinar mobile performance_best_practicesWebinar mobile performance_best_practices
Webinar mobile performance_best_practices
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 

Quest2018 erank optimize test automation

  • 1. Optimize Your Mobile Test Automation © 2015, Perfecto Mobile Ltd. All Rights Reserved. Eran Kinsbruner @ek121268, http://continuoustesting.blog
  • 2. About Me • Lead Technical Evangelist at Perfecto • Blogger and Speaker • http://continuoustesting.blog • https://www.infoworld.com/author/Eran- Kinsbruner/ • 18+ Years in Development & Testing • Author of The Digital Quality Handbook Weekly Podcast - Testiumpod To get your copy of the book, come by the Perfecto Booth
  • 3. Agenda • DevOps Transformation & Trends • 3 Topics on Optimizing Mobile Test Automation • The Device/OS/Test Debate • Optimization Techniques • RTDD for Test Automation Optimization • Mobile Testing Landscape • Q & A +
  • 4. DevOps == Continuous Everything 5/29/2018 4© 2015, Perfecto Mobile Ltd. All Rights Reserved. Credit: TestingWhiz
  • 5. Digital is breaking new grounds Drop of 32% in branch visits in last 4 years Chatbots as the new Digital Interface - everywhere $380B industry by 2024 (26% CAGR) Face ID Authentication AR As a Digital Engagement Enabler
  • 6. The Rise of PWAs – Challenging Native Mobile Apps A Progressive Web App is • Progressive - Works for every user • Responsive - Fits any form factor • Connectivity independent • App-like - Feels like an app • Fresh - Always up-to-date • Safe - Served via HTTPS • Discoverable -allowing search engines to find it. • Re-engageable -Support push notifications. • Installable • Linkable - does not require complex installation (store access) 5/29/2018 6© 2015, Perfecto Mobile Ltd. All Rights Reserved. Source :medium.com
  • 7. Optimizing Test Automation © 2015, Perfecto Mobile Ltd. All Rights Reserved.
  • 8. 3 Layers Involved In Test Automation Optimization 5/29/2018 8© 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 • Resource Consumption
  • 9. Generic Login Into Apps on iOS - Testing Diversity Test Scenario Apple iPhone X Apple iPhone 7/8 Apple iPhone 5C iPad Air 2/ iPad Mini 3 Apple iPad Mini/iPad 2 Login Using a User/Password YES YES YES YES YES Login Using Fingerprint NO YES NO YES NO Login Using Face-ID YES NO NO NO NO
  • 10. Android Doze & Multi Window Support 5/29/2018 10© 2016, Perfecto Mobile Ltd. All Rights Reserved. Android 6 and Above Android N and Above
  • 11. Test Development Strategy – Solutions - Test Suite Planning (Easy Path) – Common Denominator - Test code reusability using common supported methods (e.g. Login using User/PW) across all scenarios - Unique device features tested outside of the regression on the relevant devices - Work with your Dev team to develop Deep Links bypassing the Login Screen (Appium) - Leverage mobile OS property files (More Complex) - Scan and direct test code accordingly (Manifest.MF, Info.Plist) - Lab setup based on device capabilities (divide execution files e.g. testNG according to device buckets) 5/29/2018 11© 2016, Perfecto Mobile Ltd. All Rights Reserved.
  • 12. Automate Via Risk Based Approach 5/29/2018 12© 2015, Perfecto Mobile Ltd. All Rights Reserved. Source: Fred Beringer, Shutterfly
  • 13. Validate Feature Compliance & Test Accordingly 5/29/2018 13© 2016, Perfecto Mobile Ltd. All Rights Reserved. IOS Developer Library INFO.PLIST
  • 14. Appium Deep Links 5/29/2018 14© 2015, Perfecto Mobile Ltd. All Rights Reserved. Code Sample: GIT
  • 15. Device Cloud Selection Based on Supported Caps 5/29/2018 15© 2015, Perfecto Mobile Ltd. All Rights Reserved. Code Sample: Perfecto Blog
  • 16. Device Cloud Selection Based on Supported Caps 5/29/2018 16© 2015, Perfecto Mobile Ltd. All Rights Reserved. Code Sample: Perfecto Blog
  • 17. Optimizing Test Automation Analysis - RTDD © 2015, Perfecto Mobile Ltd. All Rights Reserved.
  • 18.
  • 19. Tagging Isn’t New 5/29/2018 19© 2015, Perfecto Mobile Ltd. All Rights Reserved.
  • 20. Introducing RTDD (Reporting Test Driven Design) RTDD Is a method that enables teams to design quality with the debugging and insight in mind (context based). Among the key benefits of RTDD are 1) Structured quality dashboard that can be sliced and diced by various persona’s 2) Fast MTTR of defects unrelated to the test suite size 3) Reliable and much more stable test suite (less flaky tests) 4) Low risk Go/No-Go decision due to a data-driven dashboard and quality artifacts 5/29/2018 20© 2015, Perfecto Mobile Ltd. All Rights Reserved.
  • 21. Implementation Basics 5/29/2018 21© 2015, Perfecto Mobile Ltd. All Rights Reserved. • Structured test authoring via SDK • stepStart() • stepEnd() • testStep() • testStop() • Context based Tagging (“regression”) • withJob() http://developers.perfectomobile.com/display/PD/Java
  • 22. Benefits of Tagging Strategy 5/29/2018 22© 2016, Perfecto Mobile Ltd. All Rights Reserved. Logical Steps (incl. BDD support) Tags Heat Map Based on Tags Fast Quality Analysis/On-Demand Status Context and Tags Drive Distribution for Analysis For quality drill down and triaging process
  • 23. CI Dashboard Enables Build Trending And Overall Quality History Visibility 5/29/2018 23© 2015, Perfecto Mobile Ltd. All Rights Reserved.
  • 24. Mobile Testing Landscape Criteria Appium Espresso XCUITests Language any Java swift/objective-C By Open source google Apple App supported APK and IPA APK IPA Code required No yes yes Testtype Black box White box White box Speed 8t t 2t Setup Hard Easy Medium CI medium easy Hard Flakiness of test very low Low Object Locators Xpath (external) Id (from R file) id Used by QA Android dev* iOS dev*