Micro Focus QTP (UFT) Forums
Objects are not getting added to object repository - 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: Objects are not getting added to object repository (/Thread-Objects-are-not-getting-added-to-object-repository)



Objects are not getting added to object repository - iamsekhar - 08-04-2010

Hi,
I was facing problem adding objects to Local/Shared obj repository

My application was developed in WPF and .net

Issues:
-- QTP is not generating script for WpfMenu items. For example File->Menu. While recording when you click on File and Menu items QTP is not generating script automatically.

My question: If QTP is not generating script, how to add object properties to repository?

When I do object spy for menu item i can able to see object properties.

I have tried the following ways to add objects to repository but still i am not able to add.

1. Object repository ->Add Objects to Local
2. Obj Repository Manager->Add Objects
3. Resources->Obj Repository Manager->Objects->Navigate and Learn

Stepes I followed (Ex): Opened object repository then click on "Objects->Add object to local" then i pointed to menu item (File) then i am checking objects in object repository.
But objects are not getting added to object repository

Note: I was trying other application for "Navigate and Learn option" but i can able to see the objects in repository.

Kindly help how to resolve above issue