Chapter 4. Understanding and Creating Frameworks

This chapter provides a detailed approach and guidance for creating a framework for test automation.

Creating frameworks in QTP requires knowledge of the following:

  • VBScript basics, control structures, loops, and built-in functions
  • Basic concepts and approaches for designing various frameworks
  • Programming constructs that help to create the utilities for the framework

Programming with VBScript

Knowledge of Visual Basic script is essential to create frameworks. The knowledge of creating simple statements, controls structure, loops, and built-in functions in VBScript allows us to enhance the test scripts and make them more robust; it also allows us to interact with external resources. This section describes ...

Get Designing and Implementing Test Automation Frameworks with QTP now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.