Open topic with navigation
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 Java Add-in Extensibility. It is recommended to perform the lessons in order.
In each lesson in this tutorial, you extend UFT support for a different custom control, using the UFT 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 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 Java Add-in Extensibility Eclipse plug-in: the New UFT Java Add-in Extensibility Project wizard and the New UFT 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 Custom Static-Text Support Class wizard provided by the UFT 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.