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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

explain abt dyanamic changing object with example?

2335


What is Associate Repository in QTP 9.2 ?

1025


Write a script to customize the test results in PDF and HTML format.

2550


What are the different types of action?

992


What is difference between Recording time object identification and Run time (Execution) time.

1639


What is the limitation to XML Checkpoints?

2064


Step 3&4 are repeated until an the object in recognised uniquely.

2033


what is supply chain management?

2585


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

2072


Will down time for server and content maintenance/upgrades be allowed? how much?

1081


if numbers are always changing write a script for that

4212


How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined

1959


On what document base Descriptive programming is written if build is not yet ready ?

1423


when will you do debug your script? and explain that process?

1955


Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach

2056