What does a typical test automation process look like?

After you’ve learned the tricks of the automation trade, your next concern should be the actual process in which the test automation is used.

To start with, you need to answer some questions for yourself:

This article covers the scope of a team that does manual testing too. (Manual, exploratory, hands on, call it whatever you want to) Some people say automation should be done in-sprint, while others say it should be done only after a feature has been tested and deployed to a stable environment.

I’m part of the ‘others’. You see one of the problems is the requirements changing mid-sprint. Everybody hates that, but some managers love it. This results in not only changes being made to the app’s code, but the automation, as well as any test cases you had written.

After a story is refined and picked up in a sprint for development, generally the tester plans their testing by writing down some test cases, building mind maps, and picking a set of test cases that can be automated into checks. Next, when the dev work begins, it’s a matter of team dynamics or processes:

Some DevOps crowd might argue that the UI automation can be written while the feature is being developed. But, that’s only possible in teams that produce high quality stuff. That’s not just the developer’s work, it also includes the designs, requirements or use case documentation, UML diagrams, etc. Only when the requirements and scope have been thoroughly refined and locked, can you follow a TDD UI automation approach.

Now ideally you’ll have dev, staging, and production environments. Having written the automation scripts, you’ll want to deploy them in one environment ahead of the feature in development. Feature flags help you here. In a trunk based like fashion, deploy it to prod/master and let the feature flag do it’s thing.

hanan

© 2025 Aria

RSS LinkedIn GitHub