What is dictionary object? what is the use of it? How you will display all the items in the dictionary object?
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 |
Explain the Different types of QTP test assets and their extensions?
diff between dim & redim ? in detailed? pls any one explain me?
tell me QTP standards ?plz
how and what kind of vb functions do us ein QTP?
Error handling
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
0 Answers Autodesk, EDS, Wipro,
What are all the common questions asked for the candidates having more than 1 yrs exp in QTP?
How to load the object repository at run time?
What is the difference between driver-script and AOM-script?
Can anybody give the script to addsheet, add column,add values under that column in the rows??
How we can add actions in the test using QTP?
with out object repository i need to launch IE and then navigate to a login page and then operate the objects within the page. How will be the script?