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 many ways we can parameterize data in quicktest professional?
What is the descriptive programming?
What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this
what is the difference between built-i function and In-built function?
How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)
What is Curd testing?
What phases are involved in testing an application in qtp?
The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)
How to use Environment parameterization? Explain with an example.
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
How to use the object spy in quicktest professional 8.0 version?
how to acess a test in RSA?
How many types of actions are there in quicktest professional (qtp)?
How to release all resources file from the QTP?
Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter