How to Move from Manual Testing to Test Automation - Part II

How to Move from Manual Testing to Test Automation - Part II

In my last blog, we learnt that in order to learn test automation one has to keep challenging himself to rise to the next skill level. If each skill level were to be a step in the staircase of moving from manual testing to test automation then a person who aspires to learn test automation would follow flight the of steps below:

Step 1: To understand the working of browsers:

To begin with, let us consider the following:

Type of test automation: Web Test Automation
Programming Language: Java
Framework: Selenium WebDriver Framework

Next, it is important to learn more about writing codes that interact with the elements of a website through a browser, because that is what test automation is about. Therefore, it is a good idea to try and learn more about the following:

  • The working of a browser
  • Browser Components
  • Browser Control Settings
  • The functioning of cookies
  • The working of a browser session
  • Created from HTML and CSS code, an internal browser structure called browser DOM. Adding a new HTML element to the browser DOM results in the elements display on the page in the browser.

Step 2: To understand the working of HTTP protocol

A browser displays a number of pages, each of which is part of a website that is hosted on a web server.

Every time a page is changed in the browser, a communication over the HTTP protocol takes place between the browser and the web server.

Web pages can be requested in a few different ways, therefore in order to learn test automation it is important to understand the way in which HTTP works.

At the same time, learning about HTTP also helps as one learns about URL parameters and parameter coding and decoding.

Step 3: Develop an understanding of HTML

HTML is used to build all websites.

It is important to understand how elements of a web page are created because in test automation we interact with these elements.

Some basic HTML knowledge that is necessary for successful test automation is:

  • HTML attributes
  • HTML tags
  • Common HTML elements: buttons, lists, text boxes, links, etc.

The next logical topic to gain an understanding of after going over HTML is CSS as it teaches one how style sheets are added to HTML code so as to achieve good looking web pages.

Step 4: To Study Eclipse

In test automation, it is important to know about writing code in a programming language that interacts with the browser through a test automation framework.

An application called IDE (integrated development environment) is used for code development. Java projects mostly use an IDE called Eclipse.

Learning the main functionalities of Eclipse is important before beginning to create projects in Eclipse.

Step 5: Learn the basics of Java

Basically, test automation is programming in a language.

In the particular case that we have taken as an example since Step 1, the language is Java.

Therefore, it is important to learn the basics of Java, such as:

  • basic data types (integer, boolean, string)
  • create variables
  • data type operators
  • boolean operators
  • if/else statement
  • switch statement
  • for statement
  • while statement
  • arrays
  • lists
  • other classes from the Java API

In my next blog, I will resume from where I am leaving off and complete the remaining steps of moving from Manual Testing to Test Automation; once again keep following this space.

Asim Noaman Lodhi's picture
Advisory Software Quality Engineer at Systems Limited with over 8 years of experience in Software Quality Assurance and Management, Asim Noaman Lodhi is based in Lahore and is a regular contributor of the Systems Limited Blog.

Disclaimer: The views expressed here are solely those of the author in his private capacity and do not in any way represent the views of Systems Limited, or any other entity related to Systems Limited.

Add new comment