RSS Feed

Best Practice of Test Automation Framework

Posted on

Need for Test Automation Framework:

In today’s scenario, the companies generally depend upon multiple applications which

1) Had been developed to work on different operating systems.

2) Use many different front-end clients.

3) Involve large number of business processes.

4) Interact with several types of data sets.

Judiciously testing all possible permutations of such components creates a highly complex testing situation with hundreds or thousands of testing scenarios. Under such situations there comes a need for automating the testing process with the help of automation framework approach, which can help in achieving detailed testing with great reduction in testing time.

It can never be a workable idea to automate all the test cases. Hence it is important to scientifically understand the areas which can be automated. Remember that an ad-hoc approach to test automation can in fact, lead to longer testing time and poor quality irrespective of the name & fame of the testing tool selected by you.

Ten Steps for Test Automation Framework Methodology:

1) Identification of the Scope of Testing:Company oriented, Product oriented, Project Oriented.

2) Identification of the Needs of Testing:Identify Types of testing e.g. FT, Web Services etc. and application / modules to be tested.

3) Identification of the Requirements of Testing: Find out the nature of requirements, identify type of actions for each requirement & identify high priority requirements.

4) Evaluation of the Test Automation Tool: Evaluation checklist, Identify the candidate tools available in the market, Sample run, rate & select the tools, Implementation & Training

5) Identification of the Actions to be automated: Actions, Validations & requirements supported by the Tool

6) Design of the Test Automation Framework: Framework guidelines, validations, Actions Involved, Systems involved, Tool Extensibility Support, Customs messages & UML Documentation.

7) Design of the Input Data Bank: Types of Input file. Input files – Categorization & Design of file prototypes.

8) Development of the Automation Framework: Development of script based upon framework design, Driver scripts, Worker Scripts, Record / Playback, Screen / Window / Transaction, Action / Keyword & Data Driven.

9) Population of Input Data Bank: Different Types of data Input, Populate data from different data sources, Manual input of data and Parent – Child data hierarchy.

10) Configuration of the Schedulers: Identify scheduler requirements & configure the schedulers.

Benefits of Test Automation Framework Approach:

1) Test Automation Framework built with systematic approach yields following benefits:

2) Significant reduction in testing cycle time.

3) Comprehensive coverage against requirements.

4) Use of a “Common Standard” across the organization / Product team / Project team

5) Generation of reusable test scripts ( Utility Functions)

6) Systematic maintenance of automation scripts

7) Data Pooling

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: