IBM Support

RFT test playback against AJAX site results in ObjectNotFound error

Troubleshooting


Problem

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

[{"Product":{"code":"SSJMXE","label":"IBM Rational Functional Tester"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Documentation","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.3.0.2;8.3.0.1;8.3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 December 2018

UID

swg21641706