PacktLib: Designing and Implementing Test Automation Frameworks with QTP

Designing and Implementing Test Automation Frameworks with QTP

Credits

About the Author

Acknowledgments

About the Reviewers

www.PacktPub.com

Preface

Automation Life Cycle and Automation Goals

The test automation life cycle

Summary

Essentials of Automation

About QTP

The QuickTest object model

Test objects

Object repositories

Record and replay

Script development

Summary

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

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

Deploying and Maintaining Frameworks

Predeployment

Maintenance

Summary

DOM- and XPath-based Framework in Web Applications

Document Object Model

Using XPath

Summary

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

Index