I have a problem with TC 7.0.
Seems like MappedName property is empty for Aliases objects. Aliases.MappedObject_1.MappedObject_2.MappedName returns correct mapped name only if MappedObject_2 is first-hand child of the MappedObject_1. If MappedObject_2 is child of an unmapped object which is child of the MappedObject_1, MappedName returns empty string.
Displaying properties of the MappedObject_2 via 'Display property window' shows empty string in 'MappedName' field.
Does it exist another way to get mapped name of the aliases object? I needed it for Logs... [img]/images/graemlins/confused.gif[/img]
As far as I understand, you are locating the target object by using the Extended Find feature (I mean the Extended Find column of the Mapped Objects panel in the Name Mapping editor; if you do not see the column, you need to right-click a header of the Name or Description column, select the "Field Chooser" menu item, drag the "Extended Find" item from the Customize dialog and drop it next to the Description column header). In this case, the behavior is expected as getting mapped names for objects retrieved via the Extended Find feature can lower your test's performance significantly due to complex tree processing. So, the MappedName property is not available to objects that can be found using the Extended Find feature, and the behavior is unlikely to change in the future.
I suggest that you use the FullName or Name property instead of MappedName.
If my assumption is incorrect, please zip your entire project suite folder along with the log of the failed test execution and send us the archive via our Contact Support form (http://www.automatedqa.com/support/message.asp). Make sure that messages in your log correspond to valid code lines in the latest version of your scripts.