Forum Discussion

rwestbury's avatar
rwestbury
Contributor
14 years ago

Use my heavy extended find Name Mapping during record?

Hi All,



In order to make our Name Mapping more robust when handling our very dynamic test page that is currently under heavy development, we opted to use the Extended Find a lot when creating our Name Mapping.



Using extended find in Name Mapping has allowed us to remove all of the panels we don't want to depend on being there from the Name Mapping.



For example: Profile.Panel(0).Panel(1).Panel(0).Panel(0)... ... .Panel(1).Cell(4,0).Panel(0).EditButton.

Without having extended find on, if any of the properties that we are using to identify these panels changes, or a panel is removed, or a panel is added, then EditButton won't be found anymore. Instead of having that, we have Profile.EditButton, where all the panels inbetween we could care less about, and the extended find will search all children of Profile for the EditButton (which obviously has unique properties we can search on). This works better for us although it is slower when running.



However, by removing all of the said panels from the Name Map, when recording a script the Mapped Names are no longer used. This is a set back for us as we really wanted this feature to work. Infact if I use the Object Spy on an object that I know is mapped (using extended find), the Mapped Name property is blank.



Is there any way to make it so that TestComplete is still able to use the actual Mapped Names when recording, even though I am using Extended Find a lot in the Name Map?

4 Replies

  • Hi Robert,



    What TestComplete version are you using? Recording of mapped names that use Extended Find was added in TestComplete 9.
  • Hi Helen thanks for reply.



    I'm using TestComplete 8.7 unfortunately. We just purchased TC as well only about a month ago. Darn. Should have waited for 9 to come out. That feature would have been really nice to have. It's almost necessary to have that if using Extended Find. However we didn't realize that as we were re-vamping our entire Name Map to make it more robust that we were actually making the record feature useless to us. :(



    Robert

  • Hi Robert,



    If you purchased TestComplete 8.7 with the maintenance subscription, you should automatically get a TestComplete 9 license for free. You can check this on your customer page at http://my.smartbear.com. If you have further questions about the upgrade, please contact our Sales Team (select Purchasing as the type of request).
  • Hi Helen,



    Turns out we are able to upgrade free to 9.0. Thanks for the info!



    Robert