Troubleshooting
Problem
Attempts to playback IBM Rational Functional Tester (RFT) script result in the error "ObjectNotFound"
Symptom
Steps to Reproduce:
- Record a test script against AJAX site
- 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.
- Close RFT
- Open ivory.properties file in
<RFT INSTALLED DIRECTORY>\IBM\SDP\FunctionalTester\bin\ivory.properties
- Change the value for rational.test.ft.html.enabledynamicallyignoreidorname
- Change from false to True
- Save the file
- 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"}}]
Was this topic helpful?
Document Information
Modified date:
17 December 2018
UID
swg21641706