Sunday, 13 May 2012

Automation Testing Basics

Automation engineering has emerged as a flourishing career option for engineering graduates in the past couple of years. After having worked as an automation testing engineer for over a year, I have been intrigued by the intricacies of several aspects associated with this field. It has been fascinating to get answers to several questions that troubled me during my learning phase.

Majorly, development and testing are two aspects of automation engineering. Generally, there is a misconception amongst freshers that development is better than testing. Even I had believed the same till I didn’t get the chance to work as an Automation tester. Just like most of the beginners,  I thought development was good but since the day I explored testing I experienced that I was wrong.

Let us understand the differences between development and testing. 

Development means designing and coding of an application whereas in automation testing you have the challenge to code the things plus you need to take care that your code never breaks down due to some or the other reasons.

On the other hand, tester is the authorized person to declare a product defect/bug free and only after his approval  any product goes on line.

So guys this is the beauty of testing.

Now, if you want to become an automation testing professional, you must possess following skill sets in your personality:
  • Logical Mindset
  • Analytical Ability
  • Eagerness to learn new things
If you have these attributes in your personality, you will find that learning automation is a fun process. However, if you don’t have an analytical bend of mind, you will find it difficult to grasp automation testing concepts.

Now, Lets first define automation testing.
As the name suggests automation testing is something in which we run our test cases/scenarios/suite over hundreds of records without any manual intervention.
Some of the terms in above definition will be new for you all like test cases/scenarios/suite, manual intervention, and records. So before proceeding, let’s first look at all these things.

Let us consider test cases/scenarios/suite:

  • Test Case: You may simply say test cases are the set of the instructions that has to be done in sequential form on an application to check any functionality.
  • Test scenarios/Suite: It consists of set of the test cases which user uses to create end to end scenario to check the interaction of different modules within an application.
  • Records:It refers to the data set means a collection of data against which we are going to test our application means user input
  • Manual Intervention: As the name suggests, it is something that halts the automation process and we need to proceed by manually processing the steps/action/events.
Till now we covered the overview of the automation testing.

Before moving into the depth of automation testing ,lets first see what is testing and advantage of automation testing plus career in automation testing.

Brief Introduction to Testing:
Testing can be referred as an approach which is done to check the quality of the product or the service under test.In other words, testing is a way to check if a product works in the desired way so that there is no business loss once the product goes on-live.Details of the various types of testing will be dealt separately in another article. 
Now moving on to some advantages of Automation testing:
  • Reliable: Tests perform precisely the same operations each time they are run, thereby eliminating human error
  • Repeatable: You can test how the software reacts under repeated execution of the same operations.
  • Programmable: You can program sophisticated tests that bring out hidden information from the application.
  • Comprehensive: You can build a suite of tests that covers every feature in your application.
  • Reusable: You can reuse tests on different versions of an application, even if the user interfaces changes.
  • Better Quality Software: Because you can run more tests in less time with fewer resources.
  • Fast: Automated Tools run tests significantly faster than human users.
  • Cost Reduction: As the numbers of resources for regression test are reduced hence the cost of overall testing reduces.
 Till now we have seen brief descriptions about everything except the career scope of automation engineers.
  • All you need to make a career in this field is an engineering degree in relevant subjects along with the aforementioned attributes. So find out for yourself, if you’re interested in this field and then proceed to make a career in this field. 
 In the next article, before proceeding to basics of QTP, I will throw some light on the concept of feasibility analysis and its role in automation.