Book Image

Designing and Implementing Test Automation Frameworks with QTP

By : Ashish Bhargava
Book Image

Designing and Implementing Test Automation Frameworks with QTP

By: Ashish Bhargava

Overview of this book

<p>As software testing is maturing, the focus is shifting towards test automation. The key is to learn and grow skills in framework designing and start contributing to project organization goals.</p> <p>Through a helpful mix of conceptual and practical aspects, you will learn everything you need to know related to the implementation of frameworks using QTP. Through simple examples, you will gradually develop the skills needed to execute concepts and code blocks used to design and implement the test automation framework.</p> <p>This tutorial-based guide demonstrates an easy way to implement concepts to create a portable framework across the various versions of QTP. You will learn about the automation lifecycle and gradually develop technical concepts related to each phase. Within a short amount of time, you will be able to deal with challenges in test automation. "Designing and Implementing Test Automation Frameworks with QTP" uses a simple, yet elegant approach and gives the reader all the skills and knowledge they need to implement the framework.</p>
Table of Contents (15 chapters)
Designing and Implementing Test Automation Frameworks with QTP
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
1
Automation Life Cycle and Automation Goals
Index

The hybrid framework


The hybrid framework allows combining the two frameworks to leverage their strengths and remove their weaknesses. Most frameworks, which are developed, fall into this category that uses the function decomposition like modular frameworks and the data-driven approach.

Key steps in designing the hybrid framework are as follows:

  1. Creating the folder structure.

  2. Creating and storing automation resources.

  3. Organizing and managing resources.

  4. Integrating the frameworks.

  5. Dry run.

Advantages of the hybrid framework

Hybrid framework allows leverages, and pulls the strengths of the other frameworks and eliminates their shortcomings, which suits the automation. Practically, most of the test automation solutions fall in this category.

Key challenges

Though it mitigates the weaknesses of the other approaches, it loses its generosity and is very specific to the test automation solution AUT, which reduces the reusability of its components across the multiple AUTs.