Micro Focus QTP (UFT) Forums
"object was not found in object repository when doing 'call to existing function - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: "object was not found in object repository when doing 'call to existing function (/Thread-object-was-not-found-in-object-repository-when-doing-call-to-existing-function)



"object was not found in object repository when doing 'call to existing function - chong67 - 06-02-2012

Anyone know why that is?

This existing fuction is called to another file.

Thanks for your help.


RE: "object was not found in object repository when doing 'call to existing function - Ankesh - 06-02-2012

Have you associated the Object repository to the file in which you are calling the function?


RE: "object was not found in object repository when doing 'call to existing function - ravs@788 - 06-02-2012

Hi Chong,

Can you provide a more detailed description of the error that you faced? Can you attach a screenshot? Where is the function located? Is it associated to the test?(Check in File>Settings>Resources tab).

But first as Ankesh pointed out above, you can check if the Object Repository is associated with the test. (Check in Reources > Associate Repositories. You need to associate each action to the repository too.)

Thank You,
Ravi Shankar


RE: "object was not found in object repository when doing 'call to existing function - chong67 - 06-04-2012

Yes, I have associated the function libraries to this test script. And it is still getting this error.