Micro Focus QTP (UFT) Forums
object hierarchy changes between spy and 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: object hierarchy changes between spy and repository (/Thread-object-hierarchy-changes-between-spy-and-repository)



object hierarchy changes between spy and repository - handa.nishant@gmail.com - 08-23-2010

Hey has anyone faced this sort of thing. When I'm trying to identify an object on the GUI by using spy it shows me something in the webtable. However when I add it into the repository, it gets added directly under the page rather than the web table. Any clues??


RE: object hierarchy changes between spy and repository - venkatbatchu - 08-23-2010

Hi,

1. Open Object Repository (Ctrl+R)
2. Click on "Add Objects"
3. Show the Web Table, observe that it will show the hierarchy like Browser, Page,......,Web table
4. If You observe here Page is by default selected
5. You might be clicking OK button without selecting the WebTable thats the reason it was showing "Page" in the Object Repository.

So i request you to select the "WebTable" before clicking OK button to add the webtable to object repository.

Please let me know for further clarification.

Regards,
Venkat.Batchu