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

i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet

0 Answers   IBM,


what is Function Definition Generator? can any one explain me in details?

6 Answers   Accenture,


Get the count of files of similar types from a folder.

0 Answers   Deloitte,


Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.

0 Answers  


I am a beginner plz tell me,how do we write scripts in QTP? In my opinion we can write scipts in expert view or there is another option where we can write scripts. plz tell me.

5 Answers  






can u expect, major bugs in NET BANKING Project? Modules Transaction Module, Customer Relation Module.

2 Answers  


How to create scenario selector

0 Answers  


Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please

0 Answers   IBM,


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

0 Answers  


Please give me the steps to carry out datadriven in QTP8.2

2 Answers  


I want to export the datasheet to excel.Instead of total file it exports only data without headers.How to solve this problem?

1 Answers   FAI,


How to add object to object repository in qtp9.0 Suppose for brower yahoo home page

0 Answers  


Categories