Pages

Tuesday, September 23, 2014

Test Automation Life Cycle

Test Automation Life Cycle

Following are the phases of Test Automation Life Cycle. It can be varied from project to project.
1.      Automation Feasibility Analysis
1.1.   Decision to Automate Test
1.2.   Overcoming False Expectations for Automated Testing
2.      Test Strategy
3.      Environment Set up
4.      Test Script Development
5.      Test Script Execution
6.      Test Result Generation and Analysis

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?

1.1 Decision to Automate Test

In this phase it is important for the test team to manage automated testing expectations and to outline the potential benefits of automated testing when implemented correctly. A test tool proposal needs to be outlined, which will be helpful in acquiring management support.

1.2 Overcoming False Expectations for Automated Testing


Automated testing is valuable and can produce a return on investment, there isn't always an immediate payback on investment.
Some myths regarding automation testing should be cleared. People often see test automation as a silver bullet, but they have to understand that test automation requires a significant investment of time and energy to achieve a long-term return on investment (ROI) of faster and cheaper regression testing.  Automation testing should be introduced correctly into a project to manage the valid expectations.
Also, feasibility analysis should be done on the manual test case pack which enables automation engineers to design the test scripts.
Following are the feasibility check to be done to begin test automation:
  • AUT automation feasibility
  • Test Case automation feasibility
  • Tool feasibility

1.3 Proof of Concept phase (POC)


Objective of this phase is to do POC for customer after customer is identified as a lead.
Activities –
         Identification and evaluation of test automation tool.
         Identification of FW and changes as needed.
         POC / Test cases development and scripting to be done as needed by the customer.
         Typically this takes 1 weeks’ time.
         Arrange a demo for the customer.
         There is no guarantee that the project will come to.
Deliverables
         POC done.
         Demo to customer.

2. Test Strategy

This phase defines how to approach and accomplish the mission. First 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
Other factors which involves in test strategy as follows
  1. Schedule
  2. Number of resources
  3. Mode of communication process
  4. Defining in-scope and out-of-scope
  5. 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

Activities of Automation test engineers are as follow:
  1. Object Identification
  2. Creating Function Libraries
  3. Building the scripts
  4. Unit testing the scripts
  5. Test execution

 5.  Test Script Execution

Following are the tasks involved with test script execution team.
  1. Test script execution
  2. Defect Logging
  3. Modifying scripts as developer changes occur

 6. Test Result Generation and Analysis

Result generation and analysis is the last phase and important deliverables in test automation. Results must be base lined 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

No comments:

Post a Comment