Why Test Automation FAILS: "If You Can't Measure It, It Doesn't Exists"
Why Test Automation FAILS: "If You Can't Measure It, It Doesn't Exists"
Prepared by:
Bharat Mulchandani
Email: [email protected]
September 2013
1
Table of Contents
4. Conclusion .....................................................................................9
5. Appendix..................................................................................... 10
5.1 Case Study .................................................................................... 10
6. References ................................................................................... 11
In today's IT business demands “to do more with less” and they're expected to
deliver higher quality systems within stipulated time. Many organizations have
already done research and written several white papers on “why test automation
fails”, “how to make test automation successfully”, “test automation strategy” and so
on. However test automaton failure percentage is still very high and a success
percentage is very low. In spite of following Automation Best Practice, investing time
and efforts result does not yield the expected outcome.
The KEY problem is we are NOT adopting the right process at the right time under
the right circumstances which result in poor ROI and high cost
As per research & survey done from different organization & institute;
My personal experience as well as the results of the IDT survey they conducted with
over 700 responses from all over the world also indicated that many software
automated testing efforts fails due to lack of process.
L. Hayes, However testing automation is uninviting, as the success rate is so low [3].
Gartner states; "Often, functional test automation efforts have failed because of cost
and complexity”.
This White Paper outline has Practical Approach towards test automation and
effortless to follow process as a best practice. This will enable you to explore better
possibilities and make sure this will increase the probability of making precise
decision on test automation approach.
The main objective of white paper expresses how can we make test automation more
cost-effective and improve success percentage with practical study. This approach is
very easy to understand and implement (Please refer Case Study in Appendix
section).
2. Executive Summary
Test automation is just like Rome, It wasn't built in a day – similarly it takes
huge efforts to measure the benefits of successful test automation we should be very
careful in adopting and implementing the same. Prior to begin test automating once
should follow well defined process or pre-requisite which contribute and drives to
achieve the desired goal.
As we all are aware that any test automation doesn't produce instant outcome. The
benefits aren't immediate.
Before moving from manual to automation we need to cross six different gates, All
six gates are listed below in detail
Sequences of all Gates are critical, you cannot overlook any gate for example; one
cannot decide which test case to automate and which test case not to automate
without knowing when to automate.
I am going to detail out each Gate within this planning cycle and how all of it comes
together to help you achieve success within your test automation approach.
IF all above objectives are achievable and measurable, Then we can move
to next phase/gate else we will not go for automation this is not right time
• Stability;
How to check for stability of test application?
i) Manual testing process should be in place i.e. all manual test cases
with expected result should be designed and reviewed.
This also includes test steps, test data, expected result, precondition
to validate test scenario
ii) All test cases steps should be executed manually twice on
different build/version.
(Why twice on diff build to make sure application is stable or not)
• Automate those modules where more than 70% of manual test cases
are passed and where there are no major open defects.
Test cases which are more repetitive are Better candidate for
test automation.
• Start automating after application GUI and code are almost frozen.
• We should automate on QA environment and not on dev
environment.
• We should automate on same version of code where manual testing
was performed.
• How long test automation project will take to complete and how
effective it will is going to be?
• Automate those modules where there are no major defects open.
• Automate those modules where there are no more major changes.
Note: It’s possible to automate even if the product is not fully ready
but that is a completely different ball game. I am not covering
such exceptional scenarios in this white paper.
4. Conclusion
It is our trust that you can achieve your test automation goal and objective once the
above Gates (automation pre-requisite) are followed.
The main goal is to develop best process that highlights the various factors to be
considered while making rational decision to go for test automation.
"Take care with test automation. When done well, it can bring many benefits. When
not, it can be a very expensive exercise in frustration". [2]
5. Appendix
Expected Result:
Step 10: Verify the Taste, quantity and quality of coffee is same as expected.
6. References
[1] http://www.automationanywhere.com/Testing/
Analyst(s): Ian Finley, Nathan Wilson, Gordon Van Huizen.
[2] Howard Fear on Test Automation by Howard Fear ([email protected])
[3] L.Hayes, “Establishing a Test Automation Function”, Journal of Software Testing
Professionals
7. Author’s Biography
Bharat Mulchandani is having more than 10 years of experience in QA who has shaped the
testing solutions and established thought leadership position in the software testing domain.
Currently Bharat is working as a Senior Consultant with Capgemini, He has been directly
involved in providing testing services for a second largest investment bank in US. He is
responsible for QA service, Testing Innovations, Business Development support, accelerating
technology competency and providing thought leadership leveraging to QCOE. Before joining
Capgemini Bharat worked for Sagitec Solutions - USA, He successfully transitioned this small
testing engagement to very large managed services engagement (Horizontal services). He also
is driving the delivery of testing complex systems and applications where he managed delivery
for multiple key client accounts. He also played a key role in proving testing solutions to
various clients. Bharat has received his Master Degree in Commerce from Pune University.