Open topic with navigation
The Micro Focus UFT Java Add-in Extensibility SDK enables you to design UFT support for custom Java controls. The SDK installation includes:
An API that you can use to create support for custom Java controls
A plug-in for the Eclipse IDE (integrated development environment) for Java developers that provides:
Wizards that guide you through the process of creating custom toolkit support sets
The Java Add-in Extensibility wizards in Eclipse create all of the required files, classes, and methods. These wizards also provide method stubs for methods that you may need to implement.
Commands for editing the files after they are created
A set of sample applications and completed Java Add-in Extensibility projects that extend support for these applications. (The sample applications and their support sets are installed in the <Java Add-in Extensibility SDK installation folder>\samples folder.)
You can use the samples provided as part of the Java Add-in Extensibility SDK to learn more about designing Java Add-in Extensibility support sets.
The samples assume that the SDK is installed in the %ProgramFiles%\Micro Focus\Unified Functional Testing folder, on a 32-bit operating system.
If this is not the case, you need to make the following adjustments in the sample toolkit support sets before you can use them on UFT.
If your SDK is not installed in %ProgramFiles%\Micro Focus\Unified Functional Testing:
For each sample, in the toolkit configuration XML file located in the Configuration folder (in the <Java Add-in Extensibility SDK installation folder>\samples\<SampleName>Support folder), update the SupportClassPath property with the current UFT installation path.
For each sample, in the .classpath file located in the <Java Add-in Extensibility SDK installation folder>\samples\<SampleName>Support folder, update all relevant file paths according to the current UFT installation path.
If your SDK is installed on a 64-bit operating system, make the following additional change for each sample: In the .classpath file, modify the path to the mic.jar file from C:/Program Files/Micro Focus/Unified Functional Testing/bin/java/classes/mic.jar to <Java Add-in Extensibility SDK installation folder>/bin/java/classes64/mic.jar.