Web Add-in Extensibility Planning Checklist

This is the custom class support planning checklist, completed in the tutorial prior to developing support for the Book control.

Custom Control Support Planning Checklist

Specify in Toolkit XML?

Support by JavaScript function?

The sources for this custom control are located in:
%ALLUSERSPROFILE%\Documents\ExtAccTool\Samples\WebExtSample\Application\Book.htm

n/a

n/a

Specify the Web test object base class that the new test object class extends: (Default—WebElement)
WebElement

n/a

n/a

Is the base test object class WebElement?     Yes

If No, is there a base element (an element that matches the base test object class)?    n/a

If there is a base element, do you need a JavaScript function to return it? n/a

No

No

Specify the New Web test object class details:

  • Test object class name:    WebExtBook

  • Icon file location (optional): <UFT One installation folder>\Dat\Extensibility\Web\Toolkits\WebExtSample\Res\WebBook.ico

  • Identification properties for description:    title, authors

  • Default test object method:    Select

  • Help file location: n/a

n/a

n/a

Specify the basis for identifying the test object class to use for the control:
tagName = table, className = Book.

Yes

No

Specify the basis for naming the test object:
Use the book title

n/a

Yes

List the identification properties to support. Mark which should be available (and which selected by default) for checkpoints and which (if any) should be used for Smart Identification:
title, authors, price, min_used_price
(all available for checkpoints and selected by default, none used for Smart Identification)

No

Yes

List the test object methods to support (if required, include arguments, return values, Help file location and Help ID):
Select ()
GoToAuthorPage (AuthorName)
GoToUsedBooksPage ()

No

Yes

Provide a dynamic list of values for any test object method arguments?
Yes

If so, list the arguments:

AuthorName for GoToAuthorPage method

n/a

Yes

Specify the types of children that UFT One should learn with the control:
None

Yes

No

Display test objects of this class in the Object Spy?
Yes

No

n/a

Provide support for recording?
Yes

If so, list the events that should trigger recording:

Clicks on title, image, author names, and Used

Yes

Yes