After mapping an object we get the details property list of the object. They are divided into many categories like Standard, Extended etc.
Please tell me which properties does TC refers to for recognizing a run time object?
It depends on your application and which object property is consistent.
In my case, we spoke to our dev team and they have given us a set of reliable properties which will not be changed often.
WinCaption is what I normally rely on.
You might say, window caption constantly changes but TC provides wildcards. For eg, I have a window caption which reads "Window Disoverer Version 2.1.0 Form Attribute". You can define it as follows "Window Discoverer *". If there are further changes then you can edit the property under name mapping tree. I would use only 1 property to identify an object. You can use multiple properties but TC does a match of each and every property.. it does not quit checking properties after the first property matches. It matches all properties.
TestComplete uses all the properties that are specified for the corresponding mapped name in the Name Mapping editor. To open the editor, double-click the '<Project Suite> | <Project> | NameMapping' node in the 'Project Explorer' panel. After the editor is opened, find the needed object in the 'Mapped Objects' tree and you will see the mapping properties on the right.
Please see the 'Adding Name Mapping Items' help topic for more information.