The UFT One Java Add-in Extensibility tutorial comprises lessons that will familiarize you with the process of creating, testing, and deploying custom toolkit support. After completing the tutorial, you can apply the skills you learn to create UFT One support for your own custom toolkits and controls.
This tutorial is divided into lessons. Each lesson assumes that you have already performed the previous lessons or have an equivalent level of experience. In each lesson, you learn more about the capabilities and techniques available with UFT One Java Add-in Extensibility. It is recommended to perform the lessons in order.
In each lesson in this tutorial, you extend UFT One support for a different custom control, using the UFT One Java Add-in Extensibility Eclipse plug-in. The custom controls are provided in sample custom toolkits that you can find in the <Java Add-in Extensibility SDK installation folder>\samples folder.
This folder also contains the custom toolkit support sets required to support these custom controls and additional examples of custom toolkits and their support. If you deploy the sample custom toolkit support sets manually, you must compile the Java classes before deploying.
Each lesson in the tutorial explains the Java Add-in Extensibility wizard options that you need to use in that specific lesson. For more information on these wizards, see Using the UFT One Java Add-in Extensibility Eclipse Plug-In.
The lesson, Learning to Support a Simple Control, uses a basic custom Java control named ImageButton to teach you the fundamental elements of custom support. This lesson guides you through the steps required to create a custom toolkit support project containing one custom support class. Through this lesson, you will learn to recognize and understand the files and methods that comprise custom support.
In this lesson, you use two of the wizards provided by the UFT One Java Add-in Extensibility Eclipse plug-in: the New UFT One Java Add-in Extensibility Project wizard and the New UFT One Custom Support Class wizard.
The lesson, Learning to Support a Custom Static-Text Control, uses the ImageLabel control to teach you how to support a static-text control. This lesson guides you through the steps required to create a support class for a static-text control in an existing custom toolkit support project. (The ImageLabel control belongs to the same custom toolkit as the ImageButton control that you used in the previous lesson.) Through this lesson, you will learn about the basic methods that are required in a support class for a static-text control.
In this lesson, you use the New UFT One Custom Static-Text Support Class wizard provided by the UFT One Java Add-in Extensibility Eclipse plug-in.
The lesson, Learning to Support a Complex Control, uses the custom Java control AllLights to teach you more about custom support. AllLights is a complex control with unique behavior that requires a new test object class definition. The lesson guides you through the steps of creating a custom support class containing new identification properties and test object methods that did not exist in the parent support class. You will also learn to understand the test object configuration file.
You must have the following items installed on a computer on which support has not yet been implemented for the custom toolkits and controls in this tutorial. If such support has already been implemented, remove the support as described in Deploying and Running the Custom Toolkit Support.
For a list of supported Eclipse versions, see the Micro Focus UFT One Support Matrix.
For information on installing Eclipse or the Java Add-in Extensibility SDK see Installing the Micro Focus UFT One Java Add-in Extensibility Software Development Kit.
For information on installing UFT One (UFT One), see the Micro Focus UFT One Installation Guide.
If your UFT One installation is not on the same computer as Eclipse, you can still perform the lessons in this tutorial. However, when you are instructed to deploy the toolkit support to UFT One, you must manually transfer the custom support class files and configuration files to the correct folders on the UFT One computer as described in Deploying and Running the Custom Toolkit Support.
The lessons in this tutorial assume you have the background knowledge described below:
You should have a thorough understanding of the following: test objects, object repository, Object Spy, Keyword View, and Editor. You should also have experience recording, editing, and running tests. For more information, see the Micro Focus UFT One User Guide.
You should be familiar with the concepts related to Java programming (class, package, interface, inheritance, and so on) and know how to write and compile Java classes.
You should be familiar with the concepts of elements and attributes and feel comfortable working with schemas and editing XML files.
This tutorial assumes familiarity with the concepts described in Implementing Custom Toolkit Support.