Designing and Implementing Test Automation Frameworks with QTP

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.
Preview in Mapt

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.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$16.80
RRP $23.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$16.80
$39.99
$29.99p/m after trial
RRP $23.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Designing and Implementing Test Automation Frameworks with QTP Book Cover
Designing and Implementing Test Automation Frameworks with QTP
$ 23.99
$ 16.80
Mastering Entity Framework Core - Advanced Querying, Migrations and Testing [Video] Book Cover
Mastering Entity Framework Core - Advanced Querying, Migrations and Testing [Video]
$ 124.99
$ 106.25
Buy 2 for $34.30
Save $114.68
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781782171027
Paperback160 pages

Book Description

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.

Table of Contents

Chapter 1: Automation Life Cycle and Automation Goals
The test automation life cycle
Summary
Chapter 2: Essentials of Automation
About QTP
The QuickTest object model
Test objects
Object repositories
Record and replay
Script development
Summary
Chapter 3: Basic Building Blocks for Creating Frameworks
VBScript – key features for creating code blocks
Checkpoints
Output value
Synchronization
Descriptive programming
Regular expressions
Error handling
Recovery scenarios – an overview
Summary
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
Summary
Chapter 5: Deploying and Maintaining Frameworks
Predeployment
Maintenance
Summary
Chapter 6: DOM- and XPath-based Framework in Web Applications
Document Object Model
Using XPath
Summary
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
Summary

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

Authors

Table of Contents

Chapter 1: Automation Life Cycle and Automation Goals
The test automation life cycle
Summary
Chapter 2: Essentials of Automation
About QTP
The QuickTest object model
Test objects
Object repositories
Record and replay
Script development
Summary
Chapter 3: Basic Building Blocks for Creating Frameworks
VBScript – key features for creating code blocks
Checkpoints
Output value
Synchronization
Descriptive programming
Regular expressions
Error handling
Recovery scenarios – an overview
Summary
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
Summary
Chapter 5: Deploying and Maintaining Frameworks
Predeployment
Maintenance
Summary
Chapter 6: DOM- and XPath-based Framework in Web Applications
Document Object Model
Using XPath
Summary
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
Summary

Book Details

ISBN 139781782171027
Paperback160 pages
Read More

Read More Reviews

Recommended for You

Selenium WebDriver Practical Guide Book Cover
Selenium WebDriver Practical Guide
$ 26.99
$ 18.90
Advanced UFT 12 for Test Engineers Cookbook Book Cover
Advanced UFT 12 for Test Engineers Cookbook
$ 26.99
$ 18.90
Web Services Testing with soapUI Book Cover
Web Services Testing with soapUI
$ 29.99
$ 21.00
Performance Testing with JMeter 2.9 Book Cover
Performance Testing with JMeter 2.9
$ 23.99
$ 16.80
Selenium Testing Tools Cookbook Book Cover
Selenium Testing Tools Cookbook
$ 26.99
$ 18.90
Selenium Design Patterns and Best Practices Book Cover
Selenium Design Patterns and Best Practices
$ 19.99
$ 14.00