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 the VBScript features that are useful throughout the designing of the frameworks.
QTP uses VBScript as a scripting language. VBScript allows scripts to deal with resources that are not a part of the QTP itself, for example, filesystem and external data sources (Excel, databases, and so on). VBScript allows us to define the function procedures; it provides a lot of built-in functions that help to create the reusable functions. VBScript supports the regular expression that assists in verification and validation. Since it's a lightweight language, the framework designer is benefited.