Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Highlighted
Absent Member.. vzamoraz Absent Member..
Absent Member..
103 views

QTP support tip: What to do if QTP/UFT suddenly stop recognizing a control.

If there is a scenario where you have a working script running and suddenly it shows an error saying that a control is not found there are some action you can perform to repair it.

 

Some times this is caused because developer change name, properties or code of the control in the Application Under Test (AUT); or a change was performed in the recognition properties of the control directly from the object repository.

 

In order to fix this you can do the following:

 

1) Open the AUT and search for the control in question.

-Open the object repository and delete the problematic control.

-Use the Add Object to Local button in order to Add the control again.

 

 

2) Click on UFT Menu Run>Maintenance Run Mode. On QTP Menu Automation>Maintenance Run Mode.            

Start running the script and perform the modifications:

 

When it cannot identify an object, the Maintenance Run Wizard opens (instead of the standard error message).

On the first screen QTP/UFT suggests 2 options:

1.  Point to the Object

2.  Add a Comment

Point to the Object – This will allow QTP/UFT to determine how to change the script to use that object.

Add a Comment – This will not fix the script; just add a comment so you can address it later.

 

 

 

Regards.

 

HP support.
If you find that this or any post resolves your issue, mark it as an accepted solution.

 

 

Note: The Opinions expressed in my post are mine alone, and do not reflect the opinions of my employer. No warranties express or implied for any answered posted.

 

Labels (1)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.