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
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process
Both static and dynamic arrays are handled by the vb script. Is it true?
How to customize checkpoints with parameters?
What are the different types of functions available in qtp and explain ?
Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?
How many types of parameters are available in quicktest professional (qtp)?
how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up
I have some real time based question.. 1.what are the challenges you have faced in your current project. 2.what are the bugs you found in your current project. 3.what are the strategies you follow to convert manual test cases into automation test cases. 4.how QTP identify two different browsers. 5. When you create a function library and share object repository what are the problems you have faced 6. How to solve the tool tip problem 7.what are the interesting bug you have found in your current project. 8.what is your daily work as a automation test engg. 9. how to create a weekly status report. 10. how many test cases you write,review and execute per day. 11.what are the uses of SQL in automation. 12.How to retrieve the data in html through vb script. 13.If application is very slow how to test the application in qtp.
To which environments does quicktest professional supports?
How do you create regression test packs?
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?
regular expression in qtp standar check point for months from accepting months from january to december only
What do you to script when objects are removed from application?
how do i know how to use tools