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 / 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 |
how to call multiple scripts in QTP at a time
I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.
what is difference normal,analog,low level recording in qtp? what is lowlevel recording?
i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com
What is Distributed testing? How does UFT support it?
what r the main benefits of automation?
How to send the qtp results file by email (Lotus notes).
Can we create test script with out Step Generator?
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
Can any one please list me out the shortcut keys for some functionalities in the QTP .. for example ..to record...to run...etc
unable to get item from the combobox using descriptive programing. can any one give me the peice of code to schedule the booking from one place to another using DESCRIPTIVE PROGRAMING.
how to write testcases for web based insurance,from the script by using qtp.