Using the VBScript Reference

UFT's Editor is a VBScript Editor. Therefore, in addition to entering test object statements and other testing-oriented functions, you can manually enter any valid Microsoft VBScript statement. You can also use the Step Generator from the Editor or from the Keyword View to insert many VBScript statements.

To assist you, the Unified Functional Testing Help includes Microsoft's Visual Basic Scripting documentation, with information relevant when working with UFT:

  • VBScript. Includes a user's guide and a thorough reference of objects, methods, properties, functions, and other elements that can be used when writing VBScript scripts.
  • Script Runtime. Describes the Dictionary object, FileSystemObject object, and the Script Encoder tool.
  • Windows Script Host. Includes overview information and a reference for working with the Microsoft Windows Script Host tool.

Note: Although some of the topics in these three sections may contain both VBScript and JScript information or examples, UFT supports only VBScript. Do not attempt to use JScript examples from the VBScript reference in UFT.

Using the Microsoft Visual Basic Scripting Documentation

All Help topics under the VBScript Reference > VBScript, VBScript Reference > Script Runtime, and VBScript Reference > Windows Script Host sections are from Microsoft. These Help files were not prepared by HPE and HPE is not responsible for their content. These help files were taken directly from Microsoft's Script56.chm help file, downloaded from https://www.microsoft.com/en-us/download/details.aspx?id=2764.

In accordance with section 1d of the End-User License Agreement for Microsoft Software, provided with Microsoft Windows Script 5.6, only unmodified portions of the documentation from the Script56.CHM help file relating to VBScript have been included herein under the VBScript Reference heading.

The information under the VBScript Reference heading may contain errors, problems, or other limitations. HPE makes no representations whatsoever as to the accuracy, adequacy, reliability, currentness, completeness, suitability or applicability of the information under the VBScript Reference heading. HPE is not responsible for any damages, including the loss of time, which may result from using the information in the help files under the VBScript Reference heading.

The content under the VBScript Reference heading may contain links to Internet sites. Such links may not provide access to the intended site, or any site. Further, such links are not endorsements of any products or services in such sites, and no information in such site has been endorsed by HPE.

SOME OF THESE HELP PAGES OR INTERNET SITES WILL MAKE REFERENCE TO JSCRIPT, HOWEVER THESE REFERENCES ARE NOT APPLICABLE TO UFT BECAUSE UFT DOES NOT SUPPORT JSCRIPT.

Windows®, Microsoft®, JScript®, and Visual Basic® are registered trademarks of Microsoft Corporation in the United States and other countries. There is no relationship between Microsoft Corporation and HPE. The views expressed in the Help topics under the VBScript Reference heading are solely those of Microsoft Corporation.

The following notice applies to the Microsoft VBScript Help topics:

© 2006 Microsoft Corporation. All rights reserved.

Build: Topic Version 5.6.9309.1546