Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

So You Want to Be an Automation Developer

Are you a software tester trying to break into automation? Need pointers to get your first job? Although I only have three years of experience as an Automation developer, I may be able to point you in the right direction.

Step One: Take a Coding Class

When you are writing automation, you aren’t simply tinkering with a new toolset or technology. You are writing software in order to test software. It will definitely help you if you start learning how to code. With your first job, you won’t need to know how to write clean code or refactor tests right away, but if your job interviews are anything like the ones I had, you will have to demonstrate some knowledge of a Programming Language during your job interview.

My biggest recommendation if you are brand new to coding? Check out your local community college to see what programming classes they offer. Testing and developing are completely different mindsets. Learning from and interacting with a teacher, bouncing ideas off of students, and forming up study groups will help with the ever growing frustration as you are learning this brand new skill. You will hit wall after wall trying to understand the basic concepts. Your study group can be your wrecking crew. It also helps that everyone in the class are tackling the same concepts at the same pace.

Yes, you could learn how to practice coding as a newbie on your own by reading Zed Shaw’s free eBooks Learning Python 3 the Hard Way, Learning Ruby the Hard Way, or any in his Learning Code the Hard Way series. You could take Codecademy’s freeLearning Ruby, Python, or JavaScript courses. You could purchase Alan Richardson’s book, Java for Testers. Or you could teach yourself with the official Java Learning Trails. If you do it this way, when you get stuck, you will be struggling alone and have to somehow find the wherewithal to persevere and work your way through your growing frustration. Getting help from fellow students in a classroom is a lot easier than attempting to figure out questions and answers on StackOverflow.

STEP TWO: PICK A LANGUAGE. ANY LANGUAGE!


According to SmartBear’s The State of Software Testing 2017 Industry Report, the top languages used when writing automation are Java -- by a landslide -- followed by JavaScript / Node.JS, C#, and Python 3. Pick one! It really doesn’t matter what you pick as a first programming language to start learning as long as you practice learning how to code.


If you are working as a software tester, find out what your company is using for automation, and study that. Maybe there is room in the training budget so you can take a course at a reduced cost?
  • Want to start off with a complex programming language learning solid object oriented programming skills? Pick Java or C#.
  • Want to study the language used to design many of the front-end web based user interfaces? Pick JavaScript.
  • Are you into data analysis? Pick Python 3.
  • Are you going to be using Chef or TestKitchen to spin up Amazon Web Service Instances? That is what I am doing, which is why I selected Ruby for our automation framework. Does your company use Ruby on Rails to create your web application? That is another great reason to pick Ruby.

Whatever language you pick, be confident that you will be learning good coding principles that will help you to create automation, and that you will be asked to learn a whole new programming language in three year’s time.

STEP THREE: LEARN THE FUNDAMENTALS OF THE LANGUAGE


Do you know the programming language enough to go to a whiteboard and sketch out an answer to a simple coding question such as FizzBuzz or How To Tell If a String is a Palindrome? These are the questions that I kept getting asked.

Know the Language enough to:
  • Determine if the contents of a variable is an Integer, String, Decimal, etc.
  • Find the first and last word in a string
  • See if a String contains a certain word
  • How to convert an integer into a String
  • Solve a problem by coming up with an algorithm
This will not happen overnight, or even within a month or two. But by slowly and steadily working through a few classes, continuing to practice a bit every week, you will be comfortable facing the above tasks.

STEP FOUR: PAIR THE LANGUAGE WITH AN AUTOMATION FRAMEWORK

Now that you started learning how to code, you will find learning how to to write tests in an automation framework a lot easier. A common framework used today is Selenium WebDriver, which can be paired with a programming language such as Java, Python, C#, or JavaScript.


Whatever the language, you are sure to find a Selenium Guidebook by Dave Haeffner that will walk you through, step-by-step, how to start writing an automation framework.
  • Are you using Java? Check out Alan Richardson’s Selenium WebDriver with Javacourse and all his resources he has on EvilTester.com.
  • Are you using Ruby? Pair it with Capybara or Watir.
  • Are you using JavaScript and Angular.JS? Try Protractor: It takes the measure of Angular.
  • Using JavaScript? Try Cypress.io.
  • Using Python? Tinker with Robot Framework.

I am rather toolset and programming language agnostic. I don’t really think it matters what you build your automation framework with. It is more important to find out who is relying on the automation, and what metrics are important to them.


Using the programming language and the automation toolset, attempt to see if you can figure out how to write a simple test of sample sites such as:

  • Dave Haeffner’s test site, The Internet.
  • ToDo MVC

… But how can you display the sample automation framework you are developing?


STEP FIVE: SHOW YOUR WORK!


Sign up for an account at GitHub, a free open-source code repository. Proud of any projects you have created while going through this process? Upload them to GitHub, and stick the link to your GitHub account onto your resume, and future employers can evaluate your code samples.

NEED MORE HELP?


Need more help? You can read other articles I have written, review sample automation frameworks I have put together, or follow and reach out to me on Twitter! I am @tjmaher1, and I practically live online.

Make sure to check out this month’s offerings at SmartBear Academy and SmartBear’s many webinars.

Looking for a networking group? I am the Meetup Organizer of the Ministry of Testing - Boston. We meet once or twice a month, with events held all over Cambridge and Boston, Massachusetts. Join today!

And thank you, SmartBear for being such a wonderful sponsor for the Ministry of Testing - Boston.

This article was originally published on April 9, 2018 on SmartBear's Test and Monitor Blog

Happy Testing!

-T.J. Maher
Sr. QA Engineer, Software Engineer in Test
Meetup Organizer, Ministry of Testing - Boston

Twitter | YouTube | LinkedIn | Articles


This post first appeared on Adventures In Automation, please read the originial post: here

Share the post

So You Want to Be an Automation Developer

×

Subscribe to Adventures In Automation

Get updates delivered right to your inbox!

Thank you for your subscription

×