Forum Discussion

phpones's avatar
13 years ago

Name mapped object not showing on the Object Browser

Hello,



I'm new to TestComplete (using version 8) and while I was studying the software I came across some code that generated some doubts.

I'm testing a Java SWT application and inside there's a SWT Tree object. If I use the Object Spy Tool or go to the component in the Object Browser, the SWT Tree component shows as not mapped. But if I go to Name Mapping tree, the component is mapped there, I can even highlight the object on the application through the Name Mapping tree.



How this works and what are the advantages of taking this approach?



Thanks!

1 Reply

  • Hi,



    Can you clarify what you mean by 'component shows as not mapped'? If you expect your control to have the name equal to that shown in Name Mapping, this won't happen because objects are shown under their regular (not mapped) names in the Object Browser. The mapped name is displayed in their MappedName property.