Thank you Roman for this generous and comprehensive answer. I read the entire link output and some of the drill-downs...excellent explanation. I particularly like the example of "phone book" or "dictionary". It seems the answer generally is to readily associate a key to a value to save time over space and should be used where values for a thing can change. This makes me wonder if a good use in QTP for a Dictionary object might be where collections of attributes for all objects on a web page might be somehow automatically stored for a unique object name and reference that name with DP over OR identification to overcome the willy nilly ways some devs keep changing object IDs in a .NET C## environment with no standards. How complex would this be to accomplish. Would it be worth the complexities? I'm thinking the benefit of this would be no matter what they change object attributes to ... the scripts wouuld be able to recognize what buttons to push and what lists to access, etc.....???? What do you think? In a message dated 5/20/11 9:33:36 P.M. Eastern Daylight Time, [email protected] writes:
_http://en.wikipedia.org/wiki/Associative_array_ (http://en.wikipedia.org/wiki/Associative_array) On Fri, May 20, 2011 at 5:11 PM, nikhila <[email protected]_ (mailto:[email protected]) > wrote: when will we use Dictionary object in real life scenario, can Dictionary be multidimensional ?? Thanks, Nikhila -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected]_ (mailto:[email protected]) To unsubscribe from this group, send email to [email protected]_ (mailto:[email protected]) For more options, visit this group at _http://groups.google.com/group/MercuryQTP?hl=en_ (http://groups.google.com/group/MercuryQTP?hl=en) -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at _http://groups.google.com/group/MercuryQTP?hl=en_ (http://groups.google.com/group/MercuryQTP?hl=en) -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
