Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Why and How to Shift From Manual to Automated Testing

DZone's Guide to

Why and How to Shift From Manual to Automated Testing

Just knowing test automation tools is not enough to be a good software tester; today, it's necessary to cultivate skills in coding, too.

· DevOps Zone ·
Free Resource

Read why times series is the fastest growing database category.

What does a manual tester do when hitting an iron ceiling? Sure, he strives to shift to automation. If you browse through different blogs and forums, you’ll find plenty of tips and instructions. People recommend learning one or several testing tools for automation, read books and articles, or follow some dedicated sources. But is it enough to become a test automation engineer? Not at all.

Today, automation requires more than the ability to work with some testing tools. Coding skills are also obligatory. In 2010, 79% of job advertisements for software tester positions in the USA required programming skills. Seven years later, knowledge of coding languages for a test automation engineer is not a benefit, it is a must.

Change the Role

Traditionally, the testing team is regarded as “skilled end-users” who evaluate software with the means available for ordinary people - smartphones/tablets/computers, an Internet connection, keyboard, fingerprints, etc. But now, the role of software testing has changed.

QA specialists should be aware of how the code works and, moreover, how to write it. It resembles the procedure of reading a book- you should not be the author of the book but, for certain, you know how to write it. The relationship between developer and tester should not resemble writer and literary critic. They both should be the coauthors of one masterpiece.

To shift to automation, a manual tester should first of all focus on coding.

Select the Programming Language

According to the analysis of job postings by Indeed.com, the top five programming languages of 2017 are SQL (Structured Query Language), Java, Python, JavaScript, and C++. In 2016, the top list was almost the same. But there are different ranks based on certain criteria and each similar top list may differ. For example, Java is top language according to TIOBE rank (17.3%) based on search engines queries and PYPL rank (23.1%) based on Google trends. Mind this while surfing the Internet.

Besides that, some languages are not suitable for test automation - purely functional ones like Haskell or LISP. Of course, you can use them for some data testing, but while selecting the language, take into account the area of its usage. For example, JavaScript is suitable for pure web testing.

Explore the Market Trends

Nevertheless, a few lists will not help you to make the right choice of programming language. Some are in demand and others are not. To be on trend, you should either follow the latest trends or set new ones. It is better to start with the first option, as we do not have enough experience and skills at first to change the face of testing and automation as well.

What are automation trends in 2017? The tester’s and developer’s roles are expected to be merging because of DevOps (Development and Operations), Quality Engineering and CI/CD (Continuous Integration/Development). Thus, we have to study programming languages.

Focus on mobile development and testing. According to Gartner, more than 300 billion downloads of mobile applications are expected this year. If you are fond of mobile testing, be ready to use Appium, EarlGrey, Selendroid, MonkeyRunner, etc, and do not forget about programming languages of mobile products - HTML5, Objective-C, Swift, and others.

Cisco says that over 50 billion devices will be interconnected by 2020. Thus, IoT (Internet of Things) will require a new testing strategy. Specialists will test not only software but firmware and hardware as well.

API testing is becoming more and more popular. It will reduce the time needed for automation. There are no language limitations here because data transfer is in XML (Extensible Markup Language) and JSON (JavaScript Object Notation).

Practice Coding

When the field and programming language are selected, it is time to proceed with continuous practice. Reading is not enough, you should put your theoretical knowledge into practice. You will be able to understand and write good code only when you try to write and refactor it by your own.

The best way to learn to swim is to jump into the water. But do not go too deep where you cannot stand. You can start from online courses that are free or not so expensive. Such training courses will show you the fundamentals of coding. It is a rather useful practice to start with.

Create a GitHub Account

GitHub helps you to get access to latest open-source toolsets and additional information. You can explore Appium, REST Assured, SeleniumHQ, etc. Besides, if you have your own projects and code fragments, you are able to upload them to GitHub to receive a feedback. Moveover, a GitHub account can be added to your resume.

Do Not Neglect Networking

Visit conferences and meetups and network on Linkedin to get more information about coding. Communication with the experts engaged in programming and automated testing helps to understand the nuances of such a position. Do not be afraid to ask questions and share your own thoughts on different matters. Moreover, networking helps to meet potential employers.

While shifting to automation, always keep practicing. Do not miss any opportunity on your way to automation. Enjoy the process and never give up!

Learn how to get 20x more performance than Elastic by moving to a Time Series database.

Topics:
automation testing ,manual testing ,test automation ,qa ,devops

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}