05-03-2012, 08:05 PM
Hi,
You can try with the following:
when the error message pops up Stop the run Process. then select the object from the Object Repository and click on button "Highlight it in the application". If it able to find the object in the application then it is supposed to recognize the object in the runtime too.
If the object not found in the application that means that object not yet populated in that application by that time .
This might happen, because of wait property. That specific object might not have loaded by that time. so give sync or Wait property and again run the script.
And one thing, the application should be opened after QTP is opened, other wise it might not recognize any of the objects.
Hope above will help.
Regards,
Nilanjan.
You can try with the following:
when the error message pops up Stop the run Process. then select the object from the Object Repository and click on button "Highlight it in the application". If it able to find the object in the application then it is supposed to recognize the object in the runtime too.
If the object not found in the application that means that object not yet populated in that application by that time .
This might happen, because of wait property. That specific object might not have loaded by that time. so give sync or Wait property and again run the script.
And one thing, the application should be opened after QTP is opened, other wise it might not recognize any of the objects.
Hope above will help.
Regards,
Nilanjan.