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 i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
How to check bitmap output value?
What are the steps involved in recovery scenario wizard?
what is the hierarchy to use properties in descriptive programming
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma
Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points
How the exception handling can be done using quicktest professional (qtp)?
When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.
How to add synchronisation points in qtp?
Have you faced any problems with object repository?
Explain QTP using different development techniques ?
When you open QTP, how many sheets you can see?
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?