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.?



What is a Dictionary object in QTP.?..

Answer / 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

More QTP Interview Questions

Explain about the Test Fusion Report of QTP ?

1 Answers  


How many types of recording modes in qtp? Describe each type with an example where we use them?

0 Answers  


What is optional step in qtp? How you can add optional step in qtp?

0 Answers  


how to test one edit box using dotnet addin for Web Applications? write script?

2 Answers   NTT Data,


can anyone tell me from where i can download qtp demo or crack version

0 Answers  


1.How to find in which row or column,string "Hyderabad" exist in excel sheet? 2.How to find how many times character "a" repeated in a given string "Koteswararao"

6 Answers   Ness Technologies,


How to get align property of the link on web page?

1 Answers  


What will be the output of the statements below? On error Resume Next Sum 100/0 if Sum= 0 Then msgbox "Pass" else msgbox "Fail" End If

3 Answers   IIT,


If already everything is tested using White-Box testing, then what is the need of using Black box testing?

3 Answers  


Why we are going for descriptive programming ? I answered as 'If objects are not present in OR we will go for descriptive Programming'? Is this correct ?

3 Answers   Polaris,


How to add a runtime parameter to a data sheet?

6 Answers  


What is the use of low level recording? How does it useful?

1 Answers  


Categories