Web Add-in Extensibility Developer Guide > Tutorial: Learning to Create Web Custom Toolkit Support > Learning to Create UFT Support for a Complex Custom Web Control > Preparing for This Lesson

Preparing for This Lesson

Before you extend UFT support for a custom control, you must have access to its source file. You do not need to modify any of the custom control's sources to support it in UFT, but you do need to be familiar with them. Make sure you know what elements and attributes comprise the control, the events that may occur on this control, and so on. You use this information when you design the support.

The source file for the UsedBooks control is located in %ALLUSERSPROFILE%\Documents\ExtAccTool\Samples\WebExtSample\Application\UsedBooks.htm.

To run the sample application, open the %ALLUSERSPROFILE%\Documents\ExtAccTool\Samples\WebExtSample\Application\Book.htm file. The Book control opens. In the Book control, click Used to run the UsedBooks control.

Run the control, open its source file, and study the control's behavior and implementation.

The UsedBooks control is implemented as a div element that comprises a Web table containing information about the available used copies of this book and radio buttons, and a Select link (outside the table element) used to select a book from the list. Selecting a book and opening the page about the selected book (which is not implemented in this sample) requires selecting the radio button in the relevant row in the table and then clicking Select.