Free Sample
+ Collection

Designing and Implementing Test Automation Frameworks with QTP

Ashish Bhargava

With test automation becoming the norm, this is an essential course in framework designing with QTP. Mixing conceptual and practical elements, it imparts all the know-how you need to implement the framework.
RRP $23.99
RRP $39.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781782171027
Paperback160 pages

About This Book

  • A simple and easy demonstration of the important concepts will enable you to translate abstract ideas into practice
  • Each chapter begins with an outline and a brief statement of content to help the reader establish perspective
  • An alternative approach to developing generic components for test automation

Who This Book Is For

If you are a beginner, an automation engineer, an aspiring test automation engineer, a manual tester, a test lead or a test architect who wants to learn, create, and maintain test automation frameworks, this book will accelerate your ability to develop and adapt the framework.

Table of Contents

Chapter 1: Automation Life Cycle and Automation Goals
The test automation life cycle
Chapter 2: Essentials of Automation
About QTP
The QuickTest object model
Test objects
Object repositories
Record and replay
Script development
Chapter 3: Basic Building Blocks for Creating Frameworks
VBScript – key features for creating code blocks
Output value
Descriptive programming
Regular expressions
Error handling
Recovery scenarios – an overview
Chapter 4: Understanding and Creating Frameworks
Programming with VBScript
Introducing frameworks
Introduction to the data-driven framework
Introduction to the modular framework
The keyword-driven framework
The hybrid framework
Business Process Testing
Application-independent framework
Chapter 5: Deploying and Maintaining Frameworks
Chapter 6: DOM- and XPath-based Framework in Web Applications
Document Object Model
Using XPath
Chapter 7: Capturing the Lessons Learned
Preparing for the lessons to be learned
Collecting and documenting learning
Best practices for collecting lessons learned
Discussing lessons learned
Storing and sharing lessons learned

What You Will Learn

  • Understand the test automation lifecycle, as well as the goals that drive and guide its framework design
  • Grasp the basic features of QTP that help in creating frameworks
  • Learn about the various goals of each level of framework and how they drive the designing of the framework
  • Create basic building block supports
  • Understand the types of framework and how to design and use them
  • Use Javascript and HTMLDOM effectively
  • Capture lessons learnt in framework designing and share those experiences
  • Deploy and maintain frameworks
  • Build an XPath expression, locate the elements and perform an action on it

In Detail

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.

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.

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.


Read More