Simple Code example for Dictionary object:-
Dim objDict 'Create a variable
Set objDict = CreateObject("Scripting.Dictionary")
objDict.Add "Name", "SP" 'Add some keys and items
objDict.Add "Address", "Street1"
objDict.Add "City", "Bangalore"
objDict.Add "State","Karnataka"
objDict.Add "Country","India"
For Each I in objDict
msgbox objDict.Item(I)
Next
Please find the infromation in the below.
http://www.learnqtp.com/dictionary-object-qtp-use/
Friday, June 25, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment