http://www.softwaretestinggenius.com A Storehouse of Complete Knowledge on Software Testing & QA under one Roof
Development of an effective test automation framework is a complex process involving many stages. Every stage poses different set of challenges, which need to be scientifically addressed. A sound framework can be created on a solid foundation of a good test automation approach. Few guidelines for creating the same are being described below.
The process begins with formulating a sound strategy for automation beginning with the requirement phase & extending till the deployment phase. This process is kick-started by understanding the set of business rules and various conditions specified by the client. Such business rules and conditions bearing operational similarities are grouped together in the form of test cases or scenarios.
Stages of building Test Automation Approach are as under:
Stage-1:
Stage-2:
Stage-3:
Capturing the requirement from the client:Includes onsite transfer of knowledge like understanding of all transactions including customized transactions etc. Understanding and analyzing the requirements: This may be done at the client end as well. Clubbing the requirement into groups of test cases:
According to the flow, grouping of all the transactions in the form of different scenarios. This follows identification of common functionalities and clubbing them together in the form of different test cases. Preparation of detailed design for automation:
Design for automation of scripts with special emphasis on the following
Stage-5: Creation of scripts according to the design
Stage-6:
Stage-7:
Practical Steps to Design Test Automation Approach:
Reviewing the offshore scripts if any Final delivery to the client Step-1: Identification of Test Cases that are needed to be automatedStep-2:
Identification of common functionalities & grouping them together# Login / Logout, code related to common functionality etc.
# Library for handling of Data Tables, Files, Strings & Dates etc.# Log Reporting, messaging, Error handling etc
Step-5:
Ten useful guidelines to identify Test Cases best suited for Automation:
Development of script with record & play back Tool Step-6: Verification & Validation of final script & then delivery.1) Identify the tests, which call for extensive involvement of the testing engineers or the ones that would be sparingly run. These tests should be certainly dropped from the list of tests for automation.
2) Identify the application paths with high frequency of use during full-scale production run of the application. Automated testing shall be best for evaluating the performance of such application paths. These can include activities with higher volume with larger probability of failure of the software such as billing / invoicing or other customer records etc.
3) Identify the special processes having critical importance for the business like processing of sales order etc. Such strategically important activities must be identified for automated testing.
4) Identify the events requiring repetitive testing, which would be ideal for automated testing.
5) Identify the applications having longer life span during production, since automation of such applications shall provide maximum benefits.
6) Try to avoid the dynamic screens. Although we can automate them but the script tends to become too complex.
7) Try to avoid screens involving dynamic creation of objects.
8) Try to avoid business scenarios involving use of complex hardware.
9) Try to avoid scenarios, which call for complex coding for automation. Our endeavor should be to have less complex script, which would eventually be easily maintainable.
10) Try to prove the scenario with tables having provision of identifying every row by a unique number. Script complexity should be reduced while handling enterprise wide applications like price list tables etc. A complex script tends to take more time for execution especially when the table contains large number of rows for picking up the data.
Stage-4:
a) Use of common coding structure in all scripts.
b) Use of consistent / common coding conventions.
c) Reusability must be the key in coding.
d) Extensive use of object repository
e) Extensive use of error and exception handling functions
f ) Extensive use of data table objects.
g) Extensive use of environment variables
Step-3: Identifying / defining the standards for coding, naming conventions and templates
Step-4: Creation of library of re-usable objects # Object Repositories, Tool & Application Settings etc
- Related Videos
- Related Articles
- Ask / Related Q&A
- Thirteen Top Questions about QTP Certification
- After Testing with QTP or LoadRunner, Manage your tests with HP- Quality Center
- In QTP Keyword Driven Testing versus Recording – Which one to choose?
- What setup is needed for Keyword Driven Testing in QTP?
- Want to win over excessive stress in your present IT Job?
- Hone Your Functional Test Automation Skills through Quality Quick Test Pro Training
- Typical Architecture of Automation Frameworks




Finding Long-Lasting Cell Phone Skins For Your Blackberry Model
By: BhratBrij | 01/01/2010If you are going on the Internet to look for places where you can get cell phone skins , which are made-to-measure, you can get customized Blackberry Tour skins, Blackberry Pearl skins, and Blackberry Curve skins quite easily there.
Know more about compact flash 16gb
By: philipwots | 31/12/2009It is almost a known fact that compact flash 16gb is a mass storage device format which is used in portable electronic devices in the market.
Pass4side 000-111 exam questions
By: Adela1987 | 30/12/2009Pass4side 000-111 Exam Resources include Questions and Answers, Practice Testing Software, Stud Guides, Audio Learning and Preparation Labs. These IBM 000-111 Exam Preparation Materials will make you provide the accurate answers of real 000-111 exam questions. With our Exam Resources you can test your knowledge and readiness for exam, assess your performance in a given time, get scores and highlighted weaknesses with suggestions to improve the weak areas.
8 GB USB DRIVE
By: Phillip Roth | 29/12/2009USB flash drive consists of a small printed circuit board carrying the circuit elements and a USB connector insulated electrically and protected inside a plastic, metal, or rubberized case which can be carried in a pocket.
Support Information About AA Online
By: Ed Philips | 26/12/2009Discover how to quit drinking as revealed in Ed Philips "Alcoholics Anonymous Online" support guide, which offers tried and tested alcoholic addiction methods to quit drinking within 21 days.
Know the information USB sticks
By: John Milton | 24/12/2009Now in the market there is high demand of usb sticks among its users. Seeing this the producers of usb sticks now focussing more on its reliability.
A Photography Course For All The Family
By: Dan Feildman | 23/12/2009Excellent Digital Photography Courses Introducing Free Digital Photography Guide called "How To Take Beautiful Digital Pics Made Simple". The latest tips on how to use a digital camera like a pro.
Reinforce Database Management with Remote DBA
By: Kashif Mukhtar | 23/12/2009Databases are the foundation of the digital economy. They store the information that run businesses and organize the vast amount of data that is created on a regular basis. Even though e-business infrastructures are requiring stronger database support to sustain their 24x7 operations, shrinking IT budgets are forcing companies to reduce the size of their DBA staff. With databases growing in size and complexity, the role of the already overburdened DBA is becoming increasingly difficult.
What is Software Testing - An Introduction
By: yogindernath | 25/11/2009 | E-LearningWhat is Software Testing - An Introduction
How to Manage Software Testing Effectively By Business management Approach
By: yogindernath | 25/11/2009 | SoftwareHow to Manage Software Testing Effectively By Business management Approach
Understanding the Typical Structure of Software Testing Process
By: yogindernath | 25/11/2009 | ProgrammingUnderstanding the Typical Structure of Software Testing Process
What is the Motive Behind Software Testing - An Overview
By: yogindernath | 25/11/2009 | Information TechnologyWhat is the Motive Behind Software Testing - An Overview
Who should test? and what? – An Overview
By: yogindernath | 17/09/2009 | Information TechnologyWho should test? and what? – An Overview
Tips for Creating Good Test Automation Approach
By: yogindernath | 06/08/2009 | DatabasesTips for Creating Good Test Automation Approach
Typical Architecture of Automation Frameworks
By: yogindernath | 06/08/2009 | Information TechnologyTypical Architecture of Automation Frameworks
Guidelines to create Best Test Automation Frameworks?
By: yogindernath | 06/08/2009 | Computer ForensicsGuidelines to create Best Test Automation Frameworks?