Monday, April 26, 2010

Thoughts on Automation Framework

Steps involved in Approach for Test Automation are as follows:
· Requirement gathering from the client
· Understanding and Analyzing the Requirement
· Grouping the requirement into Test cases
· Preparing the Design for Automation
· Building Scripts depending on the Design
· Review of Scripts at Offshore
· Delivery to the Client
Guidelines to be followed for Quality deliverable of Automation Framework
  • Following common coding structure for all the scripts
  • Consistent coding conventions
  • Use of Re usability for making code efficient and minimal
  • Efficient use of Object Repository
  • Use of Error and Exception handling Functions
  • Use of Data table object, Environment variables for using data
Frame work Components:
  • Object Repository Maintenance
  • Driver Script
  • Functional Library
  • Test DATA – Excel/XML/DATABASE Or any other external file
  • Initialization / Configuration (Environment & Global Variables)
  • Action Scripts

Design of the Approach for Test Automation is given below
  • Identification of Test Cases for Automation
  • Identification of Common Functionality
  • Coding Standards, Naming Conventions & Templates
  • Building the Re-Usable Library
  • Application Login, Logout, Common Functionality Related code etc
  • Tool & Application Settings, Restoring, Object Repository, Recovery, House Keeping etc
  • General library containing String handling, Date handling, File Handling, Data
  • Table handling
  • Error handling, Log Reporting, messaging etc
  • Script Development using Record & Play back
  • Deliver the script after Verification & Validation

No comments:

Post a Comment

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | JCpenney Printable Coupons