IBM Support

Unable to find objects or update object recognition properties

Troubleshooting


Problem

When running a test script in IBM Rational Functional Tester, object not found errors are returned. When the user attempts to modify the object recognition properties, a warning is returned which states that the object cannot be updated.

Symptom

When viewing the Update Recognition Properties Window, the failing test object and some parent objects appear as having Very Bad scores:




When the user attempts to update the Object Recognition Properties, they receive an error and they are not allowed to update the object:

The object cannot be updated.


Cause


This issue will appear if minor changes have been made to the application under test such as; URL changes, title changes, small position changes, or other changes that may not be obvious to the tester.

Resolving The Problem

In order to resolve this problem, the user will need to update the object recognition properties for each object that has a score other than "Match" in the Update Recognition Properties window. In order to successfully perform this task, they need to start at the top level object and move down the list.

The following steps outline the basics of updating the object recognition properties (ensure that the screen with the failing object is open before beginning these steps):

  1. Open the Test Object Map for the scripts which are failing

  2. Select the top level object which is failing (in this example HtmlBrowser is failing)

  3. Right click on the object and select "Update Recognition Properties"

  4. RFT will highlight the object and open the "Update Recognition Properties" window

  5. Review the changes that will be made to the object recognition properties, then click the Apply button

  6. Repeat these steps for each object as you move down the tree until you reach the bottom level object which caused the initial issue (in this example we would update htmlBrowser, IBMSupportPortal, ibmCom, ibmTop, and others in that order)

[{"Product":{"code":"SSJMXE","label":"IBM Rational Functional Tester"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Scripting","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"8.1;8.1.0.1;8.1.0.2;8.1.0.3;8.1.1;8.1.1.1;8.1.1.2;8.1.1.3;8.2;8.2.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21497718