VB Script in QTP
Scripting language for
QuickTest 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.
No comments:
Post a Comment