Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is a Dictionary object in QTP.?

Answer Posted / manjunathareddy

Dictionary object is similar to a typical array,
it uses unique key associated with every item,it helps you
call the item whenever required.

Example:-
Dim Dict
Set Dict=CreateObject("Scripting.Dictionary")
Dict.Add "A","Apple"
Dict.Add "B","Banana"
i=Dict.Items
j=Dict.Keys

For k= 0 to Dict.Count - 1
Msgbox j(k)&": "&i(k)
Next

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

in my application,validation message has in japanise language.how to validate this message is appears properly or not

2057


How can I change object description or check point values in qtp?

1021


Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji

1831


How does you test a weblink which is changing dynamically?

1009


what is actually contain test report? can anybody post the test report

1982


Do you know SQL? I know SQL but i don't have any experience...that's it..No more questions ...simply he said " you can leave for the day" ...guys prepare SQL Quires before attending interview in bank of america...

1757


Can the user toggle between using Local OR and shared OR for the same action?

974


What is the basic concept of quicktest professional?

1045


How many types of recording modes in the qtp?

1100


How to define array in qtp?

1014


Explain the differences between table and db checkpoints?

998


Give the syntax to load function at run time.

1142


How do client side image and server side image work?

1846


explain how to write vb script in qtp?when will you write own script?

2312


we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?

2229