Understanding Test Automation Frameworks Part 1

Posted By : Aditi Nahar | 27-Mar-2018

In this article, I will discuss Test Automation framework, its types and then one of the basic framework type.

 

This article is written keeping in mind that you are aware of the term “automation” in software testing.

 

Understanding the term Test Automation Framework:

Test Automation reduces manual efforts by automating repetitive tasks, thus it brings increased efficiency, effectivity and coverage in software testing. In order to simplify and scale testing efforts, frameworks are used. A framework can be defined as a template with some set of guidelines which can be used to run automation test scripts in required order to produce efficient results. However, I want to make it clear that framework is totally different from an automation tool which performs a specific task. Rather it is an infrastructure which provides the solution for tools to perform tasks in a consistent manner.

Thus, in brief, Test Automation Framework is a suit of components which facilitates creation & execution of automated test scripts and supports reporting of the related results.

 

Types of Test Automation Frameworks:

5 primary test automation frameworks are:

1. Linear Scripting

2. Structured Scripting

3. Data-Driven

4. Keyword-Driven

5. Hybrid

 

 

About Linear Scripting Automation Framework:

It is the simplest of all frameworks as it uses Record and Playback mechanism to capture each testing step and write it out in a script file. Each interaction is recorded in separate line with checkpoints and validations. Using this framework is a very good way to start with basic automation testing as it forms a base in understanding all other advanced frameworks. It is mainly used to automate small sized applications and is suitable where requirements do not change frequently.

Testers can work directly on recorded scripts and can make changes according to their test scenarios and test cases. For example :

a. Loops can be written where steps are repetitive.

b. Validations can be added to ensure full proof testing.

 

Merits of using it:

  • It provides the fastest way to generate automation test script.

  • Extensive knowledge of programming language not required.

  • Features of automation testing tool can be learned easily with it.

 

Demerits associated with it:

  • Maintenance of scripts is required.

  • Reusability of code is very less.

  • Test data is hardcoded thus running tests with multiple data sets is not possible.

 

In my next blog, I will discuss on other automation frameworks.

Keep reading!!

 

 

 
Related Tags

About Author

Author Image
Aditi Nahar

Aditi is a certified QA Engineer with a strong command over management tool sets like JIRA and Trello, as well as QA tool sets for API and performance testing. She possesses excellent verbal and written communication skills and has gained valuable experience in management and leadership while collaborating with clients and large teams. Aditi's ability to apply creative thinking and problem-solving skills makes her adept at handling challenging business scenarios. Her proficiency in manual testing has proven instrumental in identifying issues and ensuring the functionality of applications across web, mobile, and TV platforms. She has made significant contributions to both internal and client projects, including Bits2Btc, AUS-BTC, EZBitex, ACL EAP, Scaffold, Iron Systems VRP, Oremus Zoho, and NOWCAST OTT.

Request for Proposal

Name is required

Comment is required

Sending message..