Stage 5: Implement support for the test object operations

After enabling UFT One to recognize the custom controls, you must provide support for running test object operations. For each test object operation that you defined, you must write a JavaScript function that UFT One runs to perform the step on the control.

In this section, you provide support for the WebExtBook's test object methods: Select, GoToAuthorPage (AuthorName), and GoToUsedBooksPage.

Note: All of the JavaScript code that you write in this tutorial is designed to run on Microsoft Internet Explorer. When you develop support for your own controls, you can design it to be browser-independent and enable UFT One to support the controls on other browsers as well. For details, see the section on developing browser-independent support in the Micro Focus UFT One  Web Add-in Extensibility Developer Guide.

  1. Continue to Stage 6: Test and debug the support you designed for the test object operations.