Welcome to the UFT One Code Samples Plus Help

Code samples plus is a supplemental kit provided with UFT One that contains a set of commonly used VBScript script excerpts, function library functions, and test samples.

Overview

The samples are divided into the following sections:

  • Function Libraries contains a set of commonly used VBScript script excerpts and function library functions.
  • Flight Application Test Samples describes available tests and utilities that allow you to check the behavior of the UFT One sample flight applications.

Back to top

Prerequisite Background

This guide is intended for UFT One users who will be writing their own scripts. The guide assumes that you are familiar with UFT One features and options.

This guide should be used in conjunction with the UFT One User Guide and the UFT One Object Model Reference for GUI Testing.

Back to top

Sample Applications

You can access the following sample applications from the Start menu. These applications are the basis for many examples in this guide:

  • Advantage Online Shopping sample Web site. The URL for this Web site is https://advantageonlineshopping.com.

  • Flight reservation application. To access from the Start menu, select Micro Focus > Flight API / Flight GUI.

    These applications are also available from the file system at:  <UFT One installation folder\samples\Flights Appilcation\FlightsGUI.exe (for the Flight GUI application) or <UFT One installation folder>\samples\Flight_Application\FlightsAPI.exe (for the Flight API application)

Back to top