Why test automation projects are failing? Igor Khrol

Similar documents
QMS ISO 9001:2015 CERTIFIED COMPANY Software Testing TRAINING.

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

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

Building a Customized Test Automation Framework Using Open Source Tools

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

Test-driven development

7 steps for digital app test automation success. October 2018

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

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

Selenium vs UFT: Which is Better for Your Mobile Testing Strategy?

VIEW POINT. Choosing the right automation tool and framework is critical to project success. Harsh Bajaj, Technical Test Lead ECSIVS, Infosys

TEST AUTOMATION. Excel Global Solutions Inc. All Rights Reserved.

The Software Delivery Experts. Agile, DevOps & QA Conference

Emerging trends in test automation

Test Automation. Fundamentals. Mikó Szilárd

HP APPs v.12 Solutions for Dev-Ops

From Requirements to Test Automation in Minutes Manual Testing is Now a Thing of the Past! November 20, 2014

Three General Principles of QA. COMP 4004 Fall Notes Adapted from Dr. A. Williams

DevOps CICD for VNF a NetOps Approach

OPEN SOURCE TESTING IN SAUDI ARABIA 1

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

Sample Exam. Advanced Test Automation Engineer


Static & Dynamic Testing using Tools. Created by Kudakwashe K. Chambwe

Robots with Pentest Recipes:

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

Ride the wave of automation to survive the digital transformation storm. December, 2017

End-to-End Agile Testing using Incremental Approach for a Leading EIM Solution Provider ATTENTION. ALWAYS.

Testing NodeJS, REST APIs and MongoDB with UFT January 19, 2016

QA & Test Management

Lies and forgotten facts about Test Automation

Turbo boost your digital app test automation with Jenkins

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

SofTec Conference 2010

LOADRUNNER SCRIPTS

How to Build an Appium Continuous Testing Pipeline

DCqaf Implementation for a Fashion Retailer ATTENTION. ALWAYS.

Test Automation as a Service (TaaaS)

A CONFUSED TESTER IN AGILE WORLD

A Study on Various Testing tools and Testing Strategies

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Implemented Test Automation Framework for the World s Largest Learning Company ATTENTION. ALWAYS.

Introduction to TestingWhiz 6.0 The Saturn A Test Automation Platform for the Testbirds

Denisha Surjoodeen. 27 Nottingham Square Royal Ascot, Milnerton Cape Town

Best of SharePoint Sites and Communities

Team 2: Boeing KML Urban Scene Builder Technical Specification / Schedule KML Urban Scene Builder 2008

Hoping my knowledge, skills and experience could be used by you and your company I appreciate in advance your time and consideration.

Name: Vijay Rajagopalan Title : Principal Architect Company : Microsoft Corporation Session Code:

Final Paper. Automation in Agile Testing. Vijay Kumar - Senior Software Engineer - Testing CenturyLink Technologies

Questions For Test Cases

Diploma in Software Testing 2.0 (HP)

Automated Security Scanning in Payment Industry

SharePoint Online Office 365 Developer Course Content

to know about Microsoft Teams

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

Skype for Business Users: 18 Things to Know about Microsoft Teams for 2018

Diploma in Software Testing (DST)

Approach to development in OTM projects

Automated JAVA GUI Testing. Challenges and Experiences

Website Performance Testing. ebook

Software Testing and Maintenance

The Future of Testing

In This Webinar. ConEnuous Load TesEng & ConEnuous Delivery with Jenkins

Sahi. Cost effective Web Automation

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

Security Automation Best Practices

MOBILE app testing tools & experience

PERSPECTIVE. Best Practices in Automation Testing of Mobile Applications. Abstract

Cybersecurity Risk Mitigation: Protect Your Member Data. Introduction

Total Cost of Ownership: Benefits of the OpenText Cloud

One Digital Integrated Digital Assurance Automation Framework

Presented by. Dheepa Iyer Managing Consultant. Commissioned for. Reston SharePoint User Group. SharePoint Framework. May 2017

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

_ Success story. Abstracta's Suite of Test Automation Tools Helps GeneXus Reduce Regression Testing Time by 50% _

Business Process Testing

Continuous Integration Testing for IoT Endpoint Integrity. Arthur Code Curmudgeon Hicken Parasoft

Comprehensive Test Management with Parametrization Manual and Automated Test Execution Test Case Library Management & Re-use Requirements Test

Project Treble. What Makes Android 8 different? August 2018

Test-driven development

Introduction to Automation. What is automation testing Advantages of Automation Testing How to learn any automation tool Types of Automation tools

Automated Acceptance Testing

Mobile Test Automation is not Rocket Science! Baris

DOWNLOAD OR READ : TEST AUTOMATION USING HP UNIFIED FUNCTIONAL TESTING EXPLORE LATEST VERSION OF QTP PDF EBOOK EPUB MOBI

DevSecOps Shift Left Security. Prioritizing Incident Response using Security Posture Assessment and Attack Surface Analysis

A Closer Look at XPages in IBM Lotus Domino Designer 8.5 Ray Chan Advisory I/T Specialist Lotus, IBM Software Group

Selenium Webdriver Manual READ ONLINE

Understanding SharePoint Framework Extensions

N different strategies to automate OWASP ZAP

Quality Center Customization

Test Driven Development

Case Study: Dodging the Pitfalls of Enterprise Ajax Applications

QUALITY ASSURANCE amron

Chapter 2 Example Modeling and Forecasting Scenario

Technology. Business Objectives & Challenges. Overview. Technical Solution

WHAT S NEW IN SELENIUM IDE 3.1?

VISUAL TEST AUTOMATION Challenges and Tips. Onur Başkırt

Model-Based Testing: Your Key to Better Software

Webinar: Test Data & Test Automation - A Blend of an Effective Test Coverage WEBINAR

Agile Testing: Your Key to Better Software

How To Make Threat Modeling Work For You

Transcription:

Why test automation projects are failing? Igor Khrol http://www.khroliz.com

About myself Igor Khrol More than 7 years in automated testing Consultant, trainer, manager, engineer, architect Selenium, HP QTP, TestCompete, Jmeter Speaker at different conferences

Agenda What is wrong with test automation? Five typical mistakes in UI automated testing Possible solutions to make successful automated testing: Technical Organizational Q&A

Successful test automation project: what s this?

Test Automation Success What is success for test automation? The same as for any other project Customer is happy Outcome is more than investments Typical expectations from test automation Amount of manual testing is reduced Regression testing takes less time than previously More defects are found

What is the change to get success? No result Beneficial

What is the change to get success? No result Beneficial 80% 20%

Typical Reasons

Reason #1 Recording

Reasons: Recording The first feature from commercial tools Looks promising in marketing demos

Reasons: Recording Why failure? Recorded scripts don t work for a bit more complex apps than demo Impossible to maintain

Recording: how to fix

Recording: how to fix Don t use recoding Write the code manually

Recording: how to fix Ensure that recoding is working for your application Tune the application Tune the tool Don t try to maintain the scripts In case of failure re-record the script

Recording: how to fix In case of failure re-record the script Pass Record Run Result Fail Manual Check Re-record

Reason #2 UI Automation is slow

Reasons: UI Automation is slow UI Automation includes the full end-to-end solution Browser (or client app) Network Application server (or server app) Database UI automation works with browser: not with your code

UI Automation is slow: how to fix

UI Automation is slow: how to fix Don t use Sleeps for synchronization

UI Automation is slow: how to fix Run test scripts in parallel Design test architecture for parallelization Design your test scenarios and test data for parallelization Use Clouds to run test scripts

UI Automation is slow: how to fix Focus on other Test Automation possibilities UI API Testing Unit Testing

Reason #3 UI Automation is unstable

Reasons: UI Automation is unstable The nature of UI Automation 2-3% of failed test scripts in average

UI Automation is unstable: how to fix

UI Automation is unstable: how to fix Focus on other Test Automation possibilities UI API Testing Unit Testing

UI Automation is unstable: how to fix Re-run failed test scripts before result analysis Analyze tests that failed twice Total 1000 Defects 5 Failure percentage 3% 1 min to execute 1 test 10 min to analyze 1 failure 1 run Failed cases (1000 5 ) * 3% + 5 = 35 Execution time 1000 min = 16.7 h Time to analyze 35 * 10 min = 5.8 h 1 run + 1 re-run Failed cases (1000 5) * 3% + 5 = 35 (35-5) * 3% + 5 = 6 Execution time 1000 min + 35 min = 17.3 h Time to analyze 6 * 10 min = 1 h

Reason #4 Too costly to develop and maintain

Reasons: too costly to develop and Too slow maintain Test script should be run 10-15 times in order to be developed 2-5 times to update due to changes

Reasons: too costly to develop and Wrong tool selection maintain Code with mistake Fixed code Why???

Reasons: too costly to develop and maintain Not enough skills in the team Development Testing

Too costly to develop and maintain: how to fix

Too costly to develop and maintain: how to fix Work closely with development team to made application UI automatable Provide static Id s for controls Implement strict procedure for synchronization

Too costly to develop and maintain: how to fix Not enough skills to create the code by manual testing team how to handle? Separate test automation framework from test scripts creation Test Scripts Manual Team Framework Automation Team Automation Tool Vendor

Reason #5 Automation is not used

Reasons: Automation is not used We do not trust test automation it s better to re-check manually It s so complex to run and analyze the scripts

Automation is not used: how to fix

Automation is not used: how to fix Integrate test automation with existing test system Ease the process of test execution

Automation is not used: how to fix Establish clear result analysis procedure Run If Fail Do Manually Post Bug Fail To SUT, Pass To Autotest

To summarize

Summary What to do to get success in test automation Select right tool, framework and technical approach Distribute carefully the responsibilities Collaborate closely between the teams: development, QA and test automation

Thank you for attention! Igor Khrol E-mail: khroliz@gmail.com Skype: igor.khrol LinkedIn: http://www.linkedin.com/in/khroliz Blog: http://en.khroliz.com Facebook: https://www.facebook.com/khroliz