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 dictionary object? what is the use of it? How you will display all the items in the dictionary object?



What is dictionary object? what is the use of it? How you will display all the items in the dictiona..

Answer / pushkar1206

Dictionary object is similar to array to store variable value with key. To share data in different actions in a test, we can use dictionary object. In DO, we are not restricted to use keys as numeric similar to array.

Fetch all items:

Set obj=createobject("scripting.dictionary")
obj.Add "company","india"
obj.Add "company2","USA"
For each i in obj
msgbox obj.item(i)
Next

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How is a Step generator used in UFT?

0 Answers  


if anyone has idea of the interview procedure in covansys, plz send me a mail?

0 Answers  


Explain the concept of object repository & how qtp recognizes objects?

0 Answers  


Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?

0 Answers  


Write script to fetch the data from global sheet where row number is 3 and parameter is "text"

3 Answers   Accenture, Thomson Reuters,


If enter into interviewer room? how u introduce with him. with shakehand or waht?

2 Answers  


Explain different types of checkpoints?

0 Answers  


how to select particular value from the combobox in the current page which is entred in the previous page editbox after parameterization?

5 Answers   Ordain Solutions,


Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()

6 Answers   IBM,


Can someone tel additonal features which has been included under QTP 9.0 which is not there in 8.2 version?

1 Answers  


If object is not recognized by qtp but the object is standard object what is your approach?

0 Answers  


To which environments does a QTP support?

1 Answers   Crea,


Categories