Can a function return a dictionary object?
Answer Posted / parag barjatiya
Public Sub GetValue()
Set obj = getname
MsgBox (obj.Item("name"))
End Sub
Public Function getname()
Dim dicObj
Set dicObj = CreateObject("Scripting.Dictionary")
dicObj.Add "name", "Uday Kumar"
Set getname = dicObj
End Function
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,
Explain in brief about the qtp automation object model (aom).
Explain the difference between check point and output value?
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question
How to handle the exceptions using the recovery scenario manager in qtp?
What is the use of Debug Viewer?
what is meant by source control?
what is meant by Implicit and explicit requirements?
When to use shared and local object repository?
Mention the different actions types of qtp.
what is clean sweep?
What are the automation metrice in your project?
What are the five challenges you faced in QTP?