RFT test playback against AJAX site results in ObjectNotFound error

Technote (troubleshooting)


Problem(Abstract)

Attempts to playback IBM Rational Functional Tester (RFT) script result in the error "ObjectNotFound"

Symptom

Steps to Reproduce:

  1. Record a test script against AJAX site
  2. Playback the script recorded

Expected Result: Test script runs successfully

Actual Result: Test script fails with the following error:

Text with the name XXXXXXX was not found
com.rational.test.ft.ObjectNotFoundException

Cause

Dynamic value is used for one (or some) of its recognition property value(s).
(In this case, text name XXXXXXX is dynamic)

Resolving the problem

RFT ignores dynamic value(s) used in .id or .name properties if you enable rational.test.ft.html.enabledynamicallyignoreidorname flag in ivory.properties file as per below steps.

  1. Close RFT

  2. Open ivory.properties file in
    <RFT INSTALLED DIRECTORY>\IBM\SDP\FunctionalTester\bin\ivory.properties

  3. Change the value for rational.test.ft.html.enabledynamicallyignoreidorname
    • Change from false to True

  4. Save the file

  5. Playback the failed script

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Functional Tester
Documentation

Software version:

8.3, 8.3.0.1, 8.3.0.2

Operating system(s):

Windows

Reference #:

1641706

Modified date:

2013-06-25

Translate my page

Machine Translation

Content navigation