| || |
Best way to compare objects?
I've been using TC for some time now but have never had an efficient process of doing this.
Basically, I'm namemapping a java app and I have come to the a part of the app which has very similar structure and component types and I'm having to get quite creative with the namemapping.
what's the best way of comparing 2 very similar objects properties/fields?
This is purely for namemapping, I don't need to script any of these comparisons.
Re: Best way to compare objects?
Do you mean that you need to find a property (or properties) that identifies a control uniquely to use it (them) in Name Mapping? Commonly, the Top and Left properties can be used for this purpose. However, if the control's position can change in your application, you need to use some other properties. For instance, if the application developers give unique names to the application's objects, you can use the Name property for Name Mapping.