I have observed that QTP records index property for some object and for some it doesnt.
Can any one tell me for which objects or in what situation does it adds/records "index" property?
Thanks, in advance
The index property is usually recorded when there are more than one instance of a particular object on the web page or form. This applies when the objects have similar properties only.
If you want to record the property index all the time, you need to modify the object properties and include the index property as a mandatory property.
"index" property can not be added as mandastory property. It doesnt appear in the list of properties.
I think QTp intelligently decides when to use it. But, how and when is my question.
to get info about this
search your QTP help by typing Ordinal Identifier
"I realize it's an error, but no one is going to try to do that!"
From "Top 10 Stupid Comments from Developers".