O'Reilly logo

Agile Automation and Unified Funtional Testing by Rajeev Gupta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 18

Library

Library is a collection of functions, classes, variables, etc. It contains VBScript code and data that provide services to various QuickTest actions. Library files allow one-point sharing and changing of code and data across all test scripts in a modular fashion. Changes made to variables value or function definition is automatically passed on to all the test scripts that access it. During run-time too, changes made to global variable values by one part of the code can be accessed and used by other part of the code. Designing of function helps reducing code redundancy and maximizing code reusability. Library files in UFT can be designed in three ways:

  1. .qfl file (UFT function library),
  2. .vbs file (visual basic script), and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required