Is it possible to implement test automation without a specific plan? What should a well-prepared strategy entail? In this interview, Michal Zaczynski, Software Testing Domain Expert, talks about the pros and cons of test automation and the benefits it can bring to businesses.
Business benefits can only be weighed by considering test automation, technology, and tools used in creating the product. Software testing always brings profits.
For a simple website without complex business logic, created using a popular platform, we can find out the results of automated tests even within a few hours using commercial automation tools. On the other hand, in the case of more complex test items and the multitude of automation tools or customized frameworks used, this time will significantly expand – even to 2-3 months.
Despite this, it is worth noting that this is not time wasted for business. The time saved by automated testing can be used to perform other, more complex tasks.
Among the most substantial long-term benefits is quick feedback on the quality of an application, the ability to test more often, releasing manual testers’ time resources, so they can focus on areas that still need to be tested, or the ability to repeat automated tests. All this leads to a significantly improved testing process and, ultimately, a higher quality product, assuming that the reported defects are remedied.
No, it is not required, and there is no business case for doing so in many cases. This is particularly true for short-term projects, where automation can take longer than product development. Another example would include strictly hardware-related projects requiring manual actions, e.g., replacing a chip, rewiring expansion cards, etc. In this situation, the cost of setting up automated software testing equipment might be too high compared to the benefits. A project focused only on the graphical part of the application (UI), which changes.
That’s definitely an in-depth business analysis and defining realistic goals based on this that we would like to accomplish through software test automation.
The test automation strategy should include, among other things:
It seems impossible to complete test automation by skipping any of the above steps. Even if you run a project that is very similar to the one already implemented, using the same technologies and resources, you still analyze the development possibilities subconsciously.
It is worthwhile to keep in mind that not having a strategy can also be a strategy.
These features are due to the steps included in the automation testing strategy, as defined in the earlier question. These are:
A strategy is appropriate when it achieves defined objectives with an acceptable ROI. In light of these two pieces of information, we can say without a doubt that the automation path chosen is the right one.
The context of recent trends suggests that many tools are adopting AI and taking a codeless approach to capture the market. Although they haven’t yet dominated the market, they are certainly growing in popularity. Their high license costs hinder their use, often linked to the number of automated tests created. It would also be worth mentioning the Playwright framework (open source), something the testing community has been hearing more and more about.
Many good practices exist, but they can all be combined into one – treat test automation like any other development project, following the same principles. This approach eliminates the need to re-solve old and familiar problems when developing applications or writing automated tests.