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:
- .qfl file (UFT function library),
- .vbs file (visual basic script), and ...