chapter018

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 ...

Get Agile Automation and Unified Funtional Testing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.