Scripting language for Quick Test Professional (QTP) is VBScript.
VBScript (short for Visual Basic Scripting Edition) is a lively Scripting language interpreted via Microsoft's Windows Script Host.
VBScript has many powerful functions and provides excellent support for variables, data types, and error handling.
Two script engines can interpret VBScript- VBScript.dll, which is invoked by asp.dll is used in web environment and Wscript.exe & Cscript.exe in Windows GUI environment using Windows script Host (WSH, We typically use VBScript within WSH to automate systems administration tasks. WSH is the system module that transforms a VBScript file into a Windows executable file). Wscript.exe is used to display output and receive input in Windows GUI format such as dialog and input boxes. Cscript.exe is used in a command-line environment. When VBScript source code is contained in stand-alone files, they have the file extension .vbs.VBScript VariableVBScript ArraysVBScript Functions and SubroutinesVBScript Conditional StatementsVBScript Looping Statements
Important VBScript Date & Time Functions at one place, so you don’t have to go anywhere else when you need to look at them. (10 more added e.g. DatePart, DateSerial, MonthName, TimeValue, WeekdayName etc.)