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



can anyone answer this question ........in the DICTIONARY OBJECT....i created the dictionary object..

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

More QTP Interview Questions

in flight reservation application. when i entered flyto combobox as london. and i have to check this london is present in flyfrom combobox.give me the code with good explanation. extention to this question. at each iteration i have to put(WRITE) the fly from and fly to city in database table

1 Answers  


Explain in brief about the QTP Automation Object Model.

0 Answers   Crea,


Both static and dynamic arrays are handled by the vb script. Is it true?

0 Answers  


The string is like POWER STAR PAVAN , write a script for this how to findout the number of "A" in the string ?

7 Answers   TCS,


which is the easiest way you can send the QTP test results to Client if he want to see the screenshots when the results are failed?

1 Answers   CTS,


in qtp how i can retrive from a browser how many links are there.means total no of links used in a browser

4 Answers   Verizon,


Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com

0 Answers  


How can we QTP Scripts in xml format? is there any way to do so?

2 Answers   Apex,


Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

0 Answers   ADP, CTS,


Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?

0 Answers  


How to compare 2 excel files using QTP? How to compare 2 PDF files using QTP?

1 Answers  


what type of application we can select for automation testing and what is the entry criteria for automation

1 Answers  


Categories