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 post recovery scenario?
How many types of Parameters are available in QTP? and Pls Explain with example.
how can i count the number of links???
hi.what is exactly mean by real time frame work? every institute teach Framework is nothing but having 6 to 7 folders..and save repositories functions keywords and scripts? this is enough or not? can we beleive?
In a yahoo web Application there are 65 links.one day it will opens 50 links and another day it will open 55 links.In this scenerio write Descriptive programing for Automation?....Pls write the code for this scenerio.
1 Answers College School Exams Tests, UHG,
Difference between image checkpoint and bitmap checkpoint
How to verify the Cursor focus of a certain field?
i have batch scripts in qtp and i want to update the status like pass/fail in excel sheet after excecuting the every script in batch.how to write the script for this?
In the QTP the snap shots obtained during the recording time will appear in the active screen, if we have to use the snapshots from where we have to access. in which memory location of QTP they will be stored?
what kind of frame work you used in your last project?
what difference between client and server applications exatly?
What is the difference between Call to Action and Copy Action?