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
How you can find the absolute value of the number in qtp?
What is the use of ordinal identifier in qtp?
Mention the test steps of qtp.
Where can I find and view run-time data table?
Write a script to verify font style and color of a windows object using descriptive programming
Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.
What is difference between run time object and test object?
i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?
Explain process of smart Identification in QTP?
can test automation improve test effectiveness?
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
Dis advantages of XML checkpoint ?
When Recovery scenario actually starts while testing the application?
How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box
Why bpt?