Open topic with navigation
You use the New UFT Custom Static-Text Support Class wizard to create a support class for a custom static-text class within a Java Add-in Extensibility project. Supporting a static-text class enables UFT to use its label property as the attached text for an adjacent control.
The only thing that you need to specify in this wizard is which custom class you want to support as a static-text class (and the controls of this class represent top-level objects, if relevant). The wizard creates the new support class with the methods required for the support of static-text objects. These methods are described in Custom Static-Text Support Class Summary Screen.
After the wizard creates the new support class, you complete its implementation as described in Completing the Custom Static-Text Class Support.
In most cases, it is not necessary to support any additional identification properties or test object methods for a static-text control. However, after the wizard creates the new support class, you can add additional methods to the class, providing support for additional identification properties or test object methods, or for recording. You can add these methods manually, or by using the commands described in Working with UFT Commands in Eclipse.
In the Eclipse Package Explorer tab, select a UFT Java Add-in Extensibility project. Then select File > New > Other. The New dialog box opens.
Expand the Unified Functional Testing folder and select UFT Custom Static-Text Support Class.
Click Next. The Custom Static Text Class Selection Screen opens.
Tip: You can shorten this process by customizing Eclipse to provide UFT Custom Static-Text Support Class as an option in the New menu. To do this, perform the following: Select Window > Customize Perspective. In the Shortcuts tab in the dialog box that opens, select the Unified Functional Testing and UFT Custom Static-Text Support Class check boxes. Click OK.