The HTML Document control is mapped to GuiTestObject in Rational Functional Tester versions prior to 7.0.0.2.
The GuiTestObject does not contain any AJAX-related APIs. To use the
AJAX-related APIs, the HTML Document control must be mapped to DocumentTestObject.
Procedure
- Open the functional test script that needs to be modified
for enabling the AJAX support.
- Click . Select the Document control
from the list and click Administrative tab.
- Replace the Test Object Class Name value
from GuiTestObject to DocumentTestObject. Save and close
the Test Object Map.
- Click
Note: By default, the HTML Document control is mapped to DocumentTestObject
for enabling AJAX support. You can disable AJAX support and map the
HTML Document control to GuiTestObject by setting the rational.test.ft.html.use.documenttestobject
= false in the ivory.properties file.