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

can anyone answer this question ........in the DICTIONARY
OBJECT....i created the dictionary object in reserved object
ok....here i have some sets of values ...now i want to
retrieve the item i done too ok.......here my question is
now i saved the test and close the qtp tool ,again i opened
now i retrieve the same item in the dictionary is it
possible ????. friends when i try to do this i am getting
empty message box i mean no value will be retrieved
......ans me any one plz...

Answer Posted / abhishek

the dictionary object has not been initialized with the
key,value pairs so first you need to create the dictionary
object with the key value pairs then you.
When you want to share data between different actions in a
test, dictionary object can be used. To do this you should
create a reserved test object for the Dictionary object.
Here is a process to set up a reserved dictionary object.
[Source]

1.Open Window’s registry by opening a Run window and
entering regedit.
2.Navigate to HKEY_CURRENT_USERSoftwareMercury
InteractiveQuickTest ProfessionalMicTestReservedObjects.
3.Create a new key (folder) named GlobalDictionary by right-
clicking on the ReservedObjects key and selecting New ->
Key.
4.Under the new key, create a String value named ProgID by
right-clicking on GlobalDictionary and selecting New ->
String Value.
5.Assign “Scripting.Dictionary” to the new ProgID string
value by right-clicking on ProgID and selecting “Modify.”
6.If QTP window is already open you need to close and
restart it.
7.Now to check whether dictionary object was installed
successfully in registry, simple write GlobalDictionary.
(don’t forget the dot) and you should see a drop-down
containing all methods and properties associated with
dictionary object.

I hope trhis works.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is test scheduleling?

2502


what is meant by source control?

2165


how to test Web application using QTP software

1777


Is it possible to call from one action to another action in qtp?

1009


What are the advantages of a Hybrid framework?

1115


Explain the parameter in qtp?

1031


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.

974


How does qtp identify gui object?

994


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

1552


What is a programmatic description?

1101


Please guide me release notes of Automation once scripts are completed

1888


How to suppress warnings from the test results page?

1020


how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page

2306


diff between qtp versions from 8.5

2013


tell me abt a time when u had to go above &beyind the call of duty to get the job done

1921