Close

November 3, 2012

Test Automation Life Cycle

Test Automation Life Cycle - qainsights

I hope you enjoyed my earlier blog post on Software Testing Life Cycle. In this blog post, we will pitch in to Test Automation and discuss about Test Automation Life Cycle. Today’s world is very fast, everybody wants their job should be finished as early as possible along with quality. This applies for software testing too. Manual testing validates the right product delivery whereas Test Automation expedites the testing process.

Consider a test engineer who executes regression test cases which has complex data and validation or more time and effort required to complete. It is not possible to execute the same set of test cases repeatedly. He may miss to validate few data points which lead to miss defects.

It is ideal to switch from manual testing to test automation. Test automation tools accomplish complex test cases quickly and effectively. Following are the advantages of Test Automation

  • Reliability
  • Speed
  • Efficient
  • Reusability
  • Increase in test coverage
  • Schedule adherence

For regression testing, already requirements would have been in place. It is not mandatory to collect the Functional requirements specifications. However, it is ideal to collect the regression test pack from the manual testing team.

Now we will see how to approach and implement test automation in the project.

Following are the phases involved in Test Automation Life Cycle. This can be varied from organization to organization or project to project.

  1. Automation Feasibility Analysis
  2. Test Strategy
  3. Environment Set up
  4. Test Script Development
  5. Test Script Execution
  6. Test Result Generation and Analysis

Below is the snapshot of Test Automation Life Cycle.

Test Automation Life Cycle - qainsights

Test Automation Life Cycle - qainsights

1.       Automation Feasibility Analysis

Before kicking off implementing test automation, it is mandatory to analyze the feasibility of the application under test (AUT). Whether AUT is a right candidate or not for the test automation?

Also, feasibility analysis should be done on the manual test case pack which enables automation engineers to design the test scripts.

Apart from above feasibility, tool check can be done if your client insists to use their recommended tool selection.

Following are the feasibility check to be done to begin test automation:

  • AUT automation feasibility
  • Test Case automation feasibility
  • Tool feasibility

2.       Test Strategy

Test Strategy is the most critical phase in test automation. This phase defines how to approach and accomplish the mission. First and foremost in test strategy is selection of test automation framework.

Following are the types of test automation framework:

  1. Record and Playback Framework
  2. Functional Decomposition Framework
  3. Keyword/Table Driven Framework
  4. Data Driven Framework
  5. Hybrid Framework
  6. Business Process Framework

Most of the projects prefer Hybrid framework which is the combination of Keyword driven and Data driven framework. Because it has high reusability, more robust and pros when compared with other kinds of frameworks.

Other factors which involves in test strategy as follows

  1. Schedule
  2. Number of resources
  3. defining SLA
  4. Mode of communication process
  5. Defining in-scope and out-of-scope
  6. Return on Investment analysis

3.       Environment Set up

It is ideal to execute test automation scripts in regression environment. Test environment set up phase has following tasks:

  1. Sufficient tool licenses
  2. Sufficient add-ins licenses
  3. Sufficient utilities like comparison tools, advance text editors etc.
  4. Implementation of automation framework
  5. AUT access and valid credentials

4.       Test Script Development

This phase is the inception of implementing test automation. Activities of Automation test engineers as follows:

  1. Object Identification
  2. Creating Function Libraries
  3. Building the scripts
  4. Unit testing the scripts
  5. Warm-up test execution

 5.       Test Script Execution

Unit tested and signed-off Test scripts will be delivered to automation testing team for script execution. Following are the tasks involved with test script execution team.

  1. Test script execution
  2. Updating the execution or coverage tracker
  3. Defect Logging

 6.       Test Result Generation and Analysis

Result generation and analysis is the last phase and important deliverables in test automation. Results must be baselined and signed-off. Following are the important activities in this phase:

  1. Result analysis
  2. Report generation
  3. Documenting the issues and knowledge gained
  4. Preparation of client presentation

In next blog post, we will discuss about Performance Testing Life Cycle. If you like us, please subscribe for our free updates.

About NaveenKumar Namachivayam

Hi there! is a passionate and experienced Performance Test Analyst based in Chicago, USA with skill sets in Manual Testing, Test Automation, Performance Testing, and Test Estimation. He loves to learn and experiment new trends and models in Software Testing. Please stop by at his personal blogs: Excel Blog, DealsBrook, NaveenKumarN.in, and Affiliate Insights blog and Software Testing Memes.

2 Comments on “Test Automation Life Cycle

Dinesh Reddy
April 27, 2017 at 5:58 pm

who should time waste while sharing your article. If your website having enough content then your website is automatically popular. Please remove share popup in your site.It’s better to you.

Reply
NaveenKumar Namachivayam
May 5, 2017 at 10:23 am

Please do not waste time in sharing or liking my page.

Reply

Leave a Reply

Your email address will not be published. Required fields are marked *