Blog

Making test automation a reality: part 1

We talk about our experience in test automation moving from the discussion of its goals to advantages and disadvantages keeping in mind manual checks and automated testing debate.
5 July 2019
Test automation
The article by a1qa
a1qa

Within the last 15 years, the role of test automation and its purposes in IT have significantly extended. From focusing on shortening testing times, now it strives to reach better coverage and more effective usage of test cases.

This can be narrowed to one concept – the so-called “quality at speed.”

Although, the level of adopting test automation is extremely low: in conformity with the World Quality Report, 61% of the interviewed IT specialists emphasized they have faced difficulties automating their QA activities.

The reason is clear – the applications modify too often and too much with every release. Notwithstanding, this proves their endeavor to build a robust and smoothly working software test automation product.

This is basically pure truth. In this article, we will define whether test automation is a “silver bullet” for IT business or not.

Test automation basics

As time goes by, test automation is focused on becoming smarter and more effective, as the confluence of AI, ML, analytics provides the systematic change in the benefits it can deliver.

To achieve valuable results of the projects, companies should consider that automated testing is not about replacing manual testing or getting a supplementary reduction in costs. In the most general sense, it is aimed to deliver quality at speed, take QA to the upper level, and make DevOps and Agile provide greater results.

Broadly speaking, we can divide test automation goals into 3 items:

  • Process-specific goals (faster time to market)
  • High-level goals (LTV – lifetime value)
  • Revenue-based goals (costs).

When considering the targets more thoroughly, we’ll say it helps achieve the following local SDLC values:

Test automation values

The problem to get the utmost of test automation lies not only in implementing the service but also in adopting it successfully. To build the process properly, one has to delineate when to automate and when it won’t work out.

To automate might be a good decision whenThe software testing should not be automated if
Saving time is your top priorityTests require human intelligence and intuition
Your project is a long-lasting one or consists of similar small operationsThe process is limited to ad-hoc or exploratory testing
Tests should be run for every build of the applicationCustomer’s requirements (related to existing features) change oftentimes
Test cases are tedious and take a lot of time and resources to be executedIt’s one-time testing
Load or stress testing is carried out 

Striking a balance

Manual testing is still meaningful in the QA process. That said, in many cases, it is no longer enough.

To speak generally, conducting manual testing takes physical time and effort, that’s why it can be extremely wasteful for continuous testing.

Meanwhile, test automation increases the speed of testing and saves resources. It reduces the number of tests that have to be run manually (for example, checks of multilingual sites) but does not eliminate it altogether. Though, while increasing overall test coverage, more time will be needed for maintaining test scripts.

A flawless test automation solution should be easily maintained. Even if you have about 5,000 automated tests, there is no need to spend roughly 5,000 hours to make it work.

Certain cases simply don’t mesh themselves well to automation.

  • UI testing. When conducting the display checks, manual testing will show how well your UI is in accordance with end-user preference, will provide a close connection with consumers, and help understand the problem on an emotional level.
  • UX usability tests. They provide the answer from the consumer perspective if the application is easy to use or not.
  • Exploratory testing. It is defined as a type of checking where QA engineers test the application, discover, investigate it on the wing, but test cases are not created beforehand.

It’s perfect if you can build an optimal duet of manual testing and test automation: when they do not diminish the value of each other – instead, perform testing in close cooperation.

Let us focus on some cases of such a successful “teamwork”:

  • You have an aim to accelerate the test results and release the new version of the product on the market.
  • Manual tests start where test automation ends.
  • There’s a large volume of regression testing, and the software product is launching frequently.
  • You involve both automation and manual checks to test different aspects of the same functionality.
  • Tests are “semi-automatic” and involve some part of manual intervention in order to proceed to the next set of automated tests (e.g., it’s an online store, and the purchase can be made by certain customers, which can be proved only with the help of manual intervention).

According to DZone’s 2019 Guide to automated testing, the shift left model is still growing in strength if to speak about automated testing.

Comparing with the results achieved in 2018, the number of respondents who begin automatically testing software at the development stage has grown by 12%. The number of the interviewed who begin automating at the QA stage has decreased by 9%.

What concerns manual testing, this is a little shift left: contrasting this year with the previous one, the percentage of IT professionals surveyed who begin manually testing software at the development stage has decreased by 2 points. The number of respondents who do it at the testing stage has increased by 4%.

At which stage does your organization usually begin automatically testing software
According to DZone’s 2019 Guide to automated testing

What to automate and where to go the “manual” route?

Let us define three main factors that should be considered in this case.

FactorAnswer the question
ROI (return on investment)Do the resources spent on automating a specific scenario worth the profit derived from it?
Test complexityCan it be automated? Does it make more sense to leave the test as a manual one?
System stabilityAt what level are the application and its parts stable? Can it be covered by automated tests? Where manual testers should intervene due to the frequently changing functionality?

Clear and visible intent of test automation

If conducted accurately, test automation can be quite lucrative. We will discuss the advantages that can be reached from automated testing a little after, but now we don’t want to miss the other side of the coin when test automation just won’t fit well into your project.

What are these traps one needs to consider?

  • The amount of new regression defects is slightly reduced comparing with those detected in the new functionality.
  • Implementation of automation is not a one-off effort, as you need to spend time to keep the automated checks relevant and get the most leverage from them.
  • Sometimes the results of testing are needed in a matter of hours, especially speaking about the checks of the newly introduced features. In this case, it can be more convenient for the project to move to manual testing and get the results ready ASAP.

However, there is no secret that the benefits of automated testing delivered to the project are clear and substantive. Let’s name some of them.

Test automation advantagesDescription
Huge ROIDespite the fact it takes some resources to write test cases, the ROI of this approach for wide-ranging and long-lasting projects can be enormous. This can be attributed to the ease-of-use of automated tests: they are adjustable, have a reusable nature, and can be applied in various ways.
By implementing automation, one can dramatically reduce the cost of each test hour and find more hard-to-detect bugs.
Quick feedback on application healthAutomation can give fast feedback concerning the state of the software product since it is revamped and assure higher efficiency of the dev team. It improves close integration between QA engineers, coders, managers, and more.
Earlier software defects detectionAs test automation helps augment the entire development speed, it becomes more cost-effective and much easier to identify the glitch and fix it in the early SDLC phase.
Time savingsAutomation of regression tests saves the time of the QA engineers to let them focus more on performing ad hoc testing and other testing activities. Furthermore, if involved properly, automated tests can be run with minimum or no human supervision.
Test data securityThe effectiveness of checks highly depends on the quality of the used test data.
Creating it manually is very resource-intensive, so testing is often conducted on copies of live databases.
Automated tests can be designed so that they create and receive necessary data, change them without affecting other data, and return to the initial state.
Fast speed of checks executionTest automation passes various steps quicker than a human does. This is particularly relevant for DDT (data-driven testing), as the same checks are conducted numerous times but with different data sets.

Test automation is the optimal way to fulfill multiple QA goals with effective resources and time.

It can be probably considered essential for organizations who strive to deliver outstanding software products and stay competitive in the industry.

Connect with us to build a result-oriented automation strategy for your business needs.

More Posts

Load testing
23 July 2024,
by a1qa
3 min read
7 reasons why businesses need load testing 
Want to optimize software performance or ensure its smooth functioning during peak sales season? Discover how load testing may help.
Quality assurance
Test automation
Shift-right testing
9 July 2024,
by a1qa
5 min read
Embracing shift-right testing to enhance software quality through real-world insights
Let’s reveal the power of shift-right testing for ensuring high software quality.
General
Test automation
2 July 2024,
by a1qa
6 min read
Interview with Mike Urbanovich: How to build a robust test automation strategy?
The Head of testing department at a1qa answers the questions on how to smartly build a winning test automation strategy and talks about the advantages you may obtain with it.
Interviews
Test automation
27 June 2024,
by a1qa
3 min read
Establishing seamless interaction between development and QA teams to boost productivity
Establishing seamless interaction between development and QA teams to boost productivity
Agile
General
Quality assurance
Test automation
17 June 2024,
by a1qa
5 min read
Shifting to test automation to maximize software quality
Explore in the article why businesses should move from manual testing to test automation.
Quality assurance
Test automation
RPA in QA
28 May 2024,
by a1qa
4 min read
Embracing robotic process automation to drive efficiency in QA
Discover how the convergence of robotic process automation helps reshape software testing practices.
General
Quality assurance
Test automation
Shift-left testing for better software performance
25 April 2024,
by a1qa
4 min read
Optimizing software performance with shift-left testing
Still in doubt whether to include performance testing from the initial development stages? Learn the benefits companies obtain with shift-left performance testing.
Performance testing
QA consulting
Quality assurance
Test automation
Telecom trends 2024
15 April 2024,
by a1qa
5 min read
QA’s role in adopting telecom trends for 2024 
Let’s dive into the transformative trends set to redefine the telco industry in 2024 and discover QA strategies to adopt them with precision.
Cloud-based testing
Cybersecurity testing
Functional testing
General
Migration testing
Performance testing
QA trends
Quality assurance
Test automation
Enhancing Agile and DevOps processes
28 February 2024,
by a1qa
4 min read
4 actionable tips to enhance Agile and DevOps processes 
Streamlining Agile and DevOps workflows? Learn practical recommendations on how to achieve this.
Agile
General
Test automation

Get in touch

Please fill in the required field.
Email address seems invalid.
Please fill in the required field.
We use cookies on our website to improve its functionality and to enhance your user experience. We also use cookies for analytics. If you continue to browse this website, we will assume you agree that we can place cookies on your device. For more details, please read our Privacy and Cookies Policy.