Can a function return a dictionary object?
Answers were Sorted based on User's Feedback
Answer / uday kumar _ anem
Yes.
Functions can return a dictonary object.
Dim dicObj
Set dicObj = CreateObject("Scripting.Dictionary")
Set obj=getname
MsgBox(obj.item("name"))
Public Function getname()
dicObj.add "name","Uday Kumar"
Set getname=dicObj
End function
| Is This Answer Correct ? | 17 Yes | 3 No |
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 |
what is the difference between development and testing
What are the features supported by UFT?
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
What is the difference between keyword driven frameworkd and Modularisation framework?(Chandana)
Hi All, How to Compare two strings character by character in QTP
Explain about import and export files?
Can we continue functionality testing without framework?
how to retrieve data from flight resevation->reports
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?
Hi All, How to get repeated word in string . Thanks Balaji
Anybody can tell me what are the common roles and responsibilites of a Automation Test engineer
can any body clearly explain about hybridframework with the explanation for files what ever we come acros in this frame work?