Deploying and Testing the Toolkit Support Set (for Stage 3)

After you develop support for running the test object methods, you deploy the updated toolkit support set to UFT One and test it.

To test the support for running test object methods:

  1. To deploy the updated toolkit support set to UFT One, copy the WebExtUsedBooks.js file (and WebExtSample.xml if necessary) to <UFT One installation folder>\dat\Extensibility\Web\Toolkits\WebExtSample.

  2. Close and reopen UFT One. Select the check box for WebExtSample in the Add-in Manager dialog box and click OK. UFT One opens and loads the support you designed.

  3. Close and rerun the UsedBooks sample control.

  4. Open a GUI test and use the Add Objects to Local button in the Object Repository dialog box to learn the UsedBooks control.

  5. Create a test that runs the SelectBook and RowCount methods and make sure they perform correctly. You can also open the Microsoft Windows Event Viewer and view the log message added by the SelectBook method (for more information, see Using the Microsoft Windows Event Log).

Continue to Stage 4: Implementing Support for the WebExtUsedBooks Identification Properties and the Test Object Name.