Q
Problem solve Get help with specific problems with your technologies, process and projects.

Test automation for your team: How to begin

Initiating test automation on your project team may seem challenging, or even overwhelming. Fortunately, expert Karen Johnson has been through this process and has some insights into how to best begin. She offers some questions you can ask of your team, a list of common errors to avoid, and general advice on how to make this new process pay off.

How do I get started with test automation?

First, you might start by asking yourself and your team several questions:

  • Does the test team have the skills needed to build automation? If no, can you get funding for training?
  • What tool(s) and language(s) do you have the skills and funding for?
  • Is there a commitment and understanding from the team and your management on how much time, effort and resources are needed to get automation started and to keep automation running?
  • Are there expectations -- stated or unstated -- by your project team, project manager and your management? It may be worth writing down the expectations and discussing those expectations as directly as possible, and as soon as possible.
  • What do you want to automate? What's realistic?
  • Can you get a trial version of a tool or download an open source tool with the plan to "give it a try" for a short period of time before committing more funding or time investment?

Next, although it may sound negatively-focused, I thought I would highlight some of the most repeatable failures I’ve seen in test automation over the years (this list is in no particular order).

  • Lack of time when project work “heats” up and automation gets left behind.
  • A key resource (automation champion) leaves the team or company.
  • The automation tool and the application being tested are no longer as compatible as they were when the tool was selected.
  • The extent of the start-up effort contrasted to the immediate low payback frustrates the team or management and automation is abandoned.
  • Automation coverage is unrealistically optimistic in the beginning and automation begins to be seen as a failure rather than waiting out the start-up time investment.

Overall, it takes a champion, an advocate, to get automation up and running on a project, but the payoff can be worthwhile. I’ve raised some of the most frustrating and difficult aspects, but this is only meant to help highlight challenges, not to discourage you from trying.

A third step would be to start planning. Brainstorm with your team and plan a flexible framework. Think modular. Create and use naming conventions. Plan for code and function re-use. And although the book was written more than a decade ago, a book I found helpful when building automation was Software Test Automation by Mark Fewster and Dorothy Graham.

This was last published in January 2011

Dig Deeper on Automated Software Testing

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchMicroservices

TheServerSide.com

SearchCloudApplications

SearchAWS

SearchBusinessAnalytics

SearchFinancialApplications

SearchHealthIT

Close