Mobile Test Automation is not Rocket Science! Baris

Similar documents
9 th CA 2E/CA Plex Worldwide Developer Conference 1

Mobile Apps Why & How

Assignments. Assignment 2 is due TODAY, 11:59pm! Submit one per pair on Blackboard.

Creating an Intranet using Lotus Web Content Management. Part 2 Project Planning

Test-driven development

Maja Schreiner. 9th Lean, Agile & Scrum Conference 2017

Test Automation. Fundamentals. Mikó Szilárd

Shift Left Testing: are you ready? Live Webinar, Sept 19

How To Create Apps For Internal Communications

Security Automation Best Practices

Seven Key Factors for Agile Testing Success

3 Continuous Integration 3. Automated system finding bugs is better than people

Shift Left, Automation, and Other Smart Strategies for Getting Ahead in QA

Testing in Agile Software Development

QMS ISO 9001:2015 CERTIFIED COMPANY Software Testing TRAINING.

AN ISO 9001:2008 CERTIFIED COMPANY. Software Testing TRAINING.

Automated Testing of Tableau Dashboards

Testing with easyb. Venkat Subramaniam

State of Security Operations

FPGA Verification How to improve verification without throwing everything away

Questions For Test Cases

Building downloadable Sailfish OS and next steps of Jolla with Sailfish 3

Why test automation projects are failing? Igor Khrol

Selenium Workshop. Removing the Mystery from Open Source Test Automation. Presented By Chris Petrov, PMP Leverage Point Corporation

TEST AUTOMATION EFFORT ESTIMATION - Lesson Learnt & Recommendations. Babu Narayanan

A Tale of Continuous Testing

CREATING CONTENT WITH MICROSOFT POWERPOINT

The ROI of UI Toolkit Standardization

Manual Testing. Software Development Life Cycle. Verification. Mobile Testing

Work Smart: Make presence work for you

SECURITY AUTOMATION BEST PRACTICES. A Guide on Making Your Security Team Successful with Automation SECURITY AUTOMATION BEST PRACTICES - 1

Evolving Corporate Networks and the Business Case for SD-WAN


Chapter 8 Software Testing. Chapter 8 Software testing

Test How to Succeed in Test Automation Björn Hagström & Davor Crnomat, Testway AB

SECURITY AUTOMATION BEST PRACTICES. A Guide to Making Your Security Team Successful with Automation

Master Every Stage of Your Mobile App Lifecycle: Micro Focus Mobile Center. Brochure. Application Development, Test & Delivery

Microsoft Office 365 for Business. Your office-on-the-go. Get more work done virtually anytime, anywhere, on any device.

xtreme Programming (summary of Kent Beck s XP book) Stefan Resmerita, WS2015

BUYER S GUIDE APPLICATION SECURITY BUYER S GUIDE:

Turning a Marathon Runner into a Sprinter: Adopting Agile Testing Strategies and Practices at Microsoft

Business Analytics: Asking the Right Questions. Ben Porterfield Founder, VP Engineering

Orange: Cisco & Orange: a human touch for a digital experience

Automation Best Practices for CI/CD. Leo Laskin, Sr. Solutions Architect

What is Standard APEX? TOOLBOX FLAT DESIGN CARTOON PEOPLE

The Need for a Holistic Automation Solution to Overcome the Pitfalls in Test Automation

Application Security Buyer s Guide

Applications of Automated Protective Relay Testing. Josh LaBlanc

Test Your XAML-based Windows Store Apps with Visual Studio 2013 Benjamin Day

WEB & MOBILE AUTOMATION

Testing. Topics. Types of Testing. Types of Testing

Driving Development with Acceptance Tests

ASTQB TA12. ISTQB-BCS Certified Tester Advanced Level - Test Analyst.

ACIAR MAD Masterclass Canberra, 7-9 June 2016

About Us. Services CONSULTING OUTSOURCING TRAINING MENTORING STAFF AUGMENTATION 9/9/2016

The SD-WAN security guide

ASTQB Advance Test Analyst Sample Exam Answer Key and Rationale

Top Challenges in Integration Projects

BYOD Success Kit. Table of Contents. Current state of BYOD in enterprise Checklist for BYOD Success Helpful Pilot Tips

Introduction To Software Testing. Brian Nielsen. Center of Embedded Software Systems Aalborg University, Denmark CSS

THE POWER OF TECH-SAVVY BOARDS:

Choosing the Right. Ethernet Solution. How to Make the Best Choice for Your Business

THE STATE OF DATA QUALITY

MicroSurvey Users: How to Report a Bug

Tool Selection and Implementation

Securing Digital Transformation

Which one? It all comes down to complexity. Scrum - Kanban Cage Match. Kanban. Scrum Ben Day. The Tale of the Tape. Scrum and Kanban Cage Match

Software Engineering 2 A practical course in software engineering. Ekkart Kindler

05/04/16 - User Experience UX

Test-driven development

Test Automation Blunders

ICAgile Learning Roadmap Agile Testing Track

Software Engineering 2 A practical course in software engineering. Ekkart Kindler

Building In Quality. Ten Years Later

I keep hearing about DevOps What is it?

Software Quality Assurance. David Janzen

Introduction to User Stories. CSCI 5828: Foundations of Software Engineering Lecture 05 09/09/2014

A User s Introduction to. Global Rescue s GRID SM Mobile Application. trust

Best Practices for Mobile

How to Grow Successfully in Emerging Retail Markets with Openbravo October 27th, Openbravo Inc. All Rights Reserved. 1

Taking Care. of B usiness. Why the time is now to give your employees the mobile devices they really want. And why the right partner matters.

Turbo boost your digital app test automation with Jenkins

Now on Now: How ServiceNow has transformed its own GRC processes

SIGiST Conference Presentation March 2016

Brought to you by Jestine Yong

"Exploratory Testing of Mobile Applications"

How We Learned To Love Test Automation for Localization AUTOMATED TESTS

Seven Deadly Sins of Agile Testing

Move Performance Testing to the Next Level with HP Performance Center September 11, Copyright 2013 Vivit Worldwide

Graphic. August 23 & 24, Design to. Improve. User

Final Paper/Best Practice/Tutorial Advantages OF BDD Testing

Work Smart: Make presence work for you

A NEW GENERATION SOFTWARE TEST AUTOMATION FRAMEWORK CIVIM

Black-box Testing Techniques

How to Evaluate a Next Generation Mobile Platform

Move Up to an OpenStack Private Cloud and Lose the Vendor Lock-in

An Introduction to Unit Testing

cs465 principles of user interface design, implementation and evaluation

SEMANTIC NETWORK AND SEARCH IN VEHICLE ENGINEERING

To get the most from your website you need to consider some fundamentals.

Transcription:

Mobile Test Automation is not Rocket Science! Baris

Baris Sarialioglu... Managing Partner, Consultant, Trainer ex-sw Developer, ex-cmmi Consultant, ex-employee, Infineon, Boeing, Siemens, Huawei, UniCredit barissarialioglu @mbsarialioglu

Agility... World is Agile! Lines of Code Doubles every 2 years Defects per Line of Code remains the same for the last 10 years

Mobility... World is Mobile! 90% Data today, produced in last 2 years. 20 billion connected devices by 2020.

Many People LOVE Test Automation Source: QA Intelligence State of Testing Survey

All in All, Mobile is just the Context! is Context! is Testing!

Things you shouldn t forget in Mobile Test Automation

Mobile Challenges Basic Principles! Carry Principle Mobile Phone is always carried Privacy Principle Mobile Phone is not given to anyone On Principle Mobile Phone is always turned on 1 meter Principle Mobile Phone is always 1m away

Mobile Challenges Users are Relentless! 50% of users are deleting a Mobile App, for a Single BUG! 50% of apps are downloaded and used just once!

Mobile Challenges Lot of Devices! More than 14.000 Android Devices Up to 3 Primary Devices (100% of the Test Suite) Up to 5 Secondary Devices (20-40% of the Test Suite) Up to 10 Market Devices (5-10% of the Test Suite)

Mobile Challenges Thumb Zone Testing!

Mobile Challenges Testing with Fat Fingers!

Mobile Challenges Gestures and Force Touch Testing!

Mobile Challenges Operator/Carrier Issues, Interruption Testing!

Mobile Challenges There are many HeisenBugs in Mobile Devices / Apps! Heisenbug is a classification of an unusual software bug that disappears or alters its behavior when an attempt to isolate it is made.

Mobile Challenges Claim Testing!

Mobile Challenges Apply 6 Thinking Hats!

Quantification is Important, but... How Good is too Good! But still we know that numbers are also, Relative!!!

How to Automate Usability or User Experience Testing??? Can my Grandma use this product??

Testing in the Wild, being on the Move! Testing on the Move...

Tips for Mobile Test Automation

Collaborative & Cross-functional teams build Better Software! Business Analyst Developer Test Automation Teste

Test Automation Engineers are on the Rise! They are not Developers! They are not Testers! (I mean manual testers) They don t want to call themselves Testers / Test Engineers They are not the most loyal employees! (I mean generally...) They get bored quite easily They rarely accept criticism They are not the best diplomats They like generating jargons They like over-complicated solutions more than the simple ones

Be Careful about Test Automation Decision! 1. Bug Detection vs. Confidence Building (Purpose) 1. Test Execution Period (ROI) 1. Test Execution Time (Cost) 1. Maturity of the Test Object or the Test Code (Maintenance Effort) 1. Real User Feedback (User Experience/Observation) 1. Technical Skills & Technologies Used (Test Automation & SW Development)

Learn the Test Automation Pyramids! Traditional Testing Agile Testing Business Logic Execution Time [Finding Bugs] [Preventing Bugs] Coverage Code Maintenance Cost Coverage Manual Automated

WHAT WE HAVE LEARNT WRONG! MISPERCEPTIONS

Everything should be automated Test Automation is always better than or should replace Manual Testing Quality is always Quantitative Test Automation is Software Development Test Efforts will immediately drop Tools are not good and we need to buy many mobile devices MISPERCEPTIONS

WHAT WE HAVE LEARNT SO FAR... COMMON SENSE

Data-Driven, Keyword-Driven, Model-Based; All is done for maintainability There is a limit for test automation, even with the most maintainable test code More automated test cases does not mean you are better testing Separation of the test code and page specific code (e.g. locators) Running the test code in parallel & in isolation (e.g. Selenium Grid, Docker) There is no one way of writing test code, even for the most basic stuff. COMMON SENSE

WHAT WILL WE SPEAK ON... FUTURE

Quality of The Test Code is Important! Code Size (lines of code, LOC) (Less) Repeated Code (Low) Cyclomatic Complexity (Low) Call to Page Objects, Assertions (More) Locators, Static Wait Calls (Accurate, Less) Comment Frequency (Easy to Read/Analyze) (More) Number of Function Calls (Less) Number of Nested Levels (Decisions) (Less) Number of Conditions (Less) Level of Indentation (code blocks) (Accurate) Coupling (Low) (Degree of modules rely on each other during execution) Cohesion (High) (Degree of which a module is focused on single task)

SMART CRITERIA for Better Test Automation! Small Maintainable Analyzable Rapid Timely

Select your Tools Wisely!

Create your own Freedom! Quality (Test Budget) not always flow from top You should know When to spend it, When to save it and, How to ask for it! Aristotle

Final Takeaways... On a routine manner, review people s test code. On a routine manner, ask people to review your test code. Learn Software Testing Concepts. Collaborate with Testers in your department. Do not automate to show-off. Try to use widespread technologies and solutions. Base your test code on SOLID / GOOD test design Learn how to configure mobile devices & how they behave. Capture their characteristics & differentialities. Try to understand the app store & the ecosystem.

Thanks for listening...