Web Add-in Extensibility Planning Checklist

This is the custom class support planning checklist, completed in the tutorial prior to developing support for the UsedBooks 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\UsedBooks.htm

n/a

n/a

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

n/a

n/a

Is the base test object class WebElement?     No

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

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

Yes

Yes

Specify the New Web test object class details:

  • Test object class name:     WebExtUsedBooks

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

  • Identification properties for description:    title

  • Default test object method:    SelectBook

  • Help file location: n/a

n/a

n/a

Specify the basis for identifying the test object class to use for the control:
tagName = div
tagName of 1st child = table
className of 1st child = UsedBooks.

Yes

Yes

 

Specify the basis for naming the test object:
Use the UsedBooks table title

n/a

Yes

List the identification properties to support, and mark which should be available (and which selected by default) for checkpoints and which (if any) should be used for Smart Identification:
title (available for checkpoints and selected by default, not 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):
SelectBook (BookIndex)

RowCount

Yes

Yes

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

If so, list the arguments.

n/a

No

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

Yes

Yes

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:

Click on Select

Yes

Yes