Micro Focus QTP (UFT) Forums
Object Repositary - 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 Repositary (/Thread-Object-Repositary)



Object Repositary - thiyaga - 06-13-2012

Hi to all. Am very new to QTP. and Self Learning.

While am recording all objects are idetified and stored in Object Repositary.
But when i run the script again the error pop ups like The object not in Object repositary. So i added that object to the repositary.But again in third run it shows error like that object not in repositary.

The Default object added while recording is
Code:
Browser("Browser").Page("User").Frame("PWGadget3Ifr").WebEdit("$PpyDisplayHarness$pCaseSetupM")
The Object added manually by me is
Code:
Browser("Browser_2").Page("User").Frame("PWGadget2Ifr").WebEdit("$PpyDisplayHarness$pCaseSetupM").



can anyone pls give solution to this problem ?


RE: Object Repositary - swathi - 06-13-2012

The Default object added while recording is
Code:
Browser("Browser").Page("User").Frame("PWGadget3Ifr").WebEdit("$PpyDisplayHarness$pCaseSetupM")

The Object added manually by me is
Code:
Browser("Browser_2").Page("User").Frame("PWGadget2Ifr").WebEdit("$PpyDisplayHarness$pCaseSetupM").

if you observe the above two scripts the browser on which you are executing the script is not same i.e, 1.Browser 2. Browser_2. close the previous instances of the same web application and execute the script.


RE: Object Repositary - thiyaga - 06-15-2012

Hi Swathi ,

Thanks for ur Information. It worked Well Smile I am done with my task Smile