Can a function return a dictionary object?
Answer Posted / 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 |
Post New Answer View All Answers
What are the things(properties, and other details) will be recorded while recording an object using normal recording?
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
How many add-ins comes by default with quicktest professional (qtp)?
Explain the qtp test phases.
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.
Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?
Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar
I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!
I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...
what is clean sweep?
What is Test Fusion Report in QTP?
what type of automation is follwed in the project?
With what extension you can save the list of tests in a file to run in test batch runner?
Explain types of descriptive programming?