Test Automation Strategy in 2021: The Ultimate Checklist
Test Automation Strategy in 2021: The Ultimate Checklist
Test Automation Strategy in 2021: The Ultimate Checklist
strategy in 2021
The ultimate checklist
Test automation is a cornerstone in DevOps, and when implemented correctly, it
helps increase output quality while containing costs. IT departments realize the
importance of having a test automation strategy instead of putting out fires here
and there.
Once you decide to roll out test automation, the next issue presents itself:
Test strategy
In the test strategy, you select the test automation
framework/tool. In this phase, you create a test plan and
test automation suite in your test management tool.
Remember that, as with anything in IT, you can either ‘save’ a few
days of planning and then spend weeks testing or putting off fires
later. Or you can allow yourself to spend a little time developing a test
automation strategy that will help you save valuable time during sprints.
For this reason, we’ve put together a checklist for creating a test
automation strategy. It consists of eleven items for you to consider as
you head out on your automation journey. You might be able to check
off some of these items already, while others will require some work -
perhaps even help from external consultants.
In order to select the best fit for your project, you have to consider
other parameters such as the licensing cost of the tool, maintenance
cost, training and support, extensibility, and performance and stability.
Training materials
Ease of use
Support
Maintenance
CI/CD plugins
Licensing
REST API
Adoption
Costs Integrations
Extensibility
Web apps
Mainframe
Performance
Desktop apps
Stability
You have both paid and open-source options. The most popular
starting point for many is Selenium. Many people select Selenium
because it is free and readily available. However, Selenium requires a
lot of time, effort, and resources to succeed. The sharp learning curve,
the missing tech support, and the lack of reporting opportunities can
make it a time-consuming and expensive solution.
Download here
At this stage, clearly define which tests to automate and which to keep
doing manually. A smart test manager understands that all test cases
cannot be automated. Instead, he manages the balance between
manual and automation testing. For this purpose, the test manager
needs to thoroughly analyze the test plan and shortlist the test cases
which need automation.
You can use the following criteria to shortlist the test cases for
automation:
Process
A test automation roll-out must be a well-defined and
structured process. Make sure to cover the following in
your plan:
Technology
Identify the applications to be automated. Figure out
which technology they are based on and whether your
test automation platform supports these technologies.
In most cases, rolling out automation will involve several
application types: web-based, desktop-based, SAP,
mobile apps, etc. Therefore, it’s vital to have a tool that
can handle all your automation requirements.
Roles
Define the roles for automation in the agile team. Make
sure that all members know who is responsible for which
part of the automation project.
• Automation lead
Responsible for coordinating and managing all
activities regarding automation in the project.
• Test case designer/reviewer
Similar to code reviews among software developers,
it’s important to establish a review process for
automated test cases. This means that a tester will
typically have at least two roles: test case designer
and test case reviewer.
Note that a risk plan is a dynamic document; risks will be added and
removed to the list as the project evolves.
Also, you must consider the data that is part of the tests:
Where to store
Coverage the test data?
Define a set of best practices that make test cases resistant to changes
in the system that’s being automated. These guidelines will depend
on the application in question, but they should cover how test cases
recognize and interact with elements in the application under test.
Also, consider selecting a setup that allows for parallel execution of the
test cases to get the feedback from the regression tests faster back to
the development team.
Watch now
Remember, you can never test too much, and the combination of test
automation, reliable test cases, and scheduled/controlled execution will
always have a positive effect.
In any case, make sure that the results from the test automation are
part of the release decision. Either decide only to allow releases if all
regression tests pass or have the lead tester approve the result.
Release pipeline
A bug in the automation scripts Create a task for the test team
On-demand webinar
Watch now