Amazon cover image
Image from Amazon.com

Designing and implementing test automation frameworks with QTP [electronic resource] : learn how to design and implement a test automation framework block by block / Ashish Bhargava.

By: Material type: TextTextSeries: Professional expertise distilledPublication details: Birmingham : Packt Publishing, 2013.Description: 1 online resource (160 pages)Content type:
  • text
Media type:
  • computer
Carrier type:
  • online resource
ISBN:
  • 9781782171034
  • 1782171037
Other title:
  • Learn how to design and implement a test automation framework block by block
  • Designing and implementing test automation frameworks with QuickTest Professional
Subject(s): Genre/Form: Additional physical formats: Print version:: Designing and Implementing Test Automation Frameworks with QTP.DDC classification:
  • 005.14 23
  • 005.46
LOC classification:
  • QA76.76.T48
  • QA76.754 .B384 2013
Online resources:
Contents:
Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Automation Life Cycle and Automation Goals; The test automation life cycle; Feasibility study; Tool induction for automated testing; Defining a test automation strategy; Creating a automation test plan; Script design and development; Deployment, release, and maintenance; Tool selection; Capturing automation requirements; Developing a POC; Evaluating the tools; Tool selection criteria; Processes; Design, architecture, and documentation; Automation goals.
Goals for test automationGoals for framework design; Goals for design; Goals for script design; Setting quantifiable goals; Best practices; Choosing the most suitable tool for automation; Treating test automation as a development activity; Getting the right architecture; Ensuring relevant and up-to-date test data; Investing in team building and training; Conducting reviews and tests; Summary; Chapter 2: Essentials of Automation; About QTP; The QuickTest object model; Test objects; Object repositories; Record and replay; What happens when we record; What happens when we replay.
Script developmentAnalyzing an application; Creating OR (adding test objects to OR); Recording a test step; Adding a test object to OR; Creating an object description; Creating a test object using Define New Test Object; OR Manager Navigate and Learn and Add Object options; Adding test objects to the local object repository from Active Screen; Adding a test step; Enhancing scripts; Checkpoints; Synchronization; Reporter objects; Actions; Error handling; Parameterization; Environment Variables; Summary; Chapter 3: Basic Building Blocks for Creating Frameworks.
VBScript -- key features for creating code blocksVBScript procedures; Subprocedures; Function procedures; Checkpoints; Output value; Synchronization; Dynamic synchronization; Descriptive programming; Static programming; Dynamic programming; Regular expressions; Regular expressions in descriptive programming; Regular expressions in checkpoints; Regular expressions in CheckProperty; Error handling; Recovery scenarios -- an overview; Summary; Chapter 4: Understanding and Creating Frameworks; Programming with VBScript; Using VBScript; VBScript datatypes; Operators in VBScript.
Adding examples of expressionsControl structures and loops; Using loops; The Do Loop; Introducing frameworks; The automation framework and types of framework; Record and replay; Advantages and disadvantages of linear a framework; Introduction to the data-driven framework; The FileSystemObject object model; Introduction to the modular framework; Structure; Advantages; Design; High cohesion and coupling; Decreasing coupling and increasing cohesion; Analyzing the application; Creating a design; Setting up an environment; Creating Object Repository; Creating test-level components.
Summary: A tutorial-based approach, showing basic coding and designing techniques to build test automation frameworks. 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.
Holdings
Item type Current library Collection Call number Status Date due Barcode Item holds
eBook eBook e-Library EBSCO Computers Available
Total holds: 0

Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Automation Life Cycle and Automation Goals; The test automation life cycle; Feasibility study; Tool induction for automated testing; Defining a test automation strategy; Creating a automation test plan; Script design and development; Deployment, release, and maintenance; Tool selection; Capturing automation requirements; Developing a POC; Evaluating the tools; Tool selection criteria; Processes; Design, architecture, and documentation; Automation goals.

Goals for test automationGoals for framework design; Goals for design; Goals for script design; Setting quantifiable goals; Best practices; Choosing the most suitable tool for automation; Treating test automation as a development activity; Getting the right architecture; Ensuring relevant and up-to-date test data; Investing in team building and training; Conducting reviews and tests; Summary; Chapter 2: Essentials of Automation; About QTP; The QuickTest object model; Test objects; Object repositories; Record and replay; What happens when we record; What happens when we replay.

Script developmentAnalyzing an application; Creating OR (adding test objects to OR); Recording a test step; Adding a test object to OR; Creating an object description; Creating a test object using Define New Test Object; OR Manager Navigate and Learn and Add Object options; Adding test objects to the local object repository from Active Screen; Adding a test step; Enhancing scripts; Checkpoints; Synchronization; Reporter objects; Actions; Error handling; Parameterization; Environment Variables; Summary; Chapter 3: Basic Building Blocks for Creating Frameworks.

VBScript -- key features for creating code blocksVBScript procedures; Subprocedures; Function procedures; Checkpoints; Output value; Synchronization; Dynamic synchronization; Descriptive programming; Static programming; Dynamic programming; Regular expressions; Regular expressions in descriptive programming; Regular expressions in checkpoints; Regular expressions in CheckProperty; Error handling; Recovery scenarios -- an overview; Summary; Chapter 4: Understanding and Creating Frameworks; Programming with VBScript; Using VBScript; VBScript datatypes; Operators in VBScript.

Adding examples of expressionsControl structures and loops; Using loops; The Do Loop; Introducing frameworks; The automation framework and types of framework; Record and replay; Advantages and disadvantages of linear a framework; Introduction to the data-driven framework; The FileSystemObject object model; Introduction to the modular framework; Structure; Advantages; Design; High cohesion and coupling; Decreasing coupling and increasing cohesion; Analyzing the application; Creating a design; Setting up an environment; Creating Object Repository; Creating test-level components.

Creating script-level functions.

A tutorial-based approach, showing basic coding and designing techniques to build test automation frameworks. 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.

Includes index.

Print version record.

Master record variable field(s) change: 050, 072, 082

Powered by Koha